SAP Knowledge Base Article - Public

2497803 - Error Message 'Quantity type is missing' While Replication of Materials

Symptom

You are receiving the error message 'Quantity type is missing' while replicating Materials from SAP ERP/CRM/S4H to C4C.

Environment

SAP Cloud For Customer

Reproducing the Issue

  1. Go to Administrator
  2. Select the erroneous Message ID, navigate to Error log
  3. You see the error 'Quantity type is missing'

Cause

Cause 1 :
The error 'Quantity type is missing' is happening because you are sending the field <SalesMeasureUnitCode> empty in your payload, but you have specified a <MinimumOrderQuantity>.
As you are sending a minimum order quantity e.g. <MinimumOrderQuantity>1</MinimumOrderQuantity>, you also must specify the measure unit.

Cause 2 :  
If MinimumOrderQuantity is 0 but still you are getting this error - then the issue could be in code list mapping of either quantities/measureunitcodes available in the payload.

Resolution

Solution for Cause 1 :  Send the field Sales Measure Unit Code in your payload e.g. <SalesMeasureUnitCode>EA</SalesMeasureUnitCode>.

Solution for Cause 2 : Verify the code list mapping, resolve the issues and restart the failed message

Keywords

"Quantity type is missing" "MaterialReplicationInitiatedByExternalIn" , KBA , AP-RC-BCT , Business Config. Tools (SAP Business ByDesign , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-CRM , Integration of C4C with CRM , How To

Product

SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1711 ; SAP Hybris Cloud for Customer add-ins 1705