SAP Function /SAPHT/DRM_CONVERT_CURRENCY - Convert amount from one currency to another

Parameter Reference Type Length Default Optional Text
I_AMOUNT 0
I_CUSTOMER_NO KNA1-KUNNR C 10 X Customer number
I_DATE SYST-DATUM D 8
I_DIST_CHNL /SAPHT/DRMHEAD-DIST_CHNL C 2 X Distribution channel
I_DIVISION /SAPHT/DRMHEAD-DIVISION C 2 X Division
I_FROMCURR 0 Currency key
I_MS_DR_IND /SAPHT/DRMHEAD-MS_DR_IND C 1
I_PLANT /SAPHT/DRMHEAD-PLANT C 4 X
I_PURCH_ORG /SAPHT/DRMHEAD-PURCH_ORG C 4 X
I_SALES_ORG /SAPHT/DRMHEAD-SALES_ORG C 4 X
I_TOCURR 0 Currency key

Parameter Reference Type Length Text
E_AMOUNT 0
E_TO_CURR 0

Parameter Reference Type Length Default Optional Text
CH_RC I I 4

Exception Text
CONVERSION_FAILED
RATE_NOT_FOUND
RATE_TYPE_NOT_FOUND