11-20-2008 8:17 PM
Hi All,
I have currency conversion problem. COuld you please suggest me the best way to do it.
From Currency: KRW
From Factor: 100
To currency: USD
To Factor: 1
Exchange Rate: 0.15555
There are table TCURR and TCURX. How to use these.
I tried using all the converion function modules, but failed. Could you please suggest me the code if any. or FMs how to use with example code Please
11-20-2008 8:24 PM
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=functionmoduleforCurrencyConversion+++&adv=false&sortby=cm_rnd_rankvalue
11-20-2008 10:32 PM
Hi I wrote this : and it returns some thing
REPORT zj_test LINE-SIZE 162.
DATA: lv_amount TYPE p DECIMALS 3.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
client = sy-mandt
date = sy-datum
foreign_amount = '50000'
foreign_currency = 'KRW'
local_currency = 'USD'
* RATE = 0
* TYPE_OF_RATE = 'M'
* READ_TCURR = 'X'
IMPORTING
* EXCHANGE_RATE =
* FOREIGN_FACTOR =
local_amount = lv_amount
* LOCAL_FACTOR =
* EXCHANGE_RATEX =
* FIXED_RATE =
* DERIVED_RATE_TYPE =
EXCEPTIONS
no_rate_found = 1
overflow = 2
no_factors_found = 3
no_spread_found = 4
derived_2_times = 5
OTHERS = 6
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE: lv_amount.
11-20-2008 10:47 PM
I've one CO module report in my hands,Can you please help to write this quickly,as i've bunch of work besides me