Back to

Setting up for use

Enable GUI scripting

Enabling Scripting on the Server Side

SAP GUI scripting is turned off by default on SAP systems. To enable scripting, a Basis administrator must enable the parameter RZ11 and users enable GUI scripting in their SAP GUI.

Note: In ECC6, administrators can limit the use of SAP GUI Scripting by turning it on only for specific users. They do not have to turn it on for all users on the server.

Both scripting support and the SAP GUI Logon pad are installed by default when the Windows SAP GUI client is installed. If they have not been installed, you need to reinstall the SAP GUI.

To enable the RZ11 parameter

  1. In SAP GUI, go to transaction RZ11.
  2. In the Param. Name box, type sapgui/user_scripting. Click Display.

    GUI scripting db1

  3. Click Change Value.
  4. In the New value box, type TRUE. Click Save.

    Gui scripting db2

    The image of a barber pole in the lower right corner indicates that GUI scripting is enabled in RZ11.

To enable scripting in SAP GUI

  1. Click Customize customize sap, and then click Options.
  2. In the SAP GUI options dialog box, click Scripting or click the Scripting tab, and then select Enable Scripting.

    gui script enable dialog

  3. Click OK.


GUI scripting on SAP GUI 720

To enable GUI scripting for SAP GUI 720, a few parameters must be set on the server side. These parameters do not necessarily exist on all SAP systems by default. If these variables are found in transaction RZ11, they must be set as follows:

sapgui/user_scripting_set_readonly = false

sapgui/user_scripting_disable_recording = false

sapgui/user_scripting_force_notification = false


For information on security with GUI scripting, see SAP Help at


If this parameter is set to TRUE, script playback is possible, but recording is not permitted.


If this parameter is set to TRUE, a notification is always displayed at the front end, regardless of the client options.

Notification refers to the message box that appears before record and run for attaching to GUI scripting session.


If this parameter is set to TRUE, scripts may only act on read-only user interface elements.

To enable GUI scripting for SAP GUI 720

  1. To open the SAP GUI options page, click Control Panel, click SAP Front End, and then click SAP GUI Configuration.
  2. Click Accessibility and Scripting.
  3. Under User Settings, click Enable scripting.
  4. Optional: You can select to be notified when a script is being attached to the SAP GUI as you record or run a TRANSACTION script.
  5. Optional: You can select to be notified when a script opens an SAP connection.


Also in this section

Auto update

Application defaults

SAP defaults

Error management and trace files

Auto logon

Client connection settings

Header log details

Restore defaults


Viewing the user profile

GUI scripting and Windows scripting

Unicode implementation for TRANSACTION scripts

Converting from Winshuttle Connect to Central