Symptom
During the creation of Production Proposals with product unit as KGM(Kilogram) or GRM(Gram) below error is encountered
Conversion of UoM '' to planning UoM '' not possible for product
Environment
SAP Business ByDesign
Reproducing the Issue
Execute the Request XML using Webservice
Below is the Sample Request
<n0:CreateProductionProposal xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<CreateProductionPlanningOrder>
<SequenceNumber>1</SequenceNumber>
<SupplyPlanningAreaID>P1</SupplyPlanningAreaID>
<MaterialID>MAT</MaterialID>
<MaterialAvailabilityDateTime timeZoneCode="UTC">2025-03-28T12:00:00.1234567Z</MaterialAvailabilityDateTime>
<Quantity unitCode="KGM">100</Quantity>
<QuantityTypeCode>KGM</QuantityTypeCode>
</CreateProductionPlanningOrder>
</n0:CreateProductionProposal>
Cause
The incorrect Quantity Type Code KGM is used hence the error.
Resolution
Replace the incorrect Quantity Type Code "KGM" with the correct code "MASS" as below
<Quantity unitCode="KGM">100</Quantity>
<QuantityTypeCode>MASS</QuantityTypeCode>
Keywords
Webservice, error, product unit, KGM, GRM, unit code, Quantity Type Code, MASS, Request XML, conversion, planning, UOM , KBA , AP-PE-REQ , Production Request , Problem
SAP Knowledge Base Article - Public