Important! Read this.

We have launched a new documentation website. If you're using Enterpise Edition 10 (or higher) or Express/Business Edition 2.4.1 (or higher), visit this page.

Skip to end of metadata
Go to start of metadata

We have moved to a new documentation platform. This section is no longer supported. For the up-to-date information, see SAP GUI setup.

Before you start working with SAP GUI, make sure to enable scripting and set up the application server.

We recommend to use either Blue Crystal or Classical UI themes for better SAP GUI automation when using the Window action.

Enabling Scripting

By default, when you run a recorded script, the following pop-up appears, that blocks script execution and must be switched off.

Editing Scripting Setttings

To disable the pop-up warning that a script is attempting to access SAP GUI, do as follows.

  1. Open SAP GUI Settings > Options.
  2. Select Accessibility & Scripting > Scripting.
  3. If the warning message is thrown, the option Notify when a script attaches to SAP GUI is checked. Uncheck the following options:

    1. Notify when a script attaches to SAP GUI

    2. Notify when a script opens a connection.

  4. Click Apply followed by OK.

Enabling Connection by Command Line

To allow connection by command line, do as follows.

  1. Open SAP GUI Settings > Options.
  2. Select Security and click on the Open Security Configuration button.

  3. Specify Allow for Default Action.

  4. Click Apply to save the changes.

Application Server Setup

Open SAP GUI and check if scripting is turned on.

If the appropriate menu item is grayed out, perform the following steps.

  1. Start the rz11 transaction. Enter the transaction code rz11 into the OK Code field and press Enter.

  2. Open the sapgui/user_scripting parameter. Enter the parameter name into the related field and either click Display or press Enter.

  3. To edit the current value, click on the Change Value button.

  4. In the window that follows, enter TRUE in the New Value field and press Save.

  5. Re-log into the system to view the changes.
  • No labels