SAP Function /SAPHT/DRM_CONV_CURRENCY - Currency Conversion for DRM processes

Parameter Reference Type Length Default Optional Text
I_AMOUNT 0 Net value of the order item in document currency
I_COCODE T001-BUKRS C 4 X Company Code
I_CUSTOMER_NO KNA1-KUNNR C 10 X Customer number
I_DATE SYST-DATUM D 8 Date and time, current (application server) date
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 Indicates manufacturer/supplier or distributor/reseller lot
I_PLANT /SAPHT/DRMHEAD-PLANT C 4 X Plant
I_PURCH_ORG /SAPHT/DRMHEAD-PURCH_ORG C 4 X Purchasing organization
I_SALES_ORG /SAPHT/DRMHEAD-SALES_ORG C 4 X Sales organization
I_TOCURR 0 Currency key
I_VENDOR LFA1-LIFNR C 10 X Account number of vendor or creditor

Parameter Reference Type Length Text
E_AMOUNT 0 Net value of the order item in document currency
E_TO_CURR 0 Currency key

Parameter Reference Length Optional Text
T_ERRORS /SAPHT/DRMSERR2 224 X Structure containing basic error related fields

Exception Text
CONVERSION_FAILED
RATE_NOT_FOUND
RATE_TYPE_NOT_FOUND