Enabling SAPGUI Scripting

Symptom

The selection for Script Recording and Playback is greyed out. So, user cannot record the scripts.

Enabling SAP GUI (client) for Windows

1. Start the SAP Logon and log in to the SAP server.

2. Click the Customizing of Local Layout toolbar button.

3. Click Options and click the Scripting tab.

4. Select the Enable Scripting check box.

5. Clear the Notify When a Script Attaches to a Running GUI check box and the Notify When a Script Opens a Connection check box.

6. Save the settings and restart the SAP GUI.

Enabling SAP server

You can enable scripting temporarily from the SAP client by performing the following procedure. The value set using this procedure is lost if the server is restarted.

1. Start the SAP Logon and log in to the SAP server.

2. Start a RZ11 transaction.

3. Type sapgui/user_scripting in the Maintain Profile Parameters window.

4. Click Display.

5. Click Change value in the Display Profile Parameter Attributes window.

6. Type TRUE in the New value field.

7. Save the settings and log out from SAP GUI.

8. Exit from the SAP Logon program.

Note

• If the server administrator edits the application server profile of the SAP system to include sapgui/user_scripting = TRUE, scripting is enabled by default when the server is restarted.

• SAP provides an option to change the network connection mode to any server. The two connection modes available are, High Speed Connection (LAN) and Low Speed Connection. Although, Functional Tester works in both the modes, a script recorded using High Speed Connection plays back only in that mode. This is true for the other modes as well. You must play back you SAP script in the same network connection mode that you recorded with. High Speed Connection mode is recommended as it gives more valid recognition properties.

• If the recording is possible but the playback is greyed out. You’ll need to adjust the parameter sapgui/user_scripting_disable_recording = FALSE

You May Also Like

Leave a Reply?