Orchestrate

Report an issue

Something wrong, out of date or unclear? Tell us. Corrections are prioritized over new topics. You don't need to sign in.

0 / 2000

Don't include personal or confidential company details. Reports are reviewed with AI assistance.

SAP's API policy and third-party agents: what a renewal must say

SAP's April 2026 API policy limits how AI agents and bulk extraction reach SAP. See which paths it endorses and what your renewal must settle for 2027.

Updated Nov 23, 2026
Foundational layer · 10 min read

What changed, and when

On 27 April 2026 SAP published a new SAP API Policy. The version on the SAP Help Portal today is v.4.2026a. It says which interfaces customers and partners may use, under what limits, and what SAP may do when they don't (SAP API Policy; publication date per SAP's overview deck).

Two clauses matter most for AI. As of the v.4.2026a text, SAP bars API use by "(semi-) autonomous or generative AI systems" that plan, choose or run sequences of API calls, and bars large-scale extraction or replication. Both bans have the same exception: they are allowed through architectures, data services or pathways SAP endorses for that purpose.

The dates that matter now:

Date What happened
27 April 2026 Policy published; press and partner reaction within days (The Register)
9 June 2026 SAP shipped a security patch that blocks one interface, ODP over RFC, for non-SAP extraction (ASUG)
30 June 2026 SAP webinar naming the endorsed paths for agents and extraction (ASUG report)
31 December 2026 The opt-out that suspends the ODP-RFC block ends, per SAP's deck and the ASUG report
Your 2027 renewal The place to settle what the policy means for your interfaces and agents

This page builds on integration platform and clean core, which first described the policy, and on SAP tools for agents.

Why it matters to the business

Three things change for an SAP customer that uses AI.

Agents need a named route. An agent built on a non-SAP platform that decides for itself which SAP APIs to call now falls under the AI clause. If it reaches SAP through a path SAP has not endorsed, SAP can throttle, suspend or terminate that access under section 3 of the policy. A pilot that works today can stop working after an audit.

Data pipelines may need rebuilding. Large-scale extraction into a non-SAP warehouse or lake is restricted to endorsed data paths. One common method, ODP over RFC, is already blocked by patch for this purpose. If your opt-out is the only thing keeping a nightly load alive, the load stops when the opt-out ends.

Contracts decide how binding it is. The policy says it forms part of SAP's product documentation. A law firm's review points out that whether a later-posted document binds you depends on your agreement's definitions and change clauses (Hunton). That is a renewal conversation, not an IT ticket.

Take the fictional Calder Pumpworks, the course's running company. Its data warehouse loads CP10's open orders and billing every night through ODP over RFC. Its supply agent, built on BTP, calls released APIs through its own MCP server. Under the policy the first is on the unpermitted list and the second needs an endorsed route. Neither is a technical failure today; both are business risks for 2027.

How SAP does it

The policy text itself names no product. SAP's overview deck and its June 2026 webinar did, and those are the paths SAP calls endorsed as of mid-2026 (SAP deck; ASUG):

  • A2A into SAP's own agents. An outside agent hands work to a Joule agent over the open Agent2Agent protocol. SAP presented this as its preferred route. At the June webinar a dedicated agent gateway for A2A was still to come; A2A for SAP agents tracks its status.
  • The MCP Gateway in SAP Integration Suite. It turns APIs, integrations and RFC backends into governed MCP servers with authentication, rate limits and monitoring. Per the ASUG report it ships in Integration Suite's Enhanced and Premium editions, with rollout from 5 July 2026. The MCP gateway hands-on topic builds one.
  • SAP Business Data Cloud for extraction. Per the ASUG report, ODP over OData also remains valid, with no plan to restrict it.

SAP's own FAQ answer, as summarized in its deck, is that customers may use any third-party AI platform if it connects through an endorsed architecture using open protocols such as A2A and MCP. Third-party MCP servers you run yourself are allowed, but per the webinar report at your own risk.

Which path each kind of integration needs

What connects to SAP Policy position (v.4.2026a and SAP's deck) What to do
A system calling published APIs as documented Permitted, within each API's rate limits Keep; record which APIs and limits
Customer-namespace code (Z RFCs, Z OData services) Not restricted, but what it calls inside SAP must comply Check it with the ABAP Test Cockpit
A non-published SAP function module Unsupported, at your own risk; may change without notice Replace with a published API
ODP over RFC into a non-SAP tool Unpermitted; blocked by patch Move to an endorsed data path before the opt-out ends
Bulk extraction by other means Only through endorsed data services Get SAP's position on your method in writing
An agent whose code picks every call Outside the AI clause; normal API rules Document that the model never chooses calls
An agent that plans its own API calls Only through an endorsed path Route through the MCP Gateway or A2A, or get written confirmation
Your own gateway in front of any of these Does not change the answer: section 3 bars circumvention through proxies and gateways Use a gateway for control, not as a compliance shortcut

What a renewal must say

The policy names no fees. SAP's CEO said in April that customers would not pay to access their own data, while mass data requests would be throttled (The Register). The endorsed paths, though, are products with their own prices: the MCP Gateway sits in higher Integration Suite editions, and custom Joule Studio agents are metered in AI Units (pricing custom agents). So the money question moves from "may we call the API" to "which path do we buy, and how is it metered".

A renewal should leave you with these points in writing:

  1. Which version of the policy applies, and how later versions reach your contract.
  2. Which of your agents and pipelines SAP accepts as endorsed, by name.
  3. The numbers: rate limits, quotas and egress limits for the APIs and paths you use.
  4. The metering of the endorsed paths in 2027: Integration Suite edition and message counts, AI Units per agent step.
  5. The process before enforcement: notice, a review of your use case, time to remediate. SAP's FAQ says there are no automatic blocks or penalty models; get that into the contract.
  6. A migration window for anything on the unpermitted list, with SAP's support.

Questions to ask

  • Which version of the SAP API Policy does our agreement incorporate, and can SAP change it during the term?
  • Which of our interfaces use ODP over RFC today, and what does SAP's self-assessment show? Have we installed the patch or are we on the opt-out?
  • For each agent: does the model choose which SAP APIs to call? If yes, which endorsed path does it use?
  • Is our Integration Suite edition one that includes the MCP Gateway, and what will agent traffic cost on it?
  • Do our third-party tools (connectors, ETL, AI platforms) state which SAP interfaces they use? The ASUG report says verifying vendors is the customer's job.
  • What notice will SAP give before throttling, and who on our side receives it?

Common misconceptions

  • "The policy bans AI agents." It doesn't. It requires agents that plan their own API calls to come through an endorsed path. Agents on any platform can qualify.
  • "Putting our own API gateway in front makes it compliant." Section 3 bars circumventing the controls through proxies, gateways or custom code. A gateway helps you govern traffic; it does not create an endorsement.
  • "Custom Z code is now forbidden." SAP's deck says customer-namespace code is not restricted. What that code calls inside SAP still has to comply.
  • "Everything non-published is now illegal." SAP's FAQ says non-published interfaces are used at your own risk and existing integrations are not invalidated retroactively. Only ODP over RFC is on the unpermitted list so far.
  • "The opt-out buys more time." As of SAP's deck and webinar, the opt-out ends on 31 December 2026, and the block then becomes permanent.

Key terms

All course terms, A to Z, in the glossary

  • SAP API Policy: SAP's document on which interfaces may be used, with which limits and remedies; v.4.2026a as of November 2026.
  • Published API: an API listed on the SAP Business Accelerator Hub or named in product documentation, usable for its documented purpose.
  • Non-published API: an internal or private SAP interface; unsupported and liable to change without notice.
  • Unpermitted interface: one SAP has flagged as not allowed; ODP over RFC is the only one so far.
  • ODP over RFC: a way of replicating SAP data through the Operational Data Provisioning framework over remote function calls; blocked by patch for non-SAP extraction.
  • Endorsed path: an architecture, data service or pathway SAP names for agent traffic or bulk extraction, such as the MCP Gateway, A2A into Joule agents or SAP Business Data Cloud.
  • MCP Gateway: the SAP Integration Suite capability that publishes APIs as governed MCP servers for agents.
  • Opt-out: the temporary switch that suspends the ODP-RFC block, available until 31 December 2026 per SAP.

Check yourself

Pick one answer for each question. The explanation appears after you choose.

1What does SAP API Policy v.4.2026a say about AI agents that plan their own API calls?

Answer: D. The AI clause bars use by systems that plan, select or run sequences of API calls, except through SAP-endorsed architectures or pathways. SAP's FAQ says third-party AI platforms can qualify through an endorsed architecture.

2Calder's nightly warehouse load uses ODP over RFC and survives on the opt-out. What is the business risk?

Answer: B. ODP over RFC is the one interface on SAP's unpermitted list, blocked by a patch since 9 June 2026. The opt-out ends on 31 December 2026, after which the block is permanent, so the load needs an endorsed data path first.

3An architect proposes putting Calder's own API gateway in front of an unendorsed agent "to make it compliant". What is the right answer?

Answer: D. Section 3 forbids circumventing the API controls through intermediary services, proxies, gateways or custom code. A gateway is useful for control and audit, but it does not turn an unendorsed path into an endorsed one.

4Which path did SAP present as its preferred route for an outside agent that needs SAP to do work?

Answer: C. In its June 2026 webinar SAP named A2A into its own agents as the preferred route, with the MCP Gateway in Integration Suite and SAP Business Data Cloud as the other endorsed paths.

5The policy itself names no fees. Why does a 2027 renewal still need a metering conversation?

Answer: A. SAP said customers won't pay to access their own data, but the endorsed routes cost money: the MCP Gateway sits in higher Integration Suite editions and custom agents use AI Units. The renewal should settle which path you buy and how it is metered.

6Which question best tests whether the policy actually binds your company?

Answer: C. The policy says it forms part of SAP's documentation. A law firm's review points out that whether that binds a customer depends on the agreement's definitions and change clauses, which is why it belongs in the renewal.
Deep layer · 30 min read

Mental model

Treat the policy as a classifier over who decides the calls and what they call.

Every connection to SAP falls into one cell of a small grid. The rows are what is called: a published API, customer code, a non-published SAP interface, or an unpermitted one. The columns are who chooses the calls: a fixed program, an AI system that plans its own sequence, or a bulk extraction. Most of the grid is ordinary API governance. Two columns, AI that plans calls and large-scale extraction, need an endorsed path whatever they call. One row, unpermitted interfaces, is closed whoever calls it.

The architect's job is to put every interface and agent into its cell, fix the ones in the wrong cell, and take the rest into the renewal as named, written commitments.

How it works

The four sections of the policy

The v.4.2026a text is short: four numbered sections after an introduction (SAP API Policy). In original words:

Section What it sets
1.1 Published APIs APIs on the Business Accelerator Hub or named in product documentation, for their documented use: integration, extensions, data exchange, events
1.2 Non-Published APIs Internal or private interfaces and those bound to SAP-reserved clients: not to be used unless documentation permits or SAP authorizes; custom ABAP interfaces in private cloud and on-premise are given as permitted; may change or disappear without notice
2.1 Specific controls Per-API rate limits, quotas, deprecation schedules, data ingress and egress quotas, and limits or preconditions for bulk extraction and replication, set in documentation or on the Hub
2.2.1 General controls No competitive analysis, no use outside documented use, nothing that risks performance, stability or security
2.2.2 General controls No use by (semi-)autonomous or generative AI systems that plan, select or execute API call sequences, and no scraping or large-scale extraction or replication, except through SAP-endorsed architectures, data services or pathways
3 Monitoring and remedies SAP may monitor usage and throttle, suspend or terminate access; circumvention through intermediaries, custom code, proxies, gateways or impersonation is barred
4 Compliance Data export SAP must give by law (portability, switching, record retention) is not limited

What SAP's own material adds

The policy text never names a product, a note or a protocol. SAP's overview deck for user groups and its 30 June 2026 webinar fill that in (SAP deck; ASUG):

  • A third category, unpermitted, for interfaces SAP flags through a note, the ABAP Test Cockpit or a confidential marking. ODP over RFC is the only one so far.
  • Customer-namespace code (your own RFCs, BAPIs and OData services) is not restricted, but what it calls must comply.
  • A self-assessment for ODP-RFC use, shipped as an SAP note (Note 3439624 per the ASUG report); the deck says its result is not conclusive proof that no unpermitted calls exist.
  • Endorsed paths for agents (A2A into SAP's agents, the MCP Gateway) and for data (SAP Business Data Cloud; ODP over OData remains valid).
  • Enforcement approach: SAP reviews the use case and reaches out first; its FAQ says no automatic blocks or penalty models, and no retroactive invalidation of existing integrations.

The decision for one connection

flowchart TD
  S[Connection to SAP] --> U{ODP over RFC<br/>or other unpermitted?}
  U -- yes --> X[Unpermitted:<br/>migrate]
  U -- no --> AI{AI plans<br/>the calls?}
  AI -- yes --> R{Endorsed path?<br/>MCP Gateway, A2A}
  R -- yes --> E[Endorsed path:<br/>settle limits, metering]
  R -- no --> C[Confirm in writing<br/>or reroute]
  AI -- no --> B{Large-scale<br/>extraction?}
  B -- yes --> D{BDC or<br/>ODP over OData?}
  D -- yes --> E
  D -- no --> C
  B -- no --> P{Published API<br/>or standard?}
  P -- yes --> OK[Permitted within<br/>rate limits]
  P -- no --> K[Check custom code,<br/>replace internal calls]

The AI question is about who chooses the calls, not whether a model is involved. An invoice pipeline where code fetches a fixed set of records and a model only drafts text does not plan API calls. An agent that picks tools in a loop does.

Build it yourself: classify every interface against the policy

You will build radar/api_policy_check.py. It holds a register of the fictional Calder's interfaces and agents, classifies each against the policy's rules, and prints the questions to take to the renewal. A second run shows the target design from the integration platform topic, so you can see how far the migration closes the gaps.

Before you start: complete Set up your computer for this course. The script uses only built-in Python, so there is nothing to install.

flowchart LR
  R[Register:<br/>interfaces and agents] --> C[Rules from<br/>v.4.2026a]
  C --> V[Verdict per row]
  V --> Q[Renewal<br/>questions]
  V --> F[CSV for the<br/>decision record]

What you need

  • Your course folder with .venv.
  • About 25 minutes.
  • Cost: free. No account, no network, no randomness.

Step 1: Open your course folder and turn on the virtual environment

  1. Open VS Code, choose File > Open Folder, and open orchestrate-course.

  2. Open a terminal: Terminal > New Terminal.

  3. If the prompt doesn't start with (.venv), turn it on:

    • Windows (PowerShell):

      .venv\Scripts\Activate.ps1
    • macOS / Linux:

      source .venv/bin/activate
  4. Make sure the radar folder exists:

    • Windows (PowerShell):

      New-Item -ItemType Directory -Force radar
    • macOS / Linux:

      mkdir -p radar

Step 2: Save the script

  1. In VS Code, right-click the radar folder, choose New File, and name it api_policy_check.py.
  2. Paste the code below and save.
"""Classify Calder's interfaces and agents against SAP API Policy v.4.2026a.

A course tool, not legal advice. The rules below paraphrase the policy text
(help.sap.com, v.4.2026a) and SAP's own overview deck; every verdict that is
not PERMITTED becomes a question for the renewal or for the SAP account team.

  python radar/api_policy_check.py --sample          classify the sample register
  python radar/api_policy_check.py --sample --target classify the ADR-001 target design
  python radar/api_policy_check.py --file my.csv     classify your own register
  python radar/api_policy_check.py --sample --write  also write the register as CSV
"""
import argparse
import csv
import sys
from collections import Counter
from pathlib import Path

FOLDER = Path("radar")
COLUMNS = ["id", "name", "consumer", "interface", "published", "ai_plans_calls",
           "bulk", "route"]

# interface: what the consumer actually calls in the SAP system
INTERFACES = {
    "standard":      "SAP-delivered integration or function, used as documented",
    "released-api":  "API the consumer calls directly (OData, SOAP, IDoc, event)",
    "custom-code":   "customer-namespace code (Z RFC, Z report, Z OData service)",
    "sap-internal":  "SAP function module or table read that isn't published",
    "odp-rfc":       "ODP data replication over RFC",
    "odp-odata":     "ODP data replication over OData",
    "cds-bdc":       "CDS extraction into SAP Business Data Cloud or Datasphere",
    "manual":        "people, email, portals: no API call",
}
# route: the path an AI system takes to SAP (blank for non-AI consumers)
ENDORSED_AI_ROUTES = {"mcp-gateway", "a2a-joule"}   # named by SAP in its June 2026 webinar
OTHER_AI_ROUTES = {"own-mcp", "direct", "third-party-mcp"}
YES_NO = {"yes", "no", "check"}

TODAY = [
    # id, name, consumer, interface, published, ai_plans_calls, bulk, route
    ["I01", "Purchase orders to SAP Business Network", "system", "standard", "yes", "no", "no", ""],
    ["I02", "Production orders to MES by Z RFC reading order tables", "system", "custom-code", "check", "no", "no", ""],
    ["I03", "Nightly CSV to CRM from a Z report", "system", "custom-code", "check", "no", "no", ""],
    ["I04", "Order confirmations by email output", "system", "standard", "yes", "no", "no", ""],
    ["I05", "Deliveries to EWM", "system", "standard", "yes", "no", "no", ""],
    ["I06", "Carriers by email and portals", "people", "manual", "no", "no", "no", ""],
    ["I07", "Data warehouse load by ODP-RFC", "system", "odp-rfc", "no", "no", "yes", ""],
    ["I08", "Bank statements by SFTP file import", "system", "standard", "yes", "no", "no", ""],
    ["I09", "Supply agent reading released APIs", "agent", "released-api", "yes", "yes", "no", "own-mcp"],
    ["I10", "Distributor EDI to IDoc ORDERS", "system", "released-api", "check", "no", "no", ""],
    ["I11", "Intercompany IDoc EDI with ECC CP20", "system", "released-api", "check", "no", "no", ""],
    ["I12", "CRM availability check by Z OData service", "system", "custom-code", "check", "no", "no", ""],
    ["A01", "Invoice triage pipeline (code picks every call)", "agent", "released-api", "yes", "no", "no", "direct"],
    ["A02", "Order exceptions agent via Integration Suite MCP server", "agent", "released-api", "yes", "yes", "no", "mcp-gateway"],
    ["A03", "Public MCP server with a run_sql tool", "agent", "sap-internal", "no", "yes", "yes", "third-party-mcp"],
]

# ADR-001 target (integration platform topic): rows that change, and rows that go
TARGET_CHANGES = {
    "I02": ["Released production orders to MES via Integration Suite", "system", "released-api", "yes", "no", "no", ""],
    "I03": ["Sales order events; CRM reads by released API", "system", "released-api", "yes", "no", "no", ""],
    "I07": ["Data warehouse load by CDS extraction to Datasphere", "system", "cds-bdc", "yes", "no", "yes", ""],
    "I12": ["CRM availability check by released API via API Management", "system", "released-api", "yes", "no", "no", ""],
    "I08": ["Bank statements via SAP Multi-Bank Connectivity", "system", "standard", "yes", "no", "no", ""],
    "I09": ["Supply agent via Integration Suite MCP server", "agent", "released-api", "yes", "yes", "no", "mcp-gateway"],
}
TARGET_REMOVED = {"I11", "A03"}   # I11 retires at the July 2027 rollout; A03 was rejected


def classify(r):
    """Return (verdict, reason, question) for one register row."""
    i, ai, bulk, route = r["interface"], r["ai_plans_calls"], r["bulk"], r["route"]
    if i == "manual":
        return ("OUT OF SCOPE", "no API call", "")
    if i == "odp-rfc":
        return ("UNPERMITTED", "SAP lists ODP-RFC as unpermitted; patch from 9 June 2026, opt-out to 31 Dec 2026",
                "Which endorsed path replaces this load, and by what date, before the opt-out ends?")
    if i == "sap-internal":
        if ai == "yes" or bulk == "yes":
            return ("NOT ALLOWED", "non-published SAP access used by AI or for bulk extraction (2.2.2)",
                    "Remove it; no renewal clause makes this path endorsed.")
        return ("AT RISK", "non-published API: unsupported, may change without notice (1.2)",
                "Which published API replaces this call?")
    if ai == "yes":
        if route in ENDORSED_AI_ROUTES:
            return ("ENDORSED PATH", f"AI plans calls through {route}, a path SAP named for agents",
                    "Which rate limits and metering apply to agent calls on this path in 2027?")
        return ("CONFIRM", f"AI plans calls through {route or 'no named route'}: needs an SAP-endorsed path (2.2.2a)",
                "Does SAP accept this route as endorsed for this use, in writing?")
    if bulk == "yes":
        if i in ("cds-bdc", "odp-odata"):
            return ("ENDORSED PATH", "large-scale extraction through a path SAP names for it",
                    "Which egress quotas or extraction limits apply to this volume?")
        return ("CONFIRM", "large-scale extraction outside a named data path (2.2.2b)",
                "Is this extraction within an SAP-endorsed data service?")
    if r["published"] == "check":
        if i == "custom-code":
            return ("CHECK", "customer code is allowed, but what it calls inside SAP decides",
                    "Do the Z objects call only published APIs? Run ATC and record the result.")
        return ("CHECK", "confirm the interface is listed on the Business Accelerator Hub",
                "Is this interface listed as published for this product and release?")
    if r["published"] == "no":
        return ("AT RISK", "not published: unsupported, may change without notice (1.2)",
                "Which published API replaces this call?")
    return ("PERMITTED", "published or standard, used as documented (1.1), within its rate limits", "")


def validate(rows):
    errors = []
    for r in rows:
        where = r.get("id", "?")
        if r["interface"] not in INTERFACES:
            errors.append(f"{where}: unknown interface '{r['interface']}'")
        for col in ("published", "ai_plans_calls", "bulk"):
            if r[col] not in YES_NO:
                errors.append(f"{where}: {col} must be yes, no or check")
        if r["route"] and r["route"] not in ENDORSED_AI_ROUTES | OTHER_AI_ROUTES:
            errors.append(f"{where}: unknown route '{r['route']}'")
        if r["ai_plans_calls"] == "yes" and not r["route"]:
            errors.append(f"{where}: an AI that plans calls needs a route")
    return errors


def load(args):
    if args.file:
        path = Path(args.file)
        if not path.exists():
            sys.exit(f"{path} not found.")
        with path.open(newline="", encoding="utf-8") as f:
            rows = list(csv.DictReader(f))
        missing = [c for c in COLUMNS if rows and c not in rows[0]]
        if missing:
            sys.exit(f"{path} is missing columns: {', '.join(missing)}")
        return rows
    rows = []
    for row in TODAY:
        if args.target and row[0] in TARGET_REMOVED:
            continue
        if args.target and row[0] in TARGET_CHANGES:
            row = row[:1] + TARGET_CHANGES[row[0]]
        rows.append(dict(zip(COLUMNS, row)))
    return rows


def main():
    p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
    p.add_argument("--sample", action="store_true", help="use Calder's made-up register")
    p.add_argument("--target", action="store_true", help="with --sample: the ADR-001 target design")
    p.add_argument("--file", help="your own register as CSV with the same columns")
    p.add_argument("--write", action="store_true", help="write the register and verdicts to radar/")
    args = p.parse_args()
    if not args.sample and not args.file:
        p.error("give --sample or --file")

    rows = load(args)
    errors = validate(rows)
    if errors:
        print("Register errors:")
        for e in errors:
            print("  " + e)
        sys.exit(1)

    results = [(r, *classify(r)) for r in rows]
    label = "target (ADR-001)" if args.target else ("today" if args.sample else args.file)
    print(f"API policy check, SAP API Policy v.4.2026a, register: {label}\n")
    print(f"{'ID':<4} {'VERDICT':<13} {'NAME':<56} REASON")
    for r, verdict, reason, _ in results:
        print(f"{r['id']:<4} {verdict:<13} {r['name'][:56]:<56} {reason}")

    counts = Counter(v for _, v, _, _ in results)
    order = ["PERMITTED", "ENDORSED PATH", "CHECK", "CONFIRM", "AT RISK", "UNPERMITTED", "NOT ALLOWED", "OUT OF SCOPE"]
    print("\nSummary: " + ", ".join(f"{k} {counts[k]}" for k in order if counts[k]))

    questions = [(r["id"], q) for r, _, _, q in results if q]
    print("\nQuestions for the renewal and the account team:")
    for n, (rid, q) in enumerate(questions, 1):
        print(f"{n:>2}. [{rid}] {q}")

    if args.write:
        FOLDER.mkdir(exist_ok=True)
        out = FOLDER / ("api_policy_target.csv" if args.target else "api_policy_today.csv")
        with out.open("w", newline="", encoding="utf-8") as f:
            w = csv.writer(f)
            w.writerow(COLUMNS + ["verdict", "reason", "question"])
            for r, verdict, reason, q in results:
                w.writerow([r[c] for c in COLUMNS] + [verdict, reason, q])
        print(f"\nWrote {out}")

    blocking = counts["UNPERMITTED"] + counts["NOT ALLOWED"]
    sys.exit(2 if blocking else 0)


if __name__ == "__main__":
    main()

Step 3: Classify today's register

  1. Run:

    python radar/api_policy_check.py --sample
  2. You should see:

API policy check, SAP API Policy v.4.2026a, register: today

ID   VERDICT       NAME                                                     REASON
I01  PERMITTED     Purchase orders to SAP Business Network                  published or standard, used as documented (1.1), within its rate limits
I02  CHECK         Production orders to MES by Z RFC reading order tables   customer code is allowed, but what it calls inside SAP decides
I03  CHECK         Nightly CSV to CRM from a Z report                       customer code is allowed, but what it calls inside SAP decides
I04  PERMITTED     Order confirmations by email output                      published or standard, used as documented (1.1), within its rate limits
I05  PERMITTED     Deliveries to EWM                                        published or standard, used as documented (1.1), within its rate limits
I06  OUT OF SCOPE  Carriers by email and portals                            no API call
I07  UNPERMITTED   Data warehouse load by ODP-RFC                           SAP lists ODP-RFC as unpermitted; patch from 9 June 2026, opt-out to 31 Dec 2026
I08  PERMITTED     Bank statements by SFTP file import                      published or standard, used as documented (1.1), within its rate limits
I09  CONFIRM       Supply agent reading released APIs                       AI plans calls through own-mcp: needs an SAP-endorsed path (2.2.2a)
I10  CHECK         Distributor EDI to IDoc ORDERS                           confirm the interface is listed on the Business Accelerator Hub
I11  CHECK         Intercompany IDoc EDI with ECC CP20                      confirm the interface is listed on the Business Accelerator Hub
I12  CHECK         CRM availability check by Z OData service                customer code is allowed, but what it calls inside SAP decides
A01  PERMITTED     Invoice triage pipeline (code picks every call)          published or standard, used as documented (1.1), within its rate limits
A02  ENDORSED PATH Order exceptions agent via Integration Suite MCP server  AI plans calls through mcp-gateway, a path SAP named for agents
A03  NOT ALLOWED   Public MCP server with a run_sql tool                    non-published SAP access used by AI or for bulk extraction (2.2.2)

Summary: PERMITTED 5, ENDORSED PATH 1, CHECK 5, CONFIRM 1, UNPERMITTED 1, NOT ALLOWED 1, OUT OF SCOPE 1

Questions for the renewal and the account team:
 1. [I02] Do the Z objects call only published APIs? Run ATC and record the result.
 2. [I03] Do the Z objects call only published APIs? Run ATC and record the result.
 3. [I07] Which endorsed path replaces this load, and by what date, before the opt-out ends?
 4. [I09] Does SAP accept this route as endorsed for this use, in writing?
 5. [I10] Is this interface listed as published for this product and release?
 6. [I11] Is this interface listed as published for this product and release?
 7. [I12] Do the Z objects call only published APIs? Run ATC and record the result.
 8. [A02] Which rate limits and metering apply to agent calls on this path in 2027?
 9. [A03] Remove it; no renewal clause makes this path endorsed.

Read the rows that are not PERMITTED:

  • I07 is the warehouse load. ODP over RFC is the one unpermitted interface, so it is the most urgent row.
  • A03 is a public MCP server whose run_sql tool reads SAP tables directly. Non-published access driven by AI is outside every endorsed path, so the verdict is NOT ALLOWED. The course's MCP server register already rejected it.
  • I09 is the supply agent. It calls only released APIs, but the model plans the calls and it reaches SAP through Calder's own MCP server. That is CONFIRM: either reroute it or get SAP's written acceptance.
  • A01 is the invoice pipeline. A model is involved, but code picks every call, so the AI clause does not apply and it is PERMITTED.
  • I02, I03, I12 are customer code. Allowed in principle; the check is what the Z objects call inside SAP.
  • I10, I11 are IDoc interfaces. The script marks them CHECK because whether they are listed as published for your release must be looked up on the Business Accelerator Hub, not assumed.

The script ends with exit code 2 because two rows are blocking. In PowerShell you can see it with $LASTEXITCODE; on macOS or Linux with echo $?.

Step 4: Classify the target design

  1. Run the same check on ADR-001, the target from integration platform and clean core:

    python radar/api_policy_check.py --sample --target
  2. The end of the output should read:

Summary: PERMITTED 8, ENDORSED PATH 3, CHECK 1, OUT OF SCOPE 1

Questions for the renewal and the account team:
 1. [I07] Which egress quotas or extraction limits apply to this volume?
 2. [I09] Which rate limits and metering apply to agent calls on this path in 2027?
 3. [I10] Is this interface listed as published for this product and release?
 4. [A02] Which rate limits and metering apply to agent calls on this path in 2027?

The target moves the warehouse load to CDS extraction into Datasphere, routes the supply agent through an Integration Suite MCP server, replaces the Z interfaces with released APIs, retires the ECC IDoc link at the July 2027 rollout and drops the rejected MCP server. Nothing blocking is left, and the remaining questions are about limits and metering: exactly what the renewal should settle.

Step 5: Write the register for the decision record

  1. Run:

    python radar/api_policy_check.py --sample --write
    python radar/api_policy_check.py --sample --target --write
  2. Open radar/api_policy_today.csv and radar/api_policy_target.csv in VS Code or a spreadsheet. Each row has the register columns plus verdict, reason and question.

Step 6: Check your own register

  1. Copy radar/api_policy_today.csv to radar/my_register.csv, delete the three last columns or leave them (the script ignores extra columns), and edit the rows to match your landscape.

  2. Run:

    python radar/api_policy_check.py --file radar/my_register.csv
  3. If a value is not one the script knows, it lists the problem and stops, for example I14: route must be .... Allowed values are in INTERFACES, ENDORSED_AI_ROUTES and OTHER_AI_ROUTES at the top of the script.

Step 7: Save your work

git add radar/api_policy_check.py
git commit -m "Radar: classify interfaces against the SAP API Policy"

What each part of the script does

Part What it does
INTERFACES The kinds of interface a row can use, from SAP-delivered standard to ODP over RFC
ENDORSED_AI_ROUTES, OTHER_AI_ROUTES The routes an AI system can take; the endorsed ones are those SAP named in June 2026
TODAY, TARGET_CHANGES, TARGET_REMOVED Calder's made-up register today, and what ADR-001 changes or removes
classify The rules in order: unpermitted first, then non-published, then AI that plans calls, then bulk extraction, then publication status
validate Rejects unknown values so a typo doesn't become a wrong verdict
main Prints the table, a summary and the questions, writes the CSV, and returns exit code 2 if anything is blocking

If something goes wrong

What you see What it means What to do
python is not recognized, or command not found Python isn't installed, or the terminal can't find it Repeat the setup topic's Python step and open a new terminal; on macOS/Linux use python3 until .venv is active
can't open file ... api_policy_check.py You are not in the course folder cd to orchestrate-course and check the file is in radar
error: give --sample or --file No register was chosen Add --sample, or --file with your CSV
is missing columns Your CSV header differs from the script's Start from the file Step 5 writes
Register errors: followed by a list A value is not one the script knows Fix the named cell; allowed values are at the top of the script
A network or proxy error Not from this script: it makes no network calls Check which other script you ran

The SAP way

As of November 2026, the policy is a document, not a product, so "the SAP way" is the set of paths SAP calls endorsed and the tools it offers to check compliance.

For agents. SAP's deck lists reference architectures for third-party MCP access to SAP solutions, integrating AI agents with Joule, and integrating Joule agents into a wider ecosystem, all in the SAP Architecture Center (SAP deck). The MCP Gateway in Integration Suite creates MCP servers from API artifacts, OpenAPI specifications and RFC functions in ECC or S/4HANA, with OIDC-based authentication, rate limiting, IP blocking and payload protection. Federation of external MCP servers and tool monetization are marked as roadmap in the deck. Per the ASUG report the gateway needs the Enhanced or Premium edition of Integration Suite. A2A into SAP's agents was the preferred route, with a dedicated agent gateway announced but not yet shipped at the June webinar.

For data. SAP Business Data Cloud is the endorsed extraction path, and ODP over OData remains valid per the webinar (ASUG). Reporting and analytics architecture and CDS extraction pipelines show the build.

For checking. The ODP-RFC self-assessment note, the ABAP Test Cockpit's checks on API use in custom code, and the Cloud Readiness Check, per the ASUG report. Automatic flagging of prohibited APIs was still in preparation at the time.

For limits. Section 2.1 puts each API's rate limits and quotas in its documentation or on the Hub. The deck adds that SAP monitors API usage and that such limits are standard in the industry.

Build vs. SAP

Need Your own build SAP's endorsed path Choose SAP's path when
An outside agent needs SAP to do work Your MCP server over released APIs MCP Gateway, or A2A into a Joule agent The model plans its own calls (the AI clause applies)
An agent reads a few records with code choosing every call A plain client of released APIs Not needed Never required; document that code chooses the calls
Bulk data into a non-SAP lake ODP-RFC connector or custom extraction Business Data Cloud, or ODP over OData Always for ODP-RFC; for other methods unless SAP confirms them in writing
Central control of AI traffic Your own AI gateway (AI gateways) Integration Suite API Management and MCP Gateway You need SAP to recognize the path; your gateway alone doesn't
Proving compliance A register and this check Self-assessment note, ATC, Cloud Readiness Check Use both: SAP's tools find calls, the register records decisions

Architecture view

Where it sits. The policy governs every arrow that enters an SAP system: from BTP apps, from non-SAP agents, from extraction tools. For Calder that means CP10 on S/4HANA Cloud Private Edition and, until the July 2027 rollout, CP20 on ECC. The register in the build section is the landscape's inventory of those arrows, classified.

Non-functional requirements.

Requirement Typical target What breaks if missed
Compliance evidence Every interface and agent classified, with a dated verdict An audit finds an unendorsed agent and SAP throttles it
Rate limits Known per API and per path, with 30% headroom Agent traffic peaks hit SAP's limits mid-process
Data egress Volumes per pipeline below documented quotas A nightly load is throttled and reports are stale
Availability of endorsed paths Gateway or agent gateway inside your availability target The endorsed path becomes the single point of failure
Cost Edition and metering known before go-live The endorsed path costs more than the pilot's business case

Integration and identity. Endorsed agent paths carry the user's identity: the MCP Gateway supports OIDC with SAP and third-party identity providers, and A2A hands the task to an SAP agent that acts under SAP authorizations. That keeps SAP authorizations in force, which a shared technical user behind a home-built server often does not.

The decision to record.

  • Context: Calder's supply agent plans its own calls to released APIs through a Calder-hosted MCP server; the AI clause requires an endorsed path.
  • Options: (1) keep the own server and ask SAP for written acceptance; (2) move the tools to an Integration Suite MCP server; (3) hand the work to an SAP agent over A2A when the agent gateway is available.
  • Decision: option 2 now, review option 3 at the next renewal.
  • Consequences: Integration Suite must be on an edition with the MCP Gateway; the agent's calls are metered and rate-limited there; the own server is retired after cutover.

What a design review will ask.

  1. Which rows in the register are not PERMITTED, and who owns each one?
  2. Does any agent plan its own API calls outside an endorsed path?
  3. What is the replacement and date for every ODP-RFC load, and is it live before 31 December 2026?
  4. Which contract version of the policy applies, and what notice does SAP give before throttling?
  5. What does the endorsed path cost per month at our volumes?

Production concerns

  • Security and authorizations. Endorsed paths bring authentication and audit; still give each agent its own identity and the least privilege it needs. Never let an agent fall back to a technical user with broad roles.
  • Evidence. Keep the register under version control with dates and the policy version. Attach ATC results for customer code and the self-assessment result for ODP-RFC.
  • Cost. Price the endorsed path at real volumes before committing: Integration Suite edition and messages, AI Units for SAP-side agents.
  • Operations. Monitor throttling responses (HTTP 429 and similar) as an early signal that a limit is near. Name who receives SAP's outreach.
  • Clean core. The policy and clean core point the same way: published APIs and released objects. Customer code that calls internal SAP objects is a clean-core and a policy problem at once.

Pitfalls

  • Classifying by technology, not by who chooses the calls. "It uses a model" is not the test; "the model chooses the API calls" is.
  • Trusting a vendor's word. The ASUG report says checking a third-party tool's compliance is the customer's job. Ask vendors which SAP interfaces they call, in writing.
  • Reading the FAQ as the contract. The deck's softer answers are helpful, but the policy text is what forms part of the documentation.
  • Waiting for the opt-out to run out. A migration from ODP over RFC needs testing and a cutover; five weeks is short.
  • Assuming the endorsed list is final. The policy text names no product, so the list lives in SAP's other material and will change. Record the date with every verdict.

Exercise

  1. Add a row I13 for cost centers sent from CP10 to SuccessFactors Employee Central (the integration platform topic's exercise interface). Choose interface, published and route honestly; if you don't know whether the interface is listed on the Hub, use check.
  2. Add a row A04 for a Microsoft Copilot Studio agent that hands sales-order work to a Joule agent over A2A, with route a2a-joule and ai_plans_calls yes.
  3. Run python radar/api_policy_check.py --file radar/my_register.csv --write.
  4. Write architect/api-policy/renewal-points.md with one line per question the script printed, and an owner and a date for each.

Done when: your register has 17 rows, A04 shows ENDORSED PATH, I13 shows a verdict you can explain in one sentence, and renewal-points.md lists every question with an owner. The file feeds the architecture board pack in Unit 31.

Check yourself

Pick one answer for each question. The explanation appears after you choose.

1Under v.4.2026a, which question decides whether the AI clause (2.2.2a) applies to an agent?

Answer: A. The clause covers (semi-)autonomous or generative AI systems that plan, select or execute sequences of API calls. A pipeline where code chooses every call and a model only drafts text is outside it, which is why the invoice pipeline A01 is permitted.

2The check marks Calder's supply agent I09 as CONFIRM although it calls only released APIs. Why?

Answer: B. The AI clause needs an endorsed path whatever the agent calls. A Calder-hosted MCP server is not one SAP has named, so the options are to reroute through the MCP Gateway or A2A, or get written acceptance.

3Why does classify test for ODP over RFC before anything else?

Answer: A. Unpermitted is the strongest verdict: no route or purpose makes it acceptable. Testing it first stops a later rule, such as an endorsed AI route, from giving a softer verdict to an unpermitted call.

4An integration lead proposes wrapping the public run_sql MCP server in Calder's AI gateway with logging and rate limits. What does section 3 of the policy imply?

Answer: A. Section 3 bars getting around the controls through intermediary services, proxies, gateways or custom code. The tool still reads SAP data through a non-published path under AI control, so it must be removed, not wrapped.

5What does the ADR in the architecture view accept as a consequence of moving the supply agent to an Integration Suite MCP server?

Answer: B. Per SAP's webinar the MCP Gateway ships in the Enhanced and Premium editions, and agent calls are then rate-limited and metered there. That cost is the price of an endorsed path, which is why it goes into the renewal.

6Calder's Z OData service I12 is classified CHECK. What makes it compliant?

Answer: C. SAP's deck says customer-namespace code is not restricted but must comply in what it calls. The check is therefore on the SAP objects the Z code uses, not on the Z service itself.

7Which evidence should travel with every verdict in the register?

Answer: A. The policy text names no products, so the endorsed list lives in SAP's other material and changes. Recording the version and date shows which rules a verdict used and when it must be reviewed.
NextModel tiers and prices in late 2026Which model prices change on 1 December 2026 and 1 January 2027, which models retire, and how to re-price an SAP AI workload with caching and batch.

Sources

  • SAP API Policy v.4.2026a (SAP Help Portal, PDF) — read 2026-11-23; v.4.2026a, no date in the text; says it forms part of the product Documentation; 1.1 Published APIs (Business Accelerator Hub or product Documentation) for Documented Use; 1.2 Non-Published APIs must not be accessed unless Documentation permits or SAP authorizes, example custom ABAP interfaces in private cloud and on-premise, may change without notice; 2.1 specific controls per API (rate limits, quotas, deprecation, ingress/egress quotas, limits and preconditions for bulk extraction or replication); 2.2.1 no competitive analysis, no use outside Documented Use, no risk to performance, stability or security; 2.2.2 no use with (semi-)autonomous or generative AI systems that plan, select or execute sequences of API calls, and no scraping or large-scale extraction or replication, except through SAP-endorsed architectures, data services or pathways; 3 monitoring, throttling, suspension or termination, no circumvention through proxies, gateways or custom code; 4 legal data export duties unaffected; names no product, note or fee
  • SAP API Policy overview (SAP slide deck for SAP user groups, 2026) — read 2026-11-23; no presenter or date shown; policy published 27 April 2026; published, non-published (own risk, not supported) and unpermitted APIs; ODP-RFC 'the only unpermitted interface so far'; customer-namespace code not restricted but must comply in what it calls; large-scale extraction or integration with autonomous AI agents only via an endorsed SAP architecture; ODP-RFC security patch shipped 9 June, opt-out until 31 December 2026; third-party AI platforms allowed through an endorsed architecture using open protocols such as A2A and MCP; MCP Gateway in Integration Suite features and roadmap items; FAQ: no automatic blocks or penalty models, no retroactive invalidation; no SAP Note number given
  • SAP API Policy Overview: API Availability, Agentic AI Architectures and Impacts on Existing Integrations (ASUG, 5 July 2026) — read 2026-11-23; report of SAP's 30 June 2026 webinar with SAP speakers; ODP-RFC the only unpermitted interface; self-assessment in SAP Note 3439624; patch from 9 June 2026 blocks noncompliant ODP-RFC calls, opt-out through 31 December 2026, then permanent; ODP over OData a valid alternative with no plan to restrict it; endorsed AI paths: A2A into SAP's own agents (preferred), MCP Gateway in Integration Suite, SAP Business Data Cloud for extraction; dedicated agent gateway for A2A still forthcoming at the time; third-party MCP servers allowed at the customer's own risk; MCP Gateway in Integration Suite Enhanced and Premium editions, rollout from 5 July 2026; SAP will reach out before hard enforcement
  • AI clause in new SAP API policy provokes lock-in concern (The Register, 29 April 2026) — read 2026-11-23; policy last updated 27 April 2026; SAP spokesperson: updates clarify design-intended use without changing customer data ownership; CEO on an investor call: customers will not pay to access their own data, throttling for mass data requests; consultant and press reactions
  • SAP's New API Policy Raises New Compliance and Continuity Risks (Hunton Andrews Kurth, 26 May 2026) — read 2026-11-23; law firm view: whether the policy binds a customer depends on the agreement (amendment clauses, the definition of Documentation, clauses negating portal terms, limits on monitoring rights); check limits on unilateral changes and on supplements that add obligations

Sign in to track your progress

We'll email you a one-time sign-in link. No password needed.

or

Tell us a little about you

Optional, every field. It helps us pitch answers to your questions at the right level and decide which topics to write next. It is never shown publicly, and you can change or clear it anytime from the account menu.

SAP areas you work in