cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kelway
Advocate II
Advocate II

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

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)

0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,150)