You replicate sales orders from your SAP ERP system to C4C (SAP Cloud for Customer) and you notice that some of the messages fail in C4C with the below error:
'Quantity unit code ABC must be equal to item quantity measure unit.' (where ABC represents the unitCode).
SAP Cloud for Customer
Reproducing the Issue
Prerequisites: you have a working integration scenario setup for sales order replication (interface: CustomerOrderReplicationIn).
Replicate sales orders from SAP ERP to C4C.
- Go to the Administrator work center in C4C.
- Navigate to General Settings > Web Service Message Monitoring.
- Observe the failed messages for interface CustomerOrderReplicationIn. Some of them fails with error: 'Quantity unit code ABC must be equal to item quantity measure unit.'
This error occurs when the Unit of Measure (which is maintained for a product in C4C) doesn't match with the Quantity unitCode sent in the payload for the same product.
Please, ensure that the product's Quantity unitCode sent from SAP ERP matches with the Unit of Measure maintained in C4C.
unitCode, unit of measure, quantity, schedule line, item quantity measure unit , KBA , unit of measure , quantity unitcode , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To