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 / SAP bridge connection ...
Power Automate
Unanswered

SAP bridge connection error - Error waiting for window content (from SAP client)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

I have a wait for window content step that is waiting for picked field from the SAP GUI to appear. It works...

 

However, now that I've expanded the data being searched in SAP to much more, it errors out after about 3-4 minutes with this error even though my timeout is set to 15 minutes (that timeout I specify in Power Automate step clearly isn't the one that is being hit).

 

Any advice? I was surprised to see specific SAP hooks apparently in the PAD engine... FWIW, in SAP I'm using PAD to automate table exports from the SE16N transaction.

 

kelway_0-1669840431028.png

 

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Error occured when trying to wait for window content ---> System.Exception: Sap bridge connection error ---> System.Exception
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.UIAutomation.Plugin.Sap.BridgeToSapAutomation.SapAutomationResult`1.ThrowIfError()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Plugin.Sap.SapAutomation.GetSapWindow(IntPtr handle)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Plugin.Sap.SapAutomation.CreateElementRetractor(IntPtr windowHandle, String selector)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.AutomationRuntimes.AutomationRuntimeBase.WaitForWindowContent(Func`1 retractWindow, String selector, WaitForWindowContentModeEnum waitMode, Boolean waitForElementToBeInSpecificState, Boolean waitForElementToBeEnabledInsteadOfDisabled, String textToWaitFor)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.WaitForWindowContentAction.<>c__DisplayClass1_0.<Execute>b__0(IAutomationRuntime r)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation[T](Func`2 action, UIControl control)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.WaitForWindowContentAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.WaitForWindowContentAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard