OpenRPA disconnected from SAP

Hi Allen/Everyone,

OpenRPA loses connection with SAP GUI during long-running workflows (sap: online(-1)). The automation works smoothly at the start, but after running for a while, OpenRPA loses its connection to the SAP session and fails to locate or interact with SAP elements.

Environment Details:

  • OpenRPA Version: 1.4.57

  • OpenFlow / Node-RED: NO

  • SAP GUI Version & Patch Level: File Version 7600.1.6.1160 ||
    Patch Level 6

  • OS: Windows Server 2022

Symptoms & Behavior:

  • The SAP GUI window itself remains open and logged in on the machine (not timed out on the SAP server side).

  • After few transactions, OpenRPA shows sap: online(-1) (or stops recognizing SAP elements).

  • Restarting OpenRPA or re-attaching resolves it temporarily until the next long run.