Skip to main content

SAP WinGUI Automation


SAP WinGUI is commonly used to access SAP functionality in SAP applications. Clicknium supports SAP WinGUI automation, and it requires the SAP WinGUI API scripting enabled.

The SAP WinGUI version 7.4,7.5, and 7.6 are supported.

The following functions can works with SAP:

Other general functions are also supported for SAP WinGUI elements, such as click, set_text, get_text etc.

Enabling SAP WinGUI API scripting

Server-Side Configuration

  1. Launch saplogon, log on SAP server
  2. Run transaction code RZ11
  3. Input the parameter name sapgui/user_scripting, click button Display
  4. In the dialog Display Profile Parameter Attributes, click button Change Value, set Current Value to TRUE, and then save the changes. sap
  5. Repeat step 4 and set the following parameters' value to FALSE
  • sapgui/user_scripting_disable_recording
  • sapgui/user_scripting_force_notification
  • sapgui/user_scripting_per_user
  • sapgui/user_scripting_set_readonly

Notes: All changed values in transaction RZ11 are temporary and will be lost after the system restarts. To change permanently, please contact SAP System Administrator.

Client Side Configuration

  1. Select the menu Options
  2. Go to Accessibility & Scripting and click on scripting.
  3. Check the Enable scripting option.
  4. Clear the checkbox for the following options:
  • Notify when a script attaches to SAP GUI
  • Notify when a script opens a connection
  1. Save the changes by clicking OK. The SAP WinGUI scripting is now enabled.

Enabling Modal Dialog Boxes

  1. From the SAP Easy Access window, click Settings under the Help menu. The Personal Settings for user window is displayed.
  2. Access the F1 Help tab and select the Modal Dialog Box option from the Display section.
  3. For date selection, access the F4 Help tab and select Control (amodal) option from the Display section.
  4. Click the Apply button to save changes and close the Personal Settings for User window.