Page tree
Skip to end of metadata
Go to start of metadata

Automate User Interaction with SAP GUI - and more

SAP GUI Scripting is an automation interface that enhances the capabilities of SAP GUI for Windows and Java. Using this interface, end users may automate repetitive tasks by recording and running macro-like scripts. Administrators and developers on the other hand may build tools for server-side application testing or client-side application integration.


SAP GUI Scripting API 

SAP GUI Scripting provides a set of scriptable objects wrapping SAP GUI. The document describes the interface that was designed to resemble user interaction, which can then be emulated using a script.
This guide deals with security aspects when using the SAP GUI Scripting API.

Presentation and Exercises

SAP GUI Scripting API Presentation   

This presentation explains the benefits you have when using scripts in your daily work. Also, it describes the security settings and recommendations for SAP GUI Scripting. In addition, you will learn to access the Scripting Object Model to collect and modify data in SAP GUI and how to use the SAP sample applications that help you to get started with your own development. Also, you will get to know some prominent appplications built using the SAP GUI Scripting API. 

SAP GUI Scripting API TechEd Workshop Exercise   

In this exercise, you learn how to record and play back scripts using SAP GUI for Windows and SAP GUI for Java. 


SAP GUI Scripting is available as of SAP GUI 6.20 for Windows and SAP GUI 6.20 for Java Revision 6. You find download information on the SAP GUI Family page. SAP System versions beginning with 3.1I are supported. A complete list of all requirements is available in the security documentation above. 

Important Notes

SAP Note 1441550

This note contains two archives with example applications for the use of SAP GUI Scripting. Please note that these applications are only demo programs, for which SAP does not provide support.


  • No labels

1 Comment

  1. The "Important Notes" section should include SAP note #2715519 describing the risks of SAP GUI Scripting in production systems.

    At least profile parameter sapgui/user_scripting_per_user=TRUE needs to be set. See SAP GUI Scripting Security Guide. for details.