Skip to content
Naditu
Get started

SAP S/4HANA OData V4, CDS views, and Joule for AI teams

How SAP S/4HANA CDS views, DCL roles, ORD, Business Data Cloud, and Joule work, and how enterprises bridge on-prem SAP ECC 6.0, Z-tables, and multi-ERP AI.

Naditu3 min read

Enterprise architects planning an SAP S/4HANA OData, CDS, and Joule rollout quickly discover that SAP's semantic stack is among the deepest in the ERP world, provided every plant, subsidiary, and localization table already lives inside clean-core S/4HANA Cloud and SAP Business Data Cloud. In practice, industrial groups run hybrid landscapes: S/4HANA at headquarters, legacy on-premise SAP ECC 6.0 at acquired plants, hundreds of custom Z* ABAP tables for statutory tax and e-documents, and non-SAP retail or manufacturing systems such as the store and shop-floor modules we cover in Nebim Uretim and Nebim V3 POS store data for retail AI.

How SAP S/4HANA models semantics with CDS, DCL, ORD, and Joule

Expanding on Does SAP ship an S/4HANA MCP server?, four technical building blocks power SAP's cloud AI stack:

  • Core Data Services (CDS view entities) and RAP OData V4: inside S/4HANA, CDS views wrap cryptic physical HANA tables (ACDOCA, MATDOC, EKKO, AFKO, AFPO) with domain annotations (@Semantics, @ObjectModel.foreignKey.association) and publish transactional services through the ABAP RESTful Application Programming Model (RAP) over OData V4 with ETag optimistic locking.
  • Data Control Language (DCL) and PFCG authorization objects: row-level access predicates attach directly to CDS views via define role rules mapped to classic PFCG authorization objects such as plant (WERKS) and order type (AUART).
  • Open Resource Discovery (ORD) and SAP Business Data Cloud: ORD JSON manifests self-describe SAP Data Products and One Domain Model (sap.odm) entities, streaming zero-copy Parquet snapshots to SAP Databricks via Delta Sharing and populating the HANA Cloud RDF/SPARQL Knowledge Graph.
  • SAP Joule Studio and BTP AI Core: Joule Agents and deterministic Joule Skills execute through BTP Generative AI Hub (supporting frontier LLMs alongside SAP's tabular model SAP-RPT-1) with XSUAA and Cloud Identity principal propagation.
Curated SAP Data Products cover standard S/4HANA tables, while an external enterprise ontology bridges ECC 6.0, custom Z-tables, and non-SAP plants.

Four hybrid barriers where Joule and Business Data Cloud stop short

  1. On-premise SAP ECC 6.0 exclusion: ECC 6.0 on NetWeaver 7.31 to 7.50 has zero native Joule, Business Data Cloud Data Product, or embedded MCP support. Connecting it through SAP BTP alone demands a five-hop sidecar chain across BAPI_* RFCs, SEGW OData V2, SAP Cloud Connector X.509 principal propagation, BTP Destination Service, and custom Kyma or Cloud Foundry wrappers.
  2. Invisible custom Z-tables and statutory partner add-ons: GİB UBL-TR 1.2.1 e-Invoice, e-Waybill, subcontracting tolerances, and inflation-accounting adjustments routinely live inside custom Z* tables and partner namespaces that standard SAP Data Products never expose.
  3. Multi-ERP blind spots across subsidiaries and MES floors: Joule cannot natively reconcile an S/4HANA purchase order against a regional subsidiary's Logo, Netsis, Nebim, or the domestic ERP databases covered in connecting CPM ERP, Link Güneş Sistemi, and Bilnex to AI, nor a third-party shop-floor MES historian.
  4. Per-unit cloud licensing and model lock-in: routing every operational question from Claude, ChatGPT, or internal agents through BTP AI Units and Datasphere replication adds steep consumption overhead when data already sits in your own network.

Unifying SAP S/4HANA, ECC 6.0, and non-SAP systems over open MCP

Reuse the CDS views, DCL predicates, and released OData V4 APIs you already built in S/4HANA while placing a vendor-neutral enterprise business ontology inside your boundary to join custom Z* schemas, on-premise ECC BAPIs, and shop-floor databases with unified RBAC and human-approved write gates.

Preserve SAP PFCG permissions and ETag concurrency checks by routing every approved write through released RAP OData V4 or BAPI interfaces.

Sources

  1. ABAP Core Data Services (CDS) and RESTful Application Programming Model (RAP), SAP Help Portal
  2. SAP Open Resource Discovery (ORD) Specification, SAP on GitHub
  3. SAP BTP, Cloud Connector, OData, and ORD for Enterprise AI Ontology, Open Enterprise Ontology Handbook (Ontoloji.org)

More on ERP data for AI: How to get ERP, CRM and plant data into a shape an AI assistant can use: undeclared links, status codes, and data that lives in several systems.

Keep reading

Follow what we ship.

New connectors, product updates and what we learn rolling AI out in enterprises, sent to your inbox.

Book a demo

Tell us where to reach you and we will reply with times.