ontoloji.orgOpen Reference Hub
SAP & Protocol Architecture11 min read·Updated: 2026-12-03·Türkçe sürüm →

SAP BTP Cloud Connector, Integration Suite & ORD Metadata for Enterprise AI Ontologies

How to connect on-premise SAP S/4HANA and SAP ECC systems to AI agents using Principal Propagation, SAP Integration Suite MCP Gateway, Open Resource Discovery (ORD 1.16), and OData V2/V4 vocabularies.

Executive Summary — Key Takeaways
  • 01SAP Cloud Connector opens an outbound TLS reverse-invoke tunnel with zero inbound firewall ports; pair it with Principal Propagation (short-lived X.509 via STS or RFC SNC) so AI agents enforce per-user SAP PFCG authorizations rather than a shared service user.
  • 02SAP Integration Suite MCP Server artifacts run exclusively on the SAP-managed Integration Cell runtime (not Edge Integration Cell) and support security and traffic policies without mediation steps.
  • 03Open Resource Discovery (ORD 1.16), OpenAPI x-sap-* extensions, and OData Common.FieldControl (7 Mandatory, 1 ReadOnly, 0 Inapplicable) expose machine-readable ontology contracts directly from SAP metadata.

1. SAP BTP Connectivity, Cloud Connector & Principal Propagation Architecture

The most dangerous anti-pattern when connecting cloud AI agents to SAP S/4HANA Private Cloud or on-premise SAP ECC is routing every prompt through a single high-privilege technical RFC or OData user. In SAP BTP Connectivity, the production architecture pairs an on-premise SAP Cloud Connector reverse-invoke TLS 443 tunnel with end-to-end PrincipalPropagation.

Pairing a subaccount opens the encrypted tunnel (*.uc.platform.cloud.sap), yet zero traffic passes until explicit allowlists are configured. Virtual hosts conceal internal hostnames, HTTP mappings enforce case-sensitive path policies (Path Only vs. Path and All Sub-Paths), and RFC mappings restrict callable function modules by exact name or prefix.

  • Principal Propagation Flow: The signed-in user’s JWT travels through the BTP Connectivity service to the Cloud Connector, whose local STS mints a short-lived X.509 client certificate (SSL_CLIENT_CERT header for HTTPS/WebSocket RFC, or RFC SNC for classic RFC) so SAP evaluates native PFCG authorization objects.
  • Backend Trust Store Default: Cloud Connector’s Backend Trust Store trusts nothing out of the box—internal SAP Gateway and S/4HANA CA certificates must be imported explicitly.
  • Destination Proxy Types: BTP Destination service supports up to 1,000 destinations per subaccount across Internet, OnPremise (routed by CloudConnectorLocationId), and PrivateLink.

2. SAP Integration Suite MCP Gateway vs. Edge Integration Cell Boundaries

SAP Integration Suite’s API Management capability introduces first-class, versioned MCP Server artifacts served by the MCP Gateway alongside the API Gateway, exposing Tools, Resources, and Prompts to AI agents. Architects designing hybrid landscapes must account for four hard runtime boundaries documented by SAP:

  • Runtime Placement: MCP Server artifacts deploy exclusively on the SAP-managed Integration Cell runtime; they are not supported on customer-managed Kubernetes Edge Integration Cell (EIC) nodes.
  • Policy Scope Without Mediation: MCP Server artifacts accept Authentication (mandatory, first, once), Authorization, Quota, Surge Protection, and IP Filter policies on the request flow, with zero mediation or payload-mapping steps.
  • RFC Backend Whitelist: Generating an MCP Server from an RFC destination (IntegrationCell.Include = true) requires the Cloud Connector to allow RFC_FUNCTION_SEARCH, SWO_QUERY_API_METHODS, RFC_METADATA_GET, RFC_GET_STRUCTURE_DEFINITION, BAPI_TRANSACTION_COMMIT, and BAPI_TRANSACTION_ROLLBACK.
  • Credential Hygiene: Authenticate agents via Developer Hub credentials (AuthGroup.API.ApplicationDeveloper) or external OIDC IdPs (SAP Cloud Identity Services, Microsoft Entra ID, Okta, Auth0); using Process Integration Runtime credentials is documented as an anti-pattern.

3. Compiling Open Resource Discovery (ORD 1.16), x-sap-* & OData Vocabularies into an Ontology

SAP publishes four Apache-2.0 metadata standards that feed an enterprise ontology compiler directly: Open Resource Discovery (ORD 1.16), OpenAPI x-sap-* extensions, AsyncAPI event catalogs, and SAP OData V2/V4 vocabularies. While SAP Business Accelerator Hub exposes the static reference catalog, Unified Customer Landscape (UCL) exposes the customer’s live tenant resources and custom extensions.

When compiling OData $metadata (EDMX) into agent tool schemas, never confuse UI visibility annotations with transactional rules: UI.CreateHidden and UI.UpdateHidden only hide Fiori buttons, whereas Common.FieldControl (7 Mandatory, 3 Optional, 1 ReadOnly, 0 Inapplicable) and Core.Computed govern actual API write validity—breaking them rejects the entire payload.

Mapping SAP ORD, OpenAPI x-sap-*, and OData V4 vocabularies into an enterprise ontology entity
# Source 1: ORD ID     -> sap.s4:apiResource:API_SALES_ORDER_SRV:v1
# Source 2: OpenAPI    -> x-sap-odm-entity-name: SalesOrder, x-sap-dpp-is-potentially-personal: true
# Source 3: AsyncAPI   -> sap.s4.beh.SalesOrder.Approved.v1 (subscribe = emitted by S/4HANA!)

entity: SalesOrder
canonical_id: sap.odm.SalesOrder
ord_resource: sap.s4:apiResource:API_SALES_ORDER_SRV:v1
write_constraints:
  - field: SalesOrder
    odata_annotation: Core.Computed
    agent_rule: never_send_on_create
  - field: PurchaseOrderByCustomer
    odata_annotation: Common.FieldControl=7
    agent_rule: mandatory_before_post
  - field: SoldToParty
    dpp_classification: sap:DataSubject
    rbac_masking: enforce_principal_propagation
AsyncAPI Direction Inversion in SAP Event Catalogs

In SAP AsyncAPI 2.0 event catalogs, subscribe denotes events the SAP application emits, while publish denotes events it consumes—and under sap:core:v1, events are always consumed through SAP Event Mesh rather than direct point-to-point endpoints.

Glossary Concepts Referenced in This Guide

Open License (CC BY 4.0) · Cite This Page

Free to reference in engineering docs, ADRs, articles, and course syllabi with attribution.

[SAP BTP Cloud Connector, Integration Suite & ORD Metadata for Enterprise AI Ontologies — Ontoloji.org](https://ontoloji.org/en/guides/sap-btp-cloud-connector-odata-ord-enterprise-ai-ontology)

More Guides in This Series

Core Architecture
How AI Uses an Ontology
9 min read
Agent Engineering
Agent Harness vs. Ontology
8 min read
Data Engineering
ERP, CRM & MES Patterns
10 min read
Strategy & Governance
30-Day Ontology Strategy
7 min read
ERP Integration
ERP Ontology Integration Guide
11 min read
ERP Data Engineering
Logo Tiger, Nebim V3 & Turkish Unicode Traps
14 min read
Agent Governance
Adversarial Verification, Permissions & Compaction
13 min read
Verification Engineering
Absence-Aware Gates & Ratio Reconstruction
13 min read
Provenance & Governance
Draft vs. Normative Provenance Hygiene
12 min read
ERP Write-Safety
Logo REST, Nebim Integrator & UBL-TR Safety
12 min read
Platform Architecture Comparison
Cortex, Genie, dbt & Cube vs. Ontology
12 min read
Systems Engineering & Forensics
ERP Integrator Anti-Patterns & Forensics
13 min read
Platform Architecture Comparison
Fabric IQ, D365 MCP & SAP Joule vs. Ontology
12 min read
Retrieval & RAG Architecture
PageIndex Vectorless Tree RAG vs. Vector DBs
11 min read
Platform Architecture Comparison
Atlan, Stardog & Neo4j vs. Ontology
12 min read
Statutory & Financial Governance
GİB UBL-TR, VUK/TMS 29 & KVKK Ontology
13 min read
Agent Memory & Ontology Architecture
Cognee & Zep Graphiti vs. Ontology
11 min read
Protocol & Multi-Agent Architecture
MCP vs. OpenAPI & Specialist Agents
12 min read
Protocols & Standards
MCP 2026-07-28: Tasks, Events & Apps
13 min read
Agent Architecture & Governance
Agent Harness Engineering Rubric
12 min read
Agent Architecture & Governance
Multi-Agent Task Boards & Mailboxes
12 min read
Verification & Security
Generate-Evaluate-Repair & Observers
12 min read
Verification & Security
NSA MCP Security & CIMD vs. DCR
13 min read
Agent Architecture & Governance
OpenTelemetry for AI Agents & MCP
11 min read