web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Can't inspect SAP GUI

(0) ShareShare
ReportReport
Posted on by 8

I need to automate SAP, but I can't find the GUI controls.
PAD is run with administrative rights (I set everything with administrative rights even the services related to PAD).
The user I use is a domain user with administrative rights on the PC.

I attach example videos

 

any suggestions?

I have the same question (0)
  • eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    I think its mostly a problem in that login screen. At least SAP version I tested seems to find most elements when logged in to SAP. But I get the same problem that I can't get other than the Pane in that login screen. It might be for security reasons that SAP doesn't give other elements than that in the login screen.

    So I would recommend to use Launch SAP -action and giving the login credentials in that it just opens the SAP right away so you can skip that window.

    eetuRobo_2-1714805180847.png

    If that doesn't work you could try using Run application where you can give the login credentials in the Command line arguments.

    eetuRobo_3-1714805349615.png

    Article about it: https://learn.microsoft.com/en-us/power-automate/guidance/rpa-sap-playbook/creating-sap-desktop-flow-vbscript 


    If that isnt possible you could try the Recorder to do that.

    eetuRobo_1-1714805142188.png


    Although since it most likely only finds the Pane it will take that element and in Advanced give Mouse position relative to the element. So that might fail if the size of the window or resolution is different (like in Unattended run it might be).

    You could try "Move mouse to image" for example.

    eetuRobo_0-1714804873470.png

     

  • humas Profile Picture
    8 on at

    hi, I also have the problem in the internal screens of SAP, I only see the panel element, if you want I'll make a video for you

  • eetuRobo Profile Picture
    4,579 Super User 2026 Season 1 on at

    Oh that's unfortunate. Have you updated your PAD? They seemed to have added recently few SAP actions so maybe it could also recognize the elements better with new updates.

    Are you able to use scripting in your SAP? Its recommended to use VBScript when automating SAP. Its very quick and reliable.

    eetuRobo_0-1714818270738.png

    If you have different looking SAP interface then the Script Recording option might be under "More" on the toolbar

    eetuRobo_1-1714818413273.png

     

    If its greyed out then you should ask your SAP admins / IT department if they could enable it.

     

    After recording the script in SAP open it in notepad and just paste it in Run VBScript action

    eetuRobo_2-1714818552240.png


    https://learn.microsoft.com/en-us/power-automate/guidance/rpa-sap-playbook/recording-vbscript-using-sap-gui-automation-engine

  • Riku Profile Picture
    37 on at

    Just making sure - did you start by enabling scripting in SAP? If so, double check that scripting has stayed on. This is common behavior when scripting is turned off. No elevated rights should be needed to automate these applications 😊

     

    Check this link for enabling scripting:

    https://support.leapwork.com/s/article/HowtoEnableSAPGUIScripting63307dd860760

  • pradeepvarma Profile Picture
    55 on at

    The above GUI of SAP which is there in screenshot looks like 740.
    PAD supports only 750 GUI and above.
    https://help.sap.com/docs/sap_gui_for_windows/e8f03b91f99d45f4ae9d90ddf6e44b70/64155e6b9cb84de79ac28...

    Once a >= 750 GUI is installed, enable the scripting option in both client & server side.
    https://help.sap.com/docs/intelligent-robotic-process-automation/desktop-studio-developer-guide/enab...
    https://help.sap.com/docs/intelligent-robotic-process-automation/desktop-studio-developer-guide/enab...

    And that's it! You would be able to automate SAP interface through PAD.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 241 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 179

#3
Haque Profile Picture

Haque 159

Last 30 days Overall leaderboard