Skip to Content

Decimals Issue in FIORI List Report

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 21 at 04:23 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded