SAP Knowledge Base Article - Public

3782443 - Manage Stock APP shows unexpected decimals places instead of the configuration

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

  1. Go to IMG.
  2. Navigate to ABAP Platform -> General Setting -> Check Units of Measurement.
  3. Click Units of Measurement.
  4. Open the relevant UoM.
  5. The Decimal Places is set as 6.
  6. Go to Manage Stock.
  7. Input following information:
    1. Material.
    2. Plant.
    3. Storage Location.
  8. 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

Product

SAP S/4HANA Cloud Public Edition 2602