You are receiving the error message 'Quantity type is missing' while replicating Materials from SAP ERP/CRM/S4H to C4C.
SAP Cloud For Customer
Reproducing the Issue
- Go to Administrator
- Select the erroneous Message ID, navigate to Error log
- You see the error 'Quantity type is missing'
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.
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
"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-CRM , Integration of C4C with CRM , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To