The function is used to convert an amount to other currency.
Function Module: CONVERT_AMOUNT_TO_CURRENCY
Sample:
CALL FUNCTION 'CONVERT_AMOUNT_TO_CURRENCY'
EXPORTING
DATE = posting_date
FOREIGN_CURRENCY = doc_curr
FOREIGN_AMOUNT = unitprice_lc2
LOCAL_CURRENCY = gv_lc2
IMPORTING
LOCAL_AMOUNT = unitprice_lc2.
Note: The exchange rates are maintained in T-code F-62.
No comments:
Post a Comment