Scripting is Diabled on Server.
Error Message: Scripting is disabled on server

Symptoms:  When doing a GUI Script recording or upload, you get the message "Scripting is disabled on server".

Cause: This error indicates that GUI Scripting is disabled on the SAP server that you are connected to.  

Resolution:  SAP GUI scripting can be activated by setting the profile parameter sapgui/user_scripting to TRUE.*  You can activate it dynamically via RZ11 if your system features a 6.20 kernel or above. For systems with 4.6D kernel, you need patch 972.  

*Note: This value is only set temporarily and will revert after the SAP instance is re-started.  To set it permanently they will need to add the parameter value into the instance profile via RZ10 and then re-start the SAP instance.

To enable scripting on the server, follow the steps below:  

  1. Run transaction RZ11.
  2. Enter sapgui/user_scripting and click Display.

    SAPGUI1

  3. Click Change value.

    SAPGUI2

  4. Enter TRUE (uppercase)* in New value and click Save.