Setting up SAP for RPA

Updated by Sean Ellner

Most RPA tools support interaction with SAP. In order to be able to select controls within the SAP interface, certain configurations are required within SAP (the following assumes that SAP is fully up to date with the latest support packages installed). Both Client-Side and Server-Side scripting must be enabled.

Enabling Client-Side Scripting

  1. Start the SAP Logon and log in to the SAP server
  2. Click the 'Customize Local Layout' toolbar button
  3. Click Options and in the GUI Options screen select the 'Accessibility and Scripting' node
  4. In the ‘Accessibility’ node ensure that the ‘Use Accessibility mode’ option is enabled
  1. In the 'Scripting' node ensure that the ‘Enable scripting’ option is enabled.
IMPORTANT - No other options must be enabled in the scripting node other than 'Enable Scripting'. Otherwise an undismissable popup will appear when attempting to interact with SAP with an RPA tool, breaking all interactions.
  1. Save the settings

Enabling Server-Side Scripting

  1. Start the SAP Logon and log in to the SAP server
  2. Enter transaction 'RZ11' and click the green checkmark
  1. Type ‘sapgui/user_scripting’ in the Maintain Profile Parameters window
  1. Click the 'Display' button
  2. Click ‘Change Value’ in the Display Profile Parameter Attributes window
  1. Type ‘TRUE’ in the ‘New value’ field
  1. Save the settings and restart the SAP GUI


How did we do?