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

Urgent

Former Member
0 Likes
690

Hi All,

Cuuency exchange rates took form excel file into internal table

we are uploading Currency rates in EUR format 55.605,00000

I want cacliculation for Europen curreny format only

I there is any possibiliy for convert 55.605,00000 into Data type P

Data : v_rates(20) type c

v_n1(20) tye c.

v_rates = '55.605,00000'.

v_n1 = v_rates / 100.

write : / v_n1.

I look forward to your reply

anyone plz help on this its urgent

Award points for Helpful Answer

Thanks

SEK

Hi All,

Cuuency exchange rates took form excel file into internal table

we are uploading Currency rates in EUR format 55.605,00000

I want cacliculation for Europen curreny format only

I there is any possibiliy for convert 55.605,00000 into Data type P

Data : v_rates(20) type c

v_n1(20) tye c.

v_rates = '55.605,00000'.

v_n1 = v_rates / 100.

write : / v_n1.

I look forward to your reply

anyone plz help on this its urgent

Award points for Helpful Answer

Thanks

SEK

4 REPLIES 4
Read only

Former Member
0 Likes
667

HI

use the function mudule to do so.system will do it automatically.

Read only

Former Member
0 Likes
667

Try this FM <b>CONVERT_COUNTRY_CURRENCY </b>

Read only

Former Member
0 Likes
667

You Can use this FM Also <b>CONVERT_AMOUNT_TO_CURRENCY</b>

Read only

Former Member
0 Likes
667

useCONVERT_AMOUNT_TO_CURRENCY

e.g.

CALL FUNCTION 'CONVERT_AMOUNT_TO_CURRENCY'
     EXPORTING
          date             = sy-datum
          foreign_currency = 'USD'
          foreign_amount   = '2000.00'
          local_currency   = 'EUR'
     IMPORTING
          local_amount     = amount.

Regards,

Santosh