SAP Knowledge Base Article - Public

3411345 - Currency amount misaligned in smart table

Symptom

Currency amount misaligned in smart table. 

Here is an example:

10,000         VND
      14.04     SGD

Environment

SAPUI5

Reproducing the Issue

Display the data in the smart table

Cause

The behavior is intended. The currency values are to be aligned at the decimal point. The number of decimals per unit which are displayed are based on internationalization data and the unit and currency codelists from the backend system (if available). Most of the currencies have 2 decimals but there are also a few (like VND for Vietnam) without any decimals and others with 3 or more.

The space calculation for such a proper alignment is based on the metadata and currency codelists and not on the data itself.  

Resolution

The behavior is intended.

Keywords

decimal, space, table, smart table, space, UoM,alignment , KBA , CA-UI5-TBL , SAP UI5 table, smart table, list and tree controls , Problem

Product

SAP S/4HANA Cloud 2308