cancel
Showing results for 
Search instead for 
Did you mean: 

Decimals Issue in FIORI List Report

developerone
Contributor
0 Kudos

Hello,

I have created a FIORI list report using the ODATA service generated by HANA CDS views. The amount field displays three decimals though the back end field is packed(15,2). I believe this has to do with the way CDS Entity exposures are created via SADL framework.

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

Please advise on how we can display amount field in the same format as in backend.

Thank You,

Kabir

Accepted Solutions (1)

Accepted Solutions (1)

developerone
Contributor
0 Kudos

I was able to fix this problem by setting the property of the amount field in the MPC_EXT class DEFINE method using the set_precision method.

Answers (0)