Record SAP GUI scripts
The following steps describe some prerequisites to recording a SAP GUI script.
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
When recording a multi-protocol script in which the SAP GUI client contains web controls, close the SAPLogon application before recording.
Instruct the SAP GUI client to open the F1 help in a modal dialog box as follows:
Select Help > Settings.
Click the F1 Help tab.
Select in modal dialog box in the Display section.
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:
Make sure that all users have logged off from the server.
Select Help > Settings. Click the F4 Help tab.
In the Display section, select System defaults.
In the Display portion of the System defaults section, select Dialog.
Save the changes by clicking Copy initial system setting.
Verify that the status bar displays the message Data was saved.
Close the session and restart the service through the SAP Management Console.