Jump to content

Is it possible to automate SAP without having access to SAPGUI Scripting


Recommended Posts

1 hour ago, rootx said:

SAPgui, read two files saplogon.ini / SAPUILlandscape.xml...... try to understand first what you need and where to find it, then ask

I don't really get what you mean, the option script recording and playback is no longer available(grey due to internal reasons). 

Link to comment
Share on other sites

  • 1 year later...

Although there are SAP UDFs in the forums, I have actually been automating SAP with native Autoit code because the SAP GUI itself is the front end window and therefore can send key actions.You usually use shortcut keys and TAB keys.Of course, SAP UDF is better, which allows more accurate access to controls in SAP GUI and acquisition or manipulation

 

Link to comment
Share on other sites

see faq31 and for SAP the UIA stuff works wel. You should check with the different spying tools mentioned in faq how far your controls are directly recognized. If 90+% is recognized you can probably fill in the others with keyboard and mouse navigations (find an object nearby and send a few tabs to activate your control of interest)

Link to comment
Share on other sites

  • 1 year later...

1st, SAP Gui Scripting has to be enabled on the server and you have to have SAP Gui Scripting support installed with your GUI installation.

You can use RFC and API methods but it is another universe and you are losing all the security checks that the transaction is doing within GUI Session.

In any case, a session has to be created for the SAP system so a username and password have to be provided and all the security policies apply to that session.

The last option is to use sendKey and image recognition to try to handle elements on the screen.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...