Record SAP GUI scripts

The following steps describe some prerequisites to recording an SAP GUI script.

Configure the application server for scripting

As a security precaution, scripting is disabled by default. In order to record, you need to enable scripting on the application server. From the RZ11 transaction, set the following profile parameters as follows:

  • sapgui/user_scripting TRUE
  • sapgui/user_scripting_force_notification FALSE
  • sapgui/user_scripting_set_readonly FALSE
  • sapgui/user_scripting_disable_recording FALSE

Close SAPLogon application when recording with multi

When recording a multi-protocol script in which the SAP GUI client contains web controls, close the SAPLogon application before recording.

Use modal dialog boxes for F1 help

Instruct the SAP GUI client to open the F1 help in a modal dialog box:

  1. Select Help > Settings.

  2. Click the F1 Help tab.

  3. Select in modal dialog box in the Display section.

Use modal dialog boxes for F4 help

Note: This procedure can only be performed by the administrator.

Instruct the SAP GUI client to open the F4 help in a modal dialog box:

  1. Make sure that all users have logged off from the server.

  2. Select Help > Settings. Click the F4 Help tab.

  3. In the Display section, select System defaults.

  4. In the Display portion of the System defaults section, select Dialog.

  5. Save the changes by clicking Copy initial system setting.

  6. Verify that the status bar displays the message Data was saved.

  7. Close the session and restart the service through the SAP Management Console.

Back to top