SAP for agents who have never used it — the products you will meet (S/4HANA editions, ECC, SAP BTP, Business Accelerator Hub), how BTP accounts are structured, the integration technologies (OData, SOAP, RFC/BAPI, IDoc, events), and the words SAP people use

Orientation for an AI coding agent new to SAP. Covers the systems that hold the business data (S/4HANA in its cloud and on-premise forms, and the older ECC); SAP BTP, where integrations and extensions run (global accounts, subaccounts, regions, the Cloud Foundry, Kyma and ABAP environments); the Business Accelerator Hub catalogue of published APIs; the interface technologies and which to prefer; and a short glossary. Read before choosing a connection path.

markdownreferencev1W67W-EGSEstage: orienttrust: officialservice: basicsinterface: anywhat is SAPSAP S/4HANAS/4HANA Cloud Public EditionS/4HANA Cloud Private EditionS/4HANA on-premiseSAP ECCSAP BTPBusiness Technology Platformglobal accountsubaccountdirectoryregionCloud Foundry environmentKyma environmentABAP environmentNeo environmentSAP BTP cockpitBusiness Accelerator Hubapi.sap.comOData V2 V4SOAPRFCBAPIIDocSAP eventssap-clientclientABAPCDS viewsSAP Gatewayglossary

Created 23 Oct 2026 · Modified 23 Oct 2026 · 1 version

SAP for agents who have never used it

Why SAP feels hard to connect to:

  • The business system usually sits inside a company network ("not exposed to the internet", in SAP's own words).
  • Access is configured per integration by SAP administrators, not by self-service API keys.
  • The interface depends on which edition the customer runs.
  • SAP restricts which interfaces third parties and AI agents may use (reference/connectivity/choose-a-connection-path.md).

The systems you will meet

SystemWhat it isWhat it means for you
S/4HANA Cloud Public EditionSAP's SaaS ERPReachable over the internet, but only through published APIs that an admin enables per integration (a communication arrangement)
S/4HANA Cloud Private Edition and S/4HANA on-premiseThe same ERP, run for one customerUsually inside a private network. Reach it through SAP BTP and the Cloud Connector, or a network path the customer's IT provides
SAP ECCThe previous-generation ERP, still widely runOlder interfaces (RFC/BAPI, IDoc, SOAP, some OData). Treat it like on-premise
SAP BTP (Business Technology Platform)SAP's cloud platform for integrations, extensions, AI and dataWhere SAP wants integrations to run. It holds the destinations and the connectivity service that reach on-premise systems
SAP Business Accelerator Hub (api.sap.com)The catalogue of SAP's published APIs, with specifications and a sandboxStart every integration by finding the published API here

The hub's reading: in a customer project, ask which edition and release they run before anything else. It decides every later choice.

SAP BTP in five lines

  • A global account is your contract with SAP. It holds entitlements and quotas, and it is region-independent.
  • Subaccounts are where you deploy applications, use services and subscribe. Each subaccount is in exactly one region, hosted by SAP, AWS, Azure, Google Cloud or Alibaba Cloud.
  • Directories (optional) group subaccounts, up to 7 levels deep including the global account.
  • Environments live in a subaccount:
  • Cloud Foundry (an org per subaccount, apps in spaces);
  • Kyma (managed Kubernetes);
  • ABAP;
  • the older Neo, which SAP's own docs flag with a caution.
  • You manage all of it in the SAP BTP cockpit, or with the btp and cf CLIs (reference/overview/tools.md).

Interface technologies, best first

TechnologyWhat it isUse it when
OData (V2 and V4)REST over HTTP with query options ($filter, $select, $top, $expand), served by SAP GatewayDefault. Most published S/4HANA APIs are OData
SOAP web servicesXML services, often for document-style processesThe published API for your process is SOAP
EventsBusiness events (for example, a business partner changed)You need change notifications instead of polling
RFC / BAPISAP's native remote function calls into ABAP function modulesOlder systems with no published OData API. Needs SAP's RFC libraries, and is restricted for third parties
IDocAsynchronous document exchange (orders, invoices)Classic EDI-style integration, usually through middleware

Words SAP people use

  • Client (sap-client): a tenant inside one SAP system, identified by a three-digit number. The same URL can serve several clients, so requests carry sap-client. The SAP Cloud SDK sends it as a header when the destination has a sap-client property.
  • ABAP: SAP's programming language.
  • CDS views: data models defined in ABAP, which many OData APIs are built on.
  • SAP Gateway: the OData layer of an ABAP system; services live under /sap/opu/odata/....
  • Business partner: the single master record for customers and suppliers in S/4HANA.
  • Company code: a legal entity in the books.
  • Clean core: SAP's rule that extensions and integrations use only released, published interfaces, so upgrades don't break them.

The hub's reading: the last four definitions are standard SAP vocabulary; family 3 will cite each object's API.

Read this document as markdown — the same bytes an agent receives.