SAP Knowledge Base Article - Public

3474176 - Batch Request Error "Operation not allowed due to changeset restrictions. Refer to API docu." with Sales Order (A2X) Odata V4 API in SAP S/4HANA Cloud

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

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:

  • You can only create or process one single sales order per changeset with this API.

  • You can only provide one Update (PATCH) request in one changeset. This means, for example, that you cannot 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

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions