Automation of an SAP Session with Low Speed Connection, a Tiny Trap

For each connection, in the SAP Logon, you have the possibility to set a low speed connection. This reduces the network traffic between SAP backend and frontend server. You can find more information here and in the SAP OSS note 161053.

image

With this setting are the field names no longer available in full. This can offer however problems with the SAP GUI scripting and therewith with SAP UI automation generally. The following images shows the UI element hierarchy of the same transaction code (TAC). The first image shows with High Speed Connection and the second image shows with Low Speed Connection.

image

image

The difference is clear to see. In the first image the IDs have unique identifiers, in the second image not. This is for the UiPath selector not a problem, it works without any problems in both cases.

But what happens if a workflow…

  • which don’t contains full IDs, is performed on a frontend server with Low Speed Connection setting and the order of the fields changed?
  • which contains full IDs, is performed on a frontend server with Low Speed Connection setting or visa versa?

In the first case the workflow don’t run correct and in the second case the workflow don’t run.

Therefore it is good practice to query in the workflow whether the Low Speed Connection is set or not. Unfortunately I don’t know a possibility to do that with UiPath Studio, because it depends on the SAP connection. Therefore I suggest to provide this possibility as an activity. This would increase the execution security of SAP GUI for Windows automation.

It is very easy to detect Low Speed Connection via SAP GUI Scripting API, via the property IsLowSpeedConneciton of the GuiSessionInfo object.

HI @StefanSchnell

Thanks for the investigation. Yes, you are completely right. LowSpeedConnection is not suitable for SAP automation and activating this mode will have an impact on the functionality of SAP GUI for Windows.

Therefore in our documentation HighSpeedConnection is a must for the successful automation.

Check this out: Configuration Steps

Once more, thanks for great explanation for community user with the screenshots.

Best regards, Lev

1 Like

@LevKushnir

Hello Lev,
thank you for this clarification.
Best regards
Stefan