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: 

display amount in 2 different currencies

Former Member
0 Kudos

hi

can anybody tell me how can we display an amount in 2 currencies

im basically retrieving data from knc1, but i have to display it in the customer's company currency and the currency in knc1

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Sia Anjali,

Just change the CURRENCY KEY while displaying CURRENCY value.

I tested as follows,


  DATA : V_WRBTR TYPE WRBTR.

  V_WRBTR  = '100'.

  WRITE : /10 V_WRBTR CURRENCY 'JPY',
          /10 V_WRBTR CURRENCY 'USD'.

and I got output as follows,


                  10,000
                  100.00

It is the matter of CURRENCY KEY.

Regards,

R.Nagarajan.

1 REPLY 1

Former Member
0 Kudos

Hi Sia Anjali,

Just change the CURRENCY KEY while displaying CURRENCY value.

I tested as follows,


  DATA : V_WRBTR TYPE WRBTR.

  V_WRBTR  = '100'.

  WRITE : /10 V_WRBTR CURRENCY 'JPY',
          /10 V_WRBTR CURRENCY 'USD'.

and I got output as follows,


                  10,000
                  100.00

It is the matter of CURRENCY KEY.

Regards,

R.Nagarajan.