SAP Knowledge Base Article - Public

2684020 - Error 'Quantity unit code ABC must be equal to item quantity measure unit' Occurs When Replicating Sales Orders

Symptom

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).

Environment

SAP Cloud for Customer

Reproducing the Issue

Prerequisites: you have a working integration scenario setup for sales order replication (interface: CustomerOrderReplicationIn).

  1. Replicate sales orders from SAP ERP to C4C.
  2. Go to the Administrator work center in C4C.
  3. Navigate to General Settings > Web Service Message Monitoring.
  4. 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.'

Cause

This error occurs when the Unit of Measure (which is maintained for a product in C4C) doesn't match with the Quantity unitCode sent it the payload for the same product.

Resolution

Please, ensure that the product's Quantity unitCode sent from SAP ERP matches with the Unit of Measure maintained in C4C.

Keywords

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

Product

SAP Cloud for Customer add-ins all versions