06-25-2008 1:44 PM
hello SAP Gurus,
can anybody tell me what is the function module to cinvert local currency into another currency?
and can u tell me the example how we can use this ?
Thank you very much.
Regards,
Vijaya.
06-25-2008 1:47 PM
hi,
CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
EXPORTING
date = sy-datum
foreign_currency = 'USD'
local_amount = 1000
local_currency = 'PHP
READ_TCURR = 'X'
IMPORTING
EXCHANGE_RATE = v_rate
FOREIGN_AMOUNT = v_amount
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5
OTHERS = 6.
regards,
Peter
Edited by: Peter Ruiz on Jun 25, 2008 8:48 PM
06-25-2008 1:47 PM
hi,
CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'
EXPORTING
date = sy-datum
foreign_currency = 'USD'
local_amount = 1000
local_currency = 'PHP
READ_TCURR = 'X'
IMPORTING
EXCHANGE_RATE = v_rate
FOREIGN_AMOUNT = v_amount
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5
OTHERS = 6.
regards,
Peter
Edited by: Peter Ruiz on Jun 25, 2008 8:48 PM
06-25-2008 1:54 PM
Hi,
Try this function module.
UNIT_CONVERSION_SIMPLE
SORRY IT IS FOR UNIT CONVERSION
Edited by: Ravi Kumar on Jun 25, 2008 2:55 PM
06-25-2008 2:05 PM
06-25-2008 2:20 PM
Hello,
Use the function module...
CONVERT_TO_FOREIGN_CURRENCY
You have a good documentation maintained for it..check in T-code se37.
Hope it is useful.
Regards,
Bhumika
06-25-2008 3:05 PM
06-25-2008 3:13 PM
hi
u can use any one of this
FM
HR_CONVERT_TO_LOCAL_CURRENCY
CONVERT_COUNTRY_CURRENCY
<REMOVED BY MODERATOR>
Cheers
Snehi
Edited by: Alvaro Tejada Galindo on Jun 25, 2008 4:35 PM
06-26-2008 2:19 AM
hi,
FM: CONVERT_TO_LOCAL_CURRENCY
Otherwise go to se37 and check ConvertCurrency and search others
do rewards