Symptom
- An error message "Operation not allowed due to changeset restrictions. Refer to API docu." is received when attempting to update multiple items in a Sales Order using the Sales Order (A2X) Odata V4 service.
- The error occurs when a Batch request is built to update more than one item in the Sales Order.
Environment
SAP S/4HANA Cloud Public Edition
Resolution
With $batch OData requests, multiple operations in multiple changesets can be combined in a single request.
The following needs to be noted when applying to the Batch Requests of this API:
-
Only create or process one single sales order per changeset with this API.
-
Only provide one Update (PATCH) request in one changeset. This means, for example, it is not recommended to provide multiple update requests or a combination of an update request and another operation (such as Create).
See Also
Keywords
SAP S/4HANA Cloud, Sales Order Management and Processing, Batch Request, Odata V4 API, Error, Operation not allowed due to changeset restrictions. , KBA , SD-SLS-API-2CL , API (Public Cloud) , Problem
SAP Knowledge Base Article - Public