cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori elements app shows wrong decimal separators

karl_peham
Explorer
0 Kudos
791

Dear Crowd,

EDIT: Issue is identified. The issue is due to a bug in my SAPUI5 version 1.108.22, as described in note 3383359 - SAPUI5 Framework 1.108.22 wrong amount displayed

I have created a Fiori Elements List application which seems to work quite fine, including annotations, virtual elements etc.; all working more or less according to my expectations. But, I am fighting so much with the only quantity field; I am not able to display the field with correct decimal separators:

karl_peham_3-1710790195989.png

in the CDS View, I am selecting a type QUAN field

karl_peham_2-1710789972176.png

My user setting for number format is 12.345,000. Changing it to 12,345.00 results in a slightly better result:

karl_peham_1-1710789908391.png

The content of the ODATA request looks correct:
     "CargoWeight":"20183.000"

If I switch to "EDIT" mode, the unit of measure disappears, and the numbers are displayed correctly.

The SAP UI version is 1.108.22. Same behaviour in different browsers, also in the service preview started from Eclipse. I played around for hours already, I don't have any idea how to get rid of that. 

Is there anything I missed? I'm happy for any hint you can give.

regards, Karl

Accepted Solutions (1)

Accepted Solutions (1)

karl_peham
Explorer

Finally, I found out this is a simple BUG in the SAPUI5 version 1.108.22, according to Note 3383359 - SAPUI5 Framework 1.108.22 wrong amount displayed 

yubbieh
Explorer
0 Kudos
Thank you for your update, really helpfull.
TassiloEichler
Newcomer
0 Kudos
Thank you. But has there been a solution yet? I would like to show different decimal seperators for different countries, but do not see a straight forward way to do this. Any help is much appriciated.
karl_peham
Explorer
0 Kudos
Hi, I can only confirm with the newer SAPUI version (it was 1.108.28 if I'm not wrong), my problem described above is solved - the amounts are displayed correctly. I can change the decimal characters in my Fiori settings and it's displayed correctly in any case.

Answers (0)