on 03-13-2007 4:57 AM
hi friends,
i need function module for converting amount from
Foreign currency to Indian currency
thanks
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
DATE = SYST-DATUM
FOREIGN_AMOUNT = for_amount
FOREIGN_CURRENCY = 'USD'
LOCAL_CURRENCY = 'INR'
* TYPE_OF_RATE = 'M'
IMPORTING
LOCAL_AMOUNT = loc_ammount
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Venkat,
Please use the function module CONVERT_TO_LOCAL_CURRENCY
<b><u>Sample code:</u></b>
call function 'CONVERT_TO_LOCAL_CURRENCY'
exporting
date = p_alv_tab-begda
foreign_amount = p_alv_tab-kkost_p_person
foreign_currency = p_alv_tab-kwaer " foreign currency
local_currency = l_ev_waer " Indian currency
importing
local_amount = p_alv_tab-kkost_p_person
exceptions
no_rate_found = 1
overflow = 2
no_factors_found = 3
no_spread_found = 4
others = 5.
Hope this helps,
Sajan Joseph.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.