Symptom
- In a single OData batch changeset for e.g. API_SALES_ORDER_SRV, mixing PATCH operations on existing items with POST operations that create new items leads to an incorrect order item structure.
- An item created via POST may take an unexpected item number, and subsequent PATCH requests can update the wrong item.
- Observed outcome: an item shows a different material number and/or title than provided in the payload (for example, data intended for one item appears on another).
- No explicit error message is returned by the API.
Read more...
Environment
- SAP S/4HANA
- SAP S/4HANA Cloud Private Edition
Product
SAP S/4HANA Cloud Private Edition all versions ; SAP S/4HANA all versions
Keywords
API_SALES_ORDER_SRV, API_SALES_QUOTATION_SRV, OData batch, changeset ordering, PATCH POST DELETE, sales order items, wrong item mapping, material mismatch, text mismatch, item number interleaving, API, internal buffer, item index , KBA , SD-SLS-API , APIs for Sales Documents , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview