How to enable scripting in SAP

Previous  Home  Next

Transactions can be automated either as RFC or as GUI Scripting. RFC method is faster and recommended though some of the newer and Enjoy transactions do not fully support RFC record and run method, for such transactions- GUI scripting is suitable. To use GUI scripting, it is a prerequisite to enable the same in SAP otherwise Process Runner encounters error while accessing GUI script as given below.

 

CTNS:5 Process Runner

Process Runner cannot access SAP GUI for scripting. It appears that user does not have required SAP authorization for GUI Scripting. Please contact your SAP security/IT or support@innowera.com for further help

 

ctns-ERR-4PR2

 

Following are the generic steps to enable Scripting in SAP.

1.Start SAP logon and log in to the SAP Server with valid credentials.

2.Enter RZ11 to start transaction.

clip0001

3.In Param. Name enter, *script* and then click on Display.

clip0002

3.Double click sapgui/user_scripting.

clip0003

5.If scripting is not On, your Current value will be FALSE. Click on Change Value to enable scripting.

clip0004

6.In the New Value field, change it to TRUE and Save the settings.

clip0010

Note: Please ensure to perform the above steps and set the value for all the profile parameters according to the table below:

Sr. No.

Parameter

Set Value

1

sapgui/user_scripting

TRUE

2

sapgui/user_scripting_per_user

FALSE

3

sapgui/user_scripting_disable_recording

FALSE

4

sapgui/user_scripting_force_notification

FALSE

5

sapgui/user_scripting_set_readonly

FALSE

6

sapgui/nwbc_scripting (EHP7 onwards)

FALSE

 

Click here to go to GUI Scripting tutorial which gives a basic understanding of how to use GUI Scripting with Process Runner.

 

Next:

How to resolve Scripting support is not installed error message