OData $batch Deleting Records Across Multiple Tables in Single Transaction
Walks through implementing a multi-table DELETE inside a single ODataODataExposing data and operations through OData, including the service model, metadata and protocol versions clients require. Version differences affect which clients can consume a service and which query features they can use.SAP and community, narrow by design v2 $batch changeset on SAP Gateway: setting cv_defer_mode = abap_true in CHANGESET_BEGIN so more than one delete is collected per change set instead of being executed immediately, looping the collected operations in CHANGESET_PROCESS to delete from each backend table in turn, and issuing one COMMIT WORK in CHANGESET_END so all tables commit or roll back together. The example is a supplier master spread across basic, address, identification and purchasing-organisation tables, deleted as one logical unit of work instead of one HTTP call per table.
Where it sits
Who is behind it
Properties
About this work
For odata
Details
Graph
Source
History
- explains → applies_to on capability:odata (abap)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).
- Entered the atlasDiscovered via SAP Community · abap-cloud-tag, SAP Community · abap-development-tag.
For your agent
- Ref
content:odata-batch-deleting-records-across-multiple-tables-in-single-transaction- JSON
- /content/odata-batch-deleting-records-across-multiple-tables-in-single-transaction.json
- MCP
- Connecting an agent