Symptom
When attempting to create a sales order with an external number via the API Sales Order (A2X, OData V4), the error following error occurs:
- "External numbering is not supported through this channel" (RAP_SD_SLS_COMMON/034)
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Use the Sales Order (A2X, OData V4) API to POST a new Sales Order.
- Populate the SalesOrder field with a preassigned external number and use a sales order type that allows external numbering in transactional apps.
- Execute the POST request.
- Observe that the API responds with error: "External numbering is not supported through this channel" (RAP_SD_SLS_COMMON/034)
Cause
External numbering is not supported in API Sales Order (A2X, OData V4).
In the official documentation, the fields 'SalesOrder' and 'SalesOrderItem' are marked as Read-only.
Resolution
As a workaround, the API Sales Order (A2X, OData V2) can be used for creating sales orders with external numbering.
It's comprehensible how the possibility of using external numbering in the Sales Order (A2X, OData V4) would be of great use for business. Currently, in Customer Influence Portal, there's a feature request already raised for this matter: Request 341722 - Sales Order OData v4: Enable external numbering for sales order items. Consider voting for this request to show support on the idea and follow it to receive updates by the product management team.
See Also
KBA 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Product
Sales Order (A2X, OData V4) | SAP Help Portal
Sales Order (A2X, OData V2) | SAP Help Portal
Create Sales Order - Sales Orders with External Numbers | SAP Help Portal
Keywords
RAP_SD_SLS_COMMON/034, external numbering, sales order API, OData V4, A2X, API_SALESORDER, create sales order, RAP_SD_SLS_COMMON/008, RAP_SD_SLS_COMMON/014 , KBA , SD-SLS-API-2CL , API (Public Cloud) , Problem
SAP Knowledge Base Article - Public