SAP Table Extraction Bot Works in Development but Hangs on Qualification Server

Hi UiPath Community,

We are working on a UiPath automation project that involves extracting tables from SAP GUI using the native SAP Table Extraction activity.

:hammer_and_wrench: Issue Description:

  • The workflow executes successfully on the Development machine without any errors.
  • However, when we run the same workflow on the Qualification Server (Unattended Bot), it gets stuck at the SAP Table Extraction activity and does not proceed further.
  • The job continues to run (no crash or exception), but no table is extracted, and the bot seems idle at that point.
  • If we manually open the Qualification Server session and observe, the bot continues and completes the execution successfully — but it requires the RDP session to be open.

:white_check_mark: Troubleshooting Steps Already Tried:

  • Cleared all temporary folders and cache files in the Qualification bot environment.
  • Verified SAP scripting is enabled both on the client and server side.
  • Compared SAP GUI versions — both Development and Qualification servers have the same version.
  • Added delays before/after SAP extraction.
  • Ensured screen resolution and display settings match.
  • Verified that SAP connection is properly established in the Qualification server.

:light_bulb: Additional Observations:

  • If the code itself had issues, it should fail in both environments — but the problem occurs only on the Qualification server, indicating it might be related to session visibility, permissions, or SAP rendering in unattended mode.
  • We suspect the issue could be related to session isolation, background execution, or some display-related limitation in unattended robots.

:folded_hands: Request:

Could someone help suggest:

  1. Why the SAP Table Extraction activity may behave differently in unattended (qualification) vs attended (development)?
  2. Any known limitations or configurations needed for SAP table extraction in background execution?
  3. What best practices should we follow when scheduling unattended SAP extraction jobs on servers?

Any guidance or similar experiences will be highly appreciated!

Thanks in advance!

@solaipappu

Try to use a check app state to check and confirm that the table is loaded before extraction may be the QA sap server is slower than dev and its taking little more time to load

If you have remote debugging enabled on tenant or live streaming try to run the bot and check it which ensures bot runs in unattended completely but at the same time we can view as well

Also to check try to extract a single cell value in sap and check if the value is extracted ..if not may be the table is rendering and that might be the issue

Cheers

Hi @Anil_G

But we are using Macro for extract table from SAP. So please advise.

Thanks

@solaipappu

Why not ui path existing activities?

Even in macro you can write code to get single cell..or getting cell and checking can be done in UiPath and then if all good then trigger the macro to extract

Cheers

Ok thank you @Anil_G

1 Like