2. December 2026

OData, MCP and A2A in SAP: Who Decides the Next Step?

“Why hasn’t order 4711 been delivered yet?” Sometimes a glance at the delivery status is all customer service needs. Sometimes the sales order carries a delivery block, even though sales has already confirmed the release. Anyone automating such inquiries with SAP and n8n has to decide how far the workflow should go in each case.

OData defines which SAP data the workflow reads or changes. MCP provides an AI agent with suitable tools to choose from. A2A enables the agent to delegate the clarification to a specialized agent. Which option fits depends on who should determine the next business step.

Order 4711 is just an example. The three situations we walk through do not form a fixed sequence. Each stands on its own and shows what one of the three access paths is meant for.

This article kicks off our blog series on SAP and n8n.

Data, tools, tasks: three levels into the SAP landscape

Architecturally, the three access paths sit on top of each other. OData accesses business objects directly, while MCP provides access to tools that describe their own purpose. A2A addresses an agent that uses tools and data on its own.

With each level, the caller hands more of the decision over to the SAP side. However, these levels do not replace each other: an SAP agent uses tools, and those tools ultimately call APIs again.

Fig. 1: OData, MCP and A2A at a glance

OData, when the step is fixed

Let’s assume the order number is already known. Customer service first wants to know which sold-to party the document belongs to. Two fields from the order header are enough. An n8n workflow can read them via the OData V2 API for sales orders in SAP S/4HANA. For our example order, the call looks like this, referring to the order header:
GET /sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder('4711')?$select=SalesOrder,SoldToPartyA_SalesOrder
The workflow $select request exactly the order number and the sold-to party. Which fields and relationships the service offers is described in its metadata document under $metadata to request exactly the order number and the sold-to party. Which fields and relationships the service offers is described in its metadata document under $metadata. A developer reads it and builds the call into the workflow. So, the data to be retrieved is already determined before the workflow runs for the first time.

The advantage shows during testing. The team can define in advance how the workflow handles a found order, an unknown number or missing read authorizations. Even if the order data changes by tomorrow, the team can still trace which request the workflow executes. A query like this needs no language model.

MCP, when the customer’s question determines the tool

In the inbox, the order number rarely sits neatly next to the request. One customer asks about a delivery date, another about the reason for a block. Here a language model can help classify the request and pick the right tool.

The Model Context Protocol (MCP) makes such tools discoverable for an AI application. Via tools/list the client learns which tools a server offers, what they are for and which inputs they expect. For a call via tools/call, it passes the tool name and the arguments. The model makes the choice, the client handles the protocol call. Unlike with OData, the binding happens only at runtime: if a tool is added, the agent can use it without anyone rebuilding the workflow.

How well this works is decided when the tools are designed. A tool called get_delivery_status could determine the existing deliveries for an order number. A second one, get_delivery_block, could read the stored block reason. Both names are examples. The description of the second tool should state whether it considers a block on the order header, on an item or both. Otherwise, a technically correct call can lead to a wrong business answer.

Both tools can be backed by the same OData services that a classic workflow calls. The knowledge of SAP fields and document relationships then lives in the tool’s implementation. The agent decides, based on the customer’s question, which result it needs. For providing such tools from existing APIs and integrations, SAP’s reference architecture for MCP access describes, among other things, the MCP Gateway in SAP Integration Suite.

A2A, when another agent takes over the clarification

Back to order 4711. A delivery block is set in the order header. Sales reports that it granted the release yesterday. Customer service now knows the system status. Why it contradicts what sales said is still open.

If a specialized SAP agent already exists for such cases, the workflow can ask it for clarification via Agent2Agent (A2A). The task might read: “Clarify the discrepancy on order 4711 and tell customer service the next step.” Which documents the agent checks, and in what order, is up to the agent. The decision to lift a block would be a separate task with separate authorizations.

The A2A specification defines how both sides find each other. In its Agent Card, the agent describes its capabilities and the endpoint through which it can be reached. It can answer a simple request directly with a message. If the clarification takes several steps, it returns a Task. A task has a status and can, for example, indicate that information is missing. For customer service this makes a concrete difference: n8n can request the missing release reference and then continue the same case.

For the path from an external application to an SAP agent, SAP describes Inbound A2A via the SAP Agent Gateway. According to the SAP Architecture Center, this path has been generally available since October 2026. Which agents the client can find in a tenant depends on its configuration.

Identity matters too. A technical token is enough to search the agent catalog. For the actual call, SAP requires a user context: the SAP agent processes the task with the business authorizations of the requesting person. For a shared customer service workflow, this is crucial.

Which of the three paths in n8n fits which use case

n8n handles both: fixed process steps and AI agents. In May 2026, SAP and n8n announced plans to integrate n8n as a managed environment in Joule Studio. Which of the three access paths fits is a decision per use case. It hinges on the question of who should determine the next step.

Fig. 2: Three situations using order 4711 as an example
ODataMCPA2A
SituationOrder number is knownRequest is still openConflict with SAP status
Who decides?the workflowthe calling agentthe SAP agent
Self-descriptionmetadata documenttool listAgent Card
Bindingat design timeat runtimeat runtime
Statestatelessstatelesstask with status

For MCP, n8n already offers three suitable building blocks. With the MCP Client Tool, you give an AI agent the tools of an external server. With the MCP Client, you call a specific tool as a fixed workflow step. And with the MCP Server Trigger, you offer your own n8n workflow to other applications as a tool. This lets you reuse, for example, a proven delivery status check.

At adesso business consulting, we are working on two n8n nodes for SAP: “adesso SAP MCP” for accessing SAP MCP tools and “SAP Agent Gateway (A2A)” for connecting to the SAP Agent Gateway. In both cases, authentication is the demanding part, not the protocol. User identity therefore belongs in the workflow design. When two employees start the same automation, SAP must be able to attribute each call to the person acting.

To get started, we recommend beginning with a concrete case. Mark the point where a decision is open. If customer service can answer the question with a fixed query, the workflow is done at that point. For a disputed block, it pays to ask the business department what result it needs to give the customer a binding answer. That answer belongs in the task given to the SAP agent.

Would you like to design such a process for your customer service or another SAP process? The Competence Center AI of adesso business consulting AG supports you from choosing the right interface to a productive n8n workflow.

Share this Post:

Topics and Tags:

A post by:

Sascha Seegebarth

Sascha Seegebarth is a Solution Architect in the AI Competence Center at adesso business consulting, where he bridges technology, business processes, and consulting in the areas of AI and automation within the SAP environment. His focus is on SAP Business AI, AI agents using SAP Joule Studio, and n8n. As a Forward Deployed Engineer, he supports customers from the initial idea through to a production-ready solution, and as an n8n Ambassador, he contributes practical knowledge from the community.
All posts by: Sascha Seegebarth

Related Posts

SAP DRC Statutory Reporting: From Electronic Invoicing to Closing-to-Compliance

SAP DRC Statutory Reporting: From Electronic Invoicing to Closing-to-Compliance

Europe’s tax landscape is undergoing a fundamental transformation driven by the adoption of electronic invoicing. E-invoicing is increasingly accompanied by digital reporting obligations and, in particular, transaction-level controls. At the same time, businesses must continue to prepare periodic VAT returns, statistical declarations and tax audit files. Against this backdrop, SAP Document and Reporting Compliance (SAP DRC) provides a unified process framework. The strategic target state is the end-to-end process known as Closing-to-Compliance.

Sustainability & Cost Optimization (ESG): From Compliance Frustration to Monetization

Sustainability & Cost Optimization (ESG): From Compliance Frustration to Monetization

The first three articles in this series have shown how the chemical industry is gradually reinventing itself. This article picks up exactly where this left off and takes it a step further: We examine how sustainability and CO₂ data are evolving from a compliance issue into an active margin driver, with the Product Carbon Footprint (PCF) as the key metric.

From Sidekick to Powerhouse: How SAP QM Grew Up

From Sidekick to Powerhouse: How SAP QM Grew Up

SAP QM has undergone a quiet but profound transformation over the past decade, and organizations that still treat it as an optional add-on are leaving significant value on the table. Today, SAP QM is a fully mature module with its own process logic, integration depth, and strategic relevance — one that deserves a seat at the table in every S/4HANA implementation conversation.