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.
    image

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

  3. Select the “Change Value” option.
    image

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

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

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.
    image

  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,
J.


James Papadimitriou
Technical Evangelist

3 Likes