Application Development and Automation 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: 
Read only

format for currency

Former Member
0 Likes
762

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 .

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
Read only

Former Member
0 Likes
728

hi use no grouping

Read only

Former Member
0 Likes
728

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

Read only

0 Likes
728

Did you try:

write AMOUNT to AMT currency 'INR'.

Read only

Former Member
0 Likes
728

Hi,

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

Thanks,

Kartavya Kaushik.