Scripting Error in SAP
Symptom
Transaction can be automated either as a Remote Function Call (RFC) or as GUI Scripting. Some of the SAP Enjoy transactions do not fully support RFC record and run method. For such transactions use GUI scripting. You must enable the same GUI script in SAP and Process Runner. Otherwise, the following error message is displayed in Process Runner.
Could not access the session. Maybe the server does not support scripting?
Solution
To resolve this issue, perform the following steps:
- Open SAP Logon and login to the SAP system with valid credentials.
- In the box, enter RZ11 and press Enter.
- In Param. Name, enter *script*, and select Display.
- Double-click sapgui/user_scripting.
- If scripting is not enabled, the Current Value is FALSE. Select Change Value to enable scripting.
- In the New value field, change it to TRUE, and save the settings.
- Set the values for the profile parameters as follows:
- sapgui/user_scripting: TRUE
- sapgui/user_scripting_per_user: FALSE
- sapgui/user_scripting_disable_recording: FALSE
- sapgui/user_scripting_force_notification: FALSE
- sapgui/user_scripting_set_readonly: FALSE
- sapgui/nwbc_scripting (EHP7 onwards): FALSE




