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

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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

Paramètre Reférence Type Long. Description
E_AMOUNT 0 Net value of the order item in document currency
E_TO_CURR 0 Currency key

Paramètre Reférence Long. Facultatif Description
T_ERRORS /SAPHT/DRMSERR2 224 X Structure containing basic error related fields

Exception Description
CONVERSION_FAILED
RATE_NOT_FOUND
RATE_TYPE_NOT_FOUND