Guide: SAP configuration for proper UIAutomation through Robin

Note: The following guide assumes that SAP is fully up to date with the latest support packages installed.

Robin supports interaction with SAP.
For WinAutomation to be able to select controls within the SAP interface,
certain configurations are required within SAP:

We begin with the server side:

  1. Login to SAP server and enter transaction RZ11.

  2. Specify parameter name as sapgui/user_scripting and press “Enter” or
    click on the “Display” option.

  3. Select the “Change Value” option.

  4. Change the value for sapgui/user_scripting to TRUE and click on Save.

  5. Now the “Server” part alterations have been completed.

We then move on to the client side:

  1. On the client side, open SAP GUI Options, navigate under the Accessibility & Scripting tab and Select “Scripting”.
    In this option, make sure the “Enable scripting” option is checked, and that “Notify when a script attaches to SAP GUI” is unchecked.

  2. Confirm with the SAP Administrator that S_SCR (GUI scripting) authorization is granted for all required users.

You are now ready to utilize UIAutomation module actions with SAP.

Best regards,

James Papadimitriou
Technical Evangelist