SAP Knowledge Base Article - Preview

3667642 - PATCH request to an A2X Sales API succeeds with a response code of 204 instead of returning an error.

Symptom

When trying to update fields via the PATCH method using an A2X Sales API (e.g., API_SALES_ORDER_SRV), the update is not possible due to system restrictions. The response code returned is 204, which indicates success; however, an error response is expected.


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

A2X, OData V2, API_SALES_ORDER_SRV, sap-message, PATCH, 204 , 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.