While performing an activity in the UI, you receive the below error although you did not manually make changes to a quantity:
"Enter the unit of measure for the specified quantity."
- SAP Business ByDesign
- SAP Cloud for Customer
- SAP Cloud Application Studio
Reproducing the Issue
- You have created a Custom Business Object or Extension Business Object.
- You have implemented a custom script which modifies a Quantity attribute.
In the Cloud Application Studio, you have made changes to a Quantity field / extension field but while filling the attribute, you are filling only the content part and not the unit code part (Unit of Measure). This script then causes the extensibility layer to raise the error.
Please adjust the custom logic and include the Unit of Measure (UoM) value in the script also.
SDK, PDI, absl, UoM, unit of measure, script , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , How To