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 Platform Community / Forums / Power Automate / Unable to Select butto...
Power Automate
Unanswered

Unable to Select buttons in SAP GUI while creating a flow

(0) ShareShare
ReportReport
Posted on by 5

I created a flow to run a transaction on SAP, using no code mainly with recording. But while creating the flow, I am unable to select buttons in SAP as its coming as a part of a "Pane". So even if I manage to capture left clicks on the Pane, the flow doesn't work if I restart PAD. It gets stuck where the button needs to be clicked to move forward, giving an error message as UI element no found. I have attached an image of the section selected by recorder as a Pane. This is the case for me in all the windows and only very limited selections are available outside the Pane.

 

I am just starting to create flows in Power Automate. Would be great to get a solution to my issue as the first big flow I created and worked fine initially, stopped working.PAD Unable to Select Button.JPG

 

 

I have the same question (0)
  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    Our favorite motto here is "don't use the recorder"

     

    Have you tried manually building the step with either of these actions?

    ryule_0-1660317605904.png

    If it still doesn't recognize it, you may have to resort to the below, or various Send Key combinations

    ryule_1-1660317642139.png

     

     

  • AjayMP Profile Picture
    5 on at

    Yes, except the mouse and key board option I have tried these steps too, also trying to pass on key strokes as Enter, but it still doesn't go through. The issue is when I try to select the UI element Window, it gets selected as "Pane" (as the selection in the image I had attached) and the step doesn't get executed. The error I get is "Click failed (failed to get UI element)" I am attaching the step as it appears in the flow.

    Flow Step.JPG

     

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    Have you reviewed this? Perhaps it will help: https://docs.microsoft.com/en-us/power-automate/guidance/rpa-sap-playbook/prerequisites#sap-gui-scripting-configuration

  • AjayMP Profile Picture
    5 on at

    Thanks Ryule, I had enabled this option and will update here if all goes good.

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 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard