3 weeks ago
Hi all,
I am using FM CONVERT_TO_LOCAL_CURRENCY to convert currency from EUR to GBP.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
client = sy-mandt
date = sy-datum
foreign_amount = lv_f_amount
foreign_currency = lv_fcurr
local_currency = iv_waers
rate = 0
type_of_rate = 'P'
read_tcurr = 'X'
IMPORTING
local_amount = lv_locamt
exchange_rate = lv_exchange_rate
EXCEPTIONS
no_rate_found = 1
overflow = 2
OTHERS = 3.
It is converting value but the exchange rate it takes is wrong. In table tcurr we have maintained this rate
but the rate it is taking is the one highlighed
this is the data I am giving directly into the fm
293725.89
The result of fm and my code is same. There is no alternative currency maintained in tcurf.
Please suggest what I should do.
Hi, I am posting the solution incase anyone facing same issue.
So .877 is a indirect exchange rate. Go to se16n and check data, you will see '/ ' before indirect exchange rate value.
Incase of indirect exchange rate you read it from right to left. So 1EUR = 0.877GBP. In se11 contents this is not clear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.