Symptom
You are previewing a document PDF, however you notice that the Unit of Measure is incorrectly displayed. For example, instead of displaying the unit as "KG/Kilogram", the form shows "Mass/Weight"
Environment
SAP Business ByDesign
Reproducing the Issue
For this document, we will use a Goods and Activity Confirmations as an example:
- Go to Internal Logistics Work Center.
- Go to Goods and Activity Confirmations View.
- Search for required document.
- Click on the Edit button.
- Check the Actual Quantity of the Line Items.
- They are maintained as KG.
- Click Preview button > Preview.
- Quantity is shown as Mass/Weight.
Cause
One of possible cause for this issue is that incorrect mapping of "QuantityTypeCodeName" for the Unit of Measure. The correct tagging should be the "QuantityMeasureUnitCodeName". If you check in the XML file, the QuantityMeasureUnitCodeName tag presents the abbreviations (kg), as expected.
Resolution
Ensure correct mapping by using this binding in Adobe LiveCycle Designer. If the field involves custom scripts, we recommend contacting your SAP Implementation Partner for guidance on rectifying any issues with your custom form, if necessary.
Keywords
Measure, Unit, Quantity, Wrong, Template , KBA , AP-RC-OUT , Output Management , How To