Nina Posted May 27, 2020 Share Posted May 27, 2020 Dear Forum Members, I was wondering if there is maybe an UDF or a way to automate SAP without Having access to SAPgui Scripting. Thank you in advance, Nina Link to comment Share on other sites More sharing options...
rootx Posted May 27, 2020 Share Posted May 27, 2020 SAPgui, read two files saplogon.ini / SAPUILlandscape.xml...... try to understand first what you need and where to find it, then ask Nina 1 Link to comment Share on other sites More sharing options...
Nina Posted May 27, 2020 Author Share Posted May 27, 2020 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 More sharing options...
macran Posted October 19, 2021 Share Posted October 19, 2021 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 More sharing options...
junkew Posted October 21, 2021 Share Posted October 21, 2021 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) FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
LittleMickey74 Posted May 8, 2023 Share Posted May 8, 2023 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now