Skip to main content

Server Does Not Support Scripting

Symptom

When you try to run GUI Scripting Process file, an error message similar to the following is displayed.

CTNS:7 Process Runner

SD:4 Could not access the session. Maybe the server does not support scripting?

Cause

This problem occurs because the SAP server that you are trying to connect does not support scripting.

Solution

To resolve this issue, perform the following:

  • Check if Script Recording and playback option in SAP GUI is grayed out, if yes, then enable the scripting.

To enable GUI Scripting in SAP,

  1. Open SAP Logon. The logon page appears.
  2. Double-click the required SAP system and sign in by entering the valid credentials. The SAP Easy Access window appears.
  3. Enter RZ11 to start the transaction. The Maintain Profile Parameters window appears.

    HT-ESInSAP-1

  4. In Param. Name, enter *script*, and select Display.

    HT-ESInSAP-2

  5. Double-click sapgui/user_scripting. The Display Profile Parameters Attributes appears.

    HT-ESInSAP-4

    If GUI Scripting in SAP is not enabled, Current value is False.

    HT-ESInSAP-5-1

  6. Select Change Value if Current value is False. The Change Parameter Value window appears.
  7. In the New value, change False to True, and select Save.

    HT-ESInSAP-6

Was this article helpful?

We're sorry to hear that.