‎2008 Dec 01 2:59 PM
Hi,
I am facing an issue while using the function module CONVERT_TO_FOREIGN_CURRENCY.
I am converting a value from EUR to USD. The type of rate that is passed to the FM is 'M'. However the functional module picks the exchange rate of rate type 'EURX' and performs the conversion.
I also tried with FM CONVERT_TO_LOCAL_CURRENCY but still the results are consistent.
Can anyone help me sort out what the issue is and how to resolve the same.
Thanks.
Regards,
Senthil G.
‎2008 Dec 01 3:07 PM
If the following FMs
FWOS_CURRENCY_DECIMALS_READ
CONVERT_TO_LOCAL_CURRENCY
are not working then
These FMs will help you ge exchange rate
BAPI_EXCHANGERATE_GETDETAIL
READ_EXCHANGE_RATE
Once you get the exchange rate, multiply the source currency with it and get the target currency.
Regards,
Prashant
‎2008 Dec 01 3:23 PM
Thanks Prahant.
The BAPI that you gave me returns the exchange rate for M. But why is that the other function modules doesnot return the same value?
Is there any config that has to be done for this.
Regards,
Senthil G.
‎2008 Dec 01 3:27 PM
Hi there....these Fm s picks the values from TCURR and TCURX table.. so I would suggest to hit the tables and get the values out..