Configuring SAP

To automate SAP with IBM Robotic Process Automation, you need to configure SAP to accept scripting. This configuration is mandatory.


You need to comply with the following requirements to configure SAP to enable automation by IBM Robotic Process Automation:

  • You must have SAP GUI and the SAP GUI Scripting feature installed.
  • You must have access to the SAP system and credentials with administrator permissions.

Enabling SAP GUI Scripting

The SAP GUI Scripting feature is disabled by default. Complete the following steps to enable it:

  1. Complete the SAP system access credentials and log in.
  2. Click Options for SAP GUI > Options.
  3. In the side menu, click Accessibility & Scripting > Accessibility.
  4. Select the Use accessibility mode.
  5. In the side menu, click Accessibility & Scripting> Scripting.
  6. Select the Enable scripting checkbox.
  7. Clear the following checkboxes:
    • Notify when a script attaches to SAP GUI
    • Notify when a script opens a connection
    • Show native Microsoft Windows dialogs

Configuring the RZ11 transaction

Your SAP GUI user must be enabled to use SAP GUI Scripting. Use transaction RZ11 to modify your SAP GUI profile as follows:

  1. Log in to SAP.
  2. In the command entry box in the upper left corner, enter the code RZ11, and press Enter. The Profile Parameter Maintenance window appears.
  3. In the Parameter Name (Param.Name) field, type sapgui/user_scripting.
  4. Click Display.
  5. In the Display Profile Parameter Details window, click Change Value.
  6. In the New Value field, type TRUE.
  7. Click Save.
  8. Restart the SAP GUI. Scripting support is enabled for the next time you log in to the server.

See also