Symptom
When using the API API_SALES_ORDER_SRV for order type CBFD, it is failing with an error message "Document category I is not supported for this business object".
Environment
- Sales and Distribution (SD)
- SAP S/4HANA CLOUD
Reproducing the Issue
- Run the sales order API API_SALES_ORDER_SRV for order type CBFD.
- An error message "Document category I is not supported for this business object" is returned.
Cause
The sales order API API_SALES_ORDER_SRV doesn't support order type CBFD.
Resolution
For OrderType CBFD the OData API Srevice API_SALES_ORDER_WITHOUT_CHARGE should be used instead:
https://api.sap.com/api/API_SALES_ORDER_WITHOUT_CHARGE_SRV/resource
Keywords
API_SALES_ORDER_WITHOUT_CHARGE, API_SALES_ORDER_SRV, order type, CBFD, document category I , KBA , SD-SLS-API , API , Problem
Product
SAP S/4HANA Cloud all versions