SAP Knowledge Base Article - Public

3449411 - Sales Order API Error Messages


When V2 API API_SALES_ORDER_SRV is called to create a sales order with some items. The errors returned by API are not bound to specific items. It is quite difficult for user to identify which item is causing the issue.


SAP S/4HANA Cloud 2402

Reproducing the Issue

  1. Call V2 API API_SALES_ORDER_SRV to create a sales order with some items
  2. When some errors are retuned by the API, the errors are are not bound to specific items, so it is not clear which item has the issue.


Missing feature in V2 API API_SALES_ORDER_SRV.


As a workaround

The new version of the API (ODataV4 CE_SALESORDER_0001) has specific error handling and the specific error is bound to specific item. It is clearly visible, where the error comes from.


KBA , SD-SLS-API-2CL , API (Public Cloud) , Problem


SAP S/4HANA Cloud 2402