Symptom
Although the Unit of Measure (UoM) is configured with six decimal places in IMG, the Manage Stock APP displays only three decimal places.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to IMG.
- Navigate to ABAP Platform -> General Setting -> Check Units of Measurement.
- Click Units of Measurement.
- Open the relevant UoM.
- The Decimal Places is set as 6.
- Go to Manage Stock.
- Input following information:
- Material.
- Plant.
- Storage Location.
- The value is displayed with 3 decimal places.
Cause
The Manage Stock APP reads quantities from backend fields, for example LABST, via OData service MMIM_MATERIAL_DATA_SRV. The data type of these fields have a fixed precision of 3 decimal places, which limits the UI display regardless of the UoM decimal setting.
Resolution
The decimal place displayed in UI or report is not only based on the configuration but also based on the data fetched from backend. Changing UoM decimal places in IMG will not break the technical limitation in code level of the data type.
As a workaround, create and use a custom UoM. For example, as it is necessary to display six decimal places for UoM CA2, a new UoM mCA2 which means CA2/1000 can be created.
See Also
Keywords
UOM, Decimal Places, Manage Stock , KBA , MM-FIO-IM-SGM-2CL , Fiori UI for Stock and Goods Movements (Public Cloud) , Problem
SAP Knowledge Base Article - Public