Skip to Content
0
Jun 03, 2020 at 05:00 PM

CDS Views: Managing DECIMALS

144 Views

Hi all,

I need to manage output decimals based on the currency code (TCURX table). I have the below line:

case when tcurx.currdec = 0 then output_amount * 100

else output_amount

end

The problem is that I need to output 3 decimals, for example 100,120 but the layout is only with 2 (100,12).

Are any sentence for managing output decimals? I tried with abap.fltp and abap.curr but it didn't work.

Thanks in advance for your help and best regards.