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: 

format for currency

Former Member
0 Kudos

HI is there any functionality available in which we can get correct format for a particular currency

the requirement is such that if amount AMT is in dollars then the value should have commas etc as

1000,00 and so on as required in dollars and if the currency is INR then we should have the amount in

decimals like 1000.00

we need a FM which would take input as currency and amount and give output in the correct

format .

4 REPLIES 4

Former Member
0 Kudos

hi use no grouping

Former Member
0 Kudos

The decimal notation depends on the user setting for tha particular user, which you can see and change in SU01 default tab.

You can write some code to do the conversion using either REPLACE statement or the FM PP_CATT_CONVERT_DECIMAL_POINT

0 Kudos

Did you try:

write AMOUNT to AMT currency 'INR'.

Former Member
0 Kudos

Hi,

Please check table TCURX. Read the help about the table. I think this would definitly help

Thanks,

Kartavya Kaushik.