Symptom
Quantity unit code XYZ must be equal to item quantity measure unit .
XYZ represents an example Unit Code.
Environment
SAP Hybris Cloud For Customer
SAP Hybris Cloud For Customer Integration with SAP ERP
SAP Hybris Cloud For Customer Integration with SAP S4H
Reproducing the Issue
-
Login to Cloud for Customer.
- Go to Administrator workcenter.
- Open General Settings view.
- Click on Webservice Message Monitoring view.
- Find and select relevant failed inbound CustomerOrderReplicationIn message.
- See the error log.
Cause
In the current inbound sales order payload, the schedule line typecode is set as 2 instead of 1.
Check each <Item> in the inbound payload and verify that it contains a valid <ScheduleLine> with <TypeCode>1</TypeCode>
Resolution
Resolution 1:
Please update your middleware (CPI/PI) mapping to the latest standard version.
Resolution 2:
Check the iDoc sent from the on premise system and verify that it has a Corr_Quantity greater than 0
Keywords
Quantity unit code error, ScheduleLine, CustomerOrderReplicationIn , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , LOD-CRM-INT-CRM , Integration of C4C with CRM , Problem