Setting up SAP for RPA
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
- Start the SAP Logon and log in to the SAP server
- Click the 'Customize Local Layout' toolbar button
- Click Options and in the GUI Options screen select the 'Accessibility and Scripting' node
- In the ‘Accessibility’ node ensure that the ‘Use Accessibility mode’ option is enabled
- In the 'Scripting' node ensure that the ‘Enable scripting’ option is enabled.
- Save the settings
Enabling Server-Side Scripting
- Start the SAP Logon and log in to the SAP server
- Enter transaction 'RZ11' and click the green checkmark
- Type ‘sapgui/user_scripting’ in the Maintain Profile Parameters window
- Click the 'Display' button
- Click ‘Change Value’ in the Display Profile Parameter Attributes window
- Type ‘TRUE’ in the ‘New value’ field
- Save the settings and restart the SAP GUI