# SAP ECC 6.0 AI Ontology & Zero-Copy MCP Connector

Canonical URL: https://naditu.com/connectors/sap-ecc
Category: Global ERP
Read path: `Read Replica · RFC Read Table Views · OData Gateway`
Write gate: `Human-approved via official BAPI & IDoc`

Many industrial enterprises still run core plants on SAP ECC 6.0 with decades of custom ABAP Z-tables, split header/status tables (VBAK/VBUK, LIKP/VBUK) and implicit conversion exits. Waiting years for an S/4HANA migration or copying terabytes into a cloud warehouse stalls AI adoption. Naditu builds a clean business ontology directly over your existing ECC replica and SAP Gateway.

## Business objects & field-level governance.

- **Sales Order & Status** (`VBAK · VBAP · VBUK · VBUP · KNA1`) — KONV pricing conditions restricted to Sales Management & Finance
- **Purchasing Document** (`EKKO · EKPO · EKET · EKKN · LFA1`) — Net price & vendor evaluation restricted to Purchasing & Finance
- **FI Accounting Document** (`BKPF · BSEG · BSID · BSIK`) — Company code (BUKRS) & account group row policies enforced
- **Plant Stock & Production Order** (`MARA · MARC · MARD · AUFK · AFKO · AFPO`) — MBEW moving-average cost masked outside Cost Accounting

## Three physical schema traps solved in the layer.

1. **ALPHA leading-zero padding and inverted date storage:** ECC stores document and material numbers padded with leading zeros (0000010482) and legacy exchange-rate dates in inverted 99999999 subtraction format (GDATU). Naditu normalizes keys and dates deterministically.
2. **Separate VBUK/VBUP status tables and KONV condition fan-out:** Joining VBAP directly to KONV without KNUMV/KPOSN aggregation multiplies order quantities across every discount and freight condition line. The ontology isolates header, line and condition grain.
3. **Undocumented Z-tables built over twenty years:** Custom plant, rebate and export tables carry no database-level foreign keys. Naditu captures how your ABAP reports join them and versions every confirmed link.

## Common engineering questions.

### Will connecting AI to SAP ECC 6.0 slow down dialog users on our production database?

No. Reads execute against a read-only standby replica or bounded Gateway views with row and timeout limits, keeping dialog work processes untouched.

### What happens to our AI workflows when we eventually migrate from ECC 6.0 to S/4HANA?

Because assistants and agents query canonical ontology objects (Customer, Order, Item, Work Order) rather than VBAK or VBUK directly, you remap the underlying source bindings while agent tools stay unchanged.

### How does Naditu handle BAPI write-backs on SAP ECC?

Write actions such as BAPI_PO_CREATE1 or delivery block updates require explicit human approval, run with test-run validation first, and record BAPIRET2 return messages in the audit log.
