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.
We have moved to a new documentation platform. This section is no longer supported. For the up-to-date information, see SAP GUI setup.
We recommend to use either Blue Crystal or Classical UI themes for better SAP GUI automation when using the Window action.
By default, when you run a recorded script, the following pop-up appears, that blocks script execution and must be switched off.
To disable the pop-up warning that a script is attempting to access SAP GUI, do as follows.
If the warning message is thrown, the option Notify when a script attaches to SAP GUI is checked. Uncheck the following options:
Notify when a script attaches to SAP GUI
Notify when a script opens a connection.
To allow connection by command line, do as follows.
Select Security and click on the Open Security Configuration button.
Open SAP GUI and check if scripting is turned on.
If the appropriate menu item is grayed out, perform the following steps.
Start the rz11 transaction. Enter the transaction code
rz11 into the OK Code field and press Enter.
Open the sapgui/user_scripting parameter. Enter the parameter name into the related field and either click Display or press Enter.
In the window that follows, enter
TRUE in the New Value field and press Save.