Symptom
- When creating a sales order via API_SALES_ORDER_SRV for a Business Partner with multiple addresses and no address usages set, the AddressId sent for partner functions is ignored and the first created address is saved for all partner functions.
- No error or warning is returned by the service when AddressId is provided in the payload.
- The response does not include an AddressId node for partner data.
- Posting a payload containing a top-level “root” property returns OData v2 400 with /IWFND/CM_MGW033 “Property 'root' is invalid”.
Read more...
Environment
- Sales and Distribution (SD)
- 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, AddressId, partner function, multiple addresses, business partner, sales order API, address determination, read-only property, ignored AddressId, OData v2 400, /IWFND/CM_MGW033, property root is invalid, partner address, S/4HANA Sales API, payload wrapper , KBA , SD-SLS-API , APIs for Sales Document in S/4 Sales & Distribution , 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