While bot is running, The Sap Application getting closed(Failed)

Hi All,

We made a bot on SAP Application, While Bot is running the SAP application getting closed(failed) in between (at random points). Some times it works fine and sometimes it not.

Same thing happens also with Microsoft Navision.
I had a loop that writes lines from an excel files in a Navision Journal.

When start to parse a random line try to jump at the next line, looks that is delayed a little bit, and after that it kills the entire Navision application.
Tried to increase the time before activity - no visible effect.
Thank you.

HI @Harsha.P

I am sorry, but without detailed description there are no way to help you.

Some bot at some SAP sometimes brake?! :crazy_face:

Please give a community members more information

Best regards, Lev

1 Like

Hi,
:- we made a bot on SAP Logon 750 Application, to complete whole process it will take 45-50 mins.
:- (The job of the BOT is to Process the data and downloads the sheet in HTML format)

when I run the BOT it will work for 10-20 mins after that SAP Application will closed/Killed(SAP Application will not be on the Screen).

:- After the SAP app failed, BOT is raising " Exception - UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector: at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID) at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector) — End of inner exception stack trace — at UiPath.Executor.WorkflowRunner.EndExecute(IAsyncResult result) in D:\a\1\s\Robot\UiPath.Executor\WorkflowRuntime.cs:line 208 at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) ".

:- ‘Kill process’ Activity was not used in the Bot’s workflow.

:- BOT is failing at random points, sometimes BOT will work for 30 mins another time 10 mins.

:- we also enabled the GUI scripting for both Server and Client side.(For SAP Logon App)

:- !!before 15 days back the bot was working fine.

1 Like

@Harsha.P ,
Is there any update on this issue. I am also facing this issue for SAP.

Hi,

We encountered the same problem. Sometimes, as the bot is running, the SAP Closes. It happened a few times as well without a bot running at the time but as we were trying to develop.

Do we have any update?