Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

I WANT CHANGE AMOUNT TO CURRENCY FORMAT

i am getting konv-kwert value as 482055.38

but i need value as 482.055,38

1 REPLY 1

former_member184158
Active Contributor

Hi PARIMALAA SAMYAPPAN.

you can use this below code to convert the amount to currency or you can use also FM.

Code:

  DATA: lv_var1     TYPE bseg-dmbtr,
        lv_var2(20) TYPE c.
  lv_var1 = '482055.38'.
  WRITE lv_var1 TO lv_var2 CURRENCY 'USD'.

or just use FM: CURRENCY_AMOUNT_SAP_TO_DISPLAY

Best Regards

Ebrahim