{"ref":"content:odata-deep-insert-implementation-and-real-life-examples","page":"/content/odata-deep-insert-implementation-and-real-life-examples","json":"/content/odata-deep-insert-implementation-and-real-life-examples.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"odata-deep-insert-implementation-and-real-life-examples","title":"OData Deep Insert: Implementation and Real-Life Examples","url":"https://community.sap.com/t5/application-development-and-automation-blog-posts/odata-deep-insert-implementation-and-real-life-examples/ba-p/14147054","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:odata","applies_to":{"ecosystems":["abap"]}}],"summary":"Walks through implementing [OData](capability:odata) Deep Insert on classic SAP Gateway: two entity types joined by an association in SEGW, and a redefined CREATE_DEEP_ENTITY method in the DPC_EXT class that unpacks the header and item payload and calls BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order with its line items in one request instead of separate calls per item. Gives a sample JSON payload to test with Postman or /IWFND/GW_CLIENT and names the usual failure points — an unmapped association, a method that was never redefined, or a commit left out after the BAPI call.","short":"OData deep insert on classic SAP Gateway","author":"SRSATAPATHY","published":"2025-09-15","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"abap-development-tag"}],"first_seen":"2026-10-03"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:odata (abap)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 13 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-09-15"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":7467,"unit":"views"},{"value":0,"unit":"comments"},{"value":5,"unit":"likes"}]},"signals":{"views":7467,"likes":5,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}