Unattended SAP automation on server fails when remote desktop is closed

Hi all,

I have an unattended bot that is run via Community Edition Orchestrator and runs on a remote Windows server. Everything works fine while I keep the remote desktop opened and watch the bot. But as soon as I am disconnected from the server with my laptop (applications on the server continue to run) parts of the automation in SAP fail. Excel sheets are still read and folder paths are still created, but only the action within SAP fail, as far as I can see it.

Does anyone know a solution or at least what is causing the issue?

Best regards
Erik

1 Like

Same Question. Any solution?

Hi @joel.jil,

Unfortunately, I still do not have a final solution.
I tried around a bit and as it seems it is the TypeInto or SendHotkey activities that do not work in SAP without remote connection. I had some success using SAP UI Automation activities (like SAPLogin activity instead of typing in username and password).
But I still do not have a solution for typing in numbers or text into fields…

hi @Erik_S

Please try to set SimulateType to True, this should ensure, that SAP Scripting interface will be used during the execution

Best regards, Lev