Symptom
Price condition showing "Error" status when simulate pricing in sales quote or ticket from external system.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Open sales quote or ticket;
- Click on Action, Simulate;
- Check returned value in price table;
- You see particular condition type with "Error" in status column.
Cause
This should due to for this condition type, InactivityReasonCode value sent as 1- error from external system.
You can verify this by payload trace during simulation, then check response payload, check following payload:
<OperationalPriceComponent>
<TypeCode>ZABC</TypeCode>
...
<InactivityReasonCode>1</InactivityReasonCode>.
ZABC represents the price condition type code with error status.
Resolution
1) Check why the price component is inactive in S4, component: SD-BF-PR, so that this can be checked by S4 SD pricing experts.
2) If it is a manual edit condition type, in S4, we are able to manually edit the inactive price components, but C4C does not allow it. This is a restriction in C4C which does not allow editing inactive price components, as an workaround, BADI COD_SLS_SE_ADJUST_DATA method ADJUST_EXPORT_DATA can be implemented.
See Also
Keywords
price condition type, error, inactivityReasonCode , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , Problem