Symptom
When calling the API API_SALES_ORDER_SRV, the following error is thrown:
- "Instance with handle & of entity ITEM_COND was not created." (GOAL/032)
Environment
SAP S/4HANA Cloud Public Edition
Cause
This error means that, during the sales order creation, the sub-entity of item pricing condition was not created properly. In the payload, the field ConditionRateValue was passed as 0.
The API API_SALES_ORDER_SRV does not support the field ConditionRateValue with the value of zero during creation.
Resolution
Adjust the payload to ensure that the field ConditionRateValue is different than 0 during the creation of the sales order.
If it is necessary to have the ConditionRateValue set to zero, use the PATCH operation to update the pricing condition after the sales order creation.
Keywords
API_SALES_ORDER_SRV, instance not created, item_cond error, conditionratevalue zero, sales order creation failure, goal/032 error, pricing condition, patch operation, 2508.3, payload adjustment, sales order API error , KBA , SD-SLS-API-2CL , API (Public Cloud) , Problem
SAP Knowledge Base Article - Public