2007 Mar 23 7:25 AM
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
2007 Mar 23 7:48 AM
HI
use the function mudule to do so.system will do it automatically.
2007 Mar 23 7:54 AM
2007 Mar 23 7:56 AM
2007 Mar 23 8:02 AM
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