Driving the SAP GUI

Operating SAP's own user interface as a program rather than as a person — the desktop GUI or the Web GUI, driven through the Scripting API. Reached for when a transaction has no API at all, and increasingly when a change needs testing against the real screen rather than against the layer beneath it. Distinct from agent access to your code, which reaches the objects through ADT and never sees a screen.

Showing artifacts, examples and content with confirmed ABAP Cloud applicability. View All ABAP

Overview

DOES NOT APPLY IN ABAP CLOUD

SAP BTP ABAP environment and SAP S/4HANA Cloud Public Edition both mandate ABAP for Cloud Development, and SAP's own guidance for it states there is no access to SAP GUI at all. With no SAP GUI session open, there is nothing for the Scripting API to attach to and nothing for a script to drive.

Policy1

PolicySAP API Policy 4.2026a§ 2.2.2, 3AlwaysAn MCP server drives SAP GUI for an agent, through its Scripting API or the screen.
  • § 2.2.2 AI call sequences and data extraction. Outside SAP-endorsed architectures, data services or expressly identified pathways, the policy prohibits specified agentic API use and systematic or large-scale extraction.
  • § 3 Monitoring and remedies. SAP states that it may monitor API use and take enforcement actions when use does not comply with the documentation and policy.

Driving the user interface for an agent is still an agent executing a sequence of actions against the system. Check whether section 2.2.2 applies to the design, and that the user interface is not used as a way around the controls section 3 names.

SAP API Policy 4.2026a →
SourceSAP API Policy v.4.2026achecked

Artifacts

Nothing is mapped here yet.

Details

Coverage
statenot applicable, ABAP, ABAP Cloud
assessed
For your agent
Ref
capability:gui-automation
JSON
/capabilities/gui-automation.json
MCP
Connecting an agent