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 codeAgent access to your codeLetting a coding agent read the project or the system you actually have, reach its model, its objects and its checks, and act on it. In file-based environments that works out of the box; complex systems need dedicated access capabilities. Whatever the environment, the agent also needs project- and framework-specific context, so it understands the thing in front of it rather than guessing from what it remembers of its training data. The transport is incidental: an MCP server, a language server or a CLI answer the same question, and what differs between them is how much of the real thing the agent can see. Distinct from MCP servers, which is a protocol adapter on your own running service, and from agent guidance, which is knowledge handed over as files rather than read from the thing itself.SAP and community, unassessed, 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
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.
Policy
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 →Artifacts
Nothing is mapped here yet.
Details
Coverage
For your agent
- Ref
capability:gui-automation- JSON
- /capabilities/gui-automation.json
- MCP
- Connecting an agent