cancel
Showing results for 
Search instead for 
Did you mean: 

Decimals Issue in FIORI List Report

kawatra02
Explorer
0 Kudos
826

Hello,

I have created a FIORI list report using the ODATA service generated by ABAP CDS views.

I have created that list report using VS code.

The amount field displays three decimals though the back end field is packed(15,2).

The framework sets the amount field as Edm.Decimal with precision and scale(16,3). since this is SADL generated entity type, I cannot change the precision and scale.

Although I found the solution, I am not able to do the same.

Please advise how can I implement the below solution.

Solution:- By setting the property of the amount field in the MPC_EXT class DEFINE method using the set_precision method.

Thank You,

Himanshu Kawatra

ani_0101
Explorer
0 Kudos

Go to transaction /nsu01. Search your user and press on the change button. Once done go to Defaults. Under Defaults you will find an option called Decimal Notation. From drop down select on 2nd option. You will get the dot instead of comma.

kawatra02
Explorer
0 Kudos

Hi 1anirban

,The issue is with decimal places not decimal Notation.
priyankaa_007
Explorer
0 Kudos
Did you find a solution to it? I am looking for the same.

Accepted Solutions (0)

Answers (0)