Skip to Content
0
Former Member
Jul 30, 2013 at 10:27 AM

Exchange rate in FM CONVERT_TO_LOCAL_CURRENCY

967 Views

Hello Expert,

I am facing an issue with the FM CONVERT_TO_LOCAL_CURRENCY.

It is not returning correct exchange rate, however it is converting the amount fine.

The exchange rate returned is in multiples of '1000' of what is used for the conversion.

I am exporting the following values to the FM from my report.

EXPORTING

CLIENT = SY-MANDT

DATE = SY-DATUM

FOREIGN_AMOUNT = '43.16'

FOREIGN_CURRENCY = 'USD'

LOCAL_CURRENCY = 'INR'

* RATE = 0

TYPE_OF_RATE = 'EXGI'

READ_TCURR = 'X'

IMPORTING

LOCAL_AMOUNT = IT_OUTPUT-LOCAMT

EXCHANGE_RATE = IT_OUTPUT-EXR

The values returned by the FM are

IT_OUTPUT-LOCAMT = 2211.95

IT_OUTPUT-EXR = 51250.00

I checked the table TCURR and the rate maintained is '51.250'. The conversion is correct but the exchange is incorrect.

Kindly help.