Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
I_BATCH | MCHA-CHARG | C | 10 | X | Batch number | |
I_CONVERSIONGROUP | OIB01-UMRSL | C | 4 | X | Oil conversion group | |
I_MATERIAL | MATNR | C | 18 | X | Material number | |
I_PARAMETERS | OIB_A04 | u | 592 | X | HPM Import/export for Quantity Conversion (OIB1, OIB_QCI) | |
I_PLANT | WERKS_D | C | 4 | X | Plant | |
I_QUANTITY | OIB_A05-ADQNT | F | 8 | Additional oil/gas quantity | ||
I_STANDARDCALC | OIB_STANDARD | C | 1 | X | Indicator for standard calculation | |
I_TARGETUOM | OIB_A05-MSEHI | C | 3 | Unit of measurement | ||
I_UOM | OIB_A05-MSEHI | C | 3 | Unit of measurement |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
E_QUANTITY | OIB_A05-ADQNT | F | 8 | Additional oil/gas quantity |
E_QUANTITY_PACKED | OIB_A05-ADQNTP | P | 7 | Additional oil quantity (packed format) |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
IT_PARAMETERS | OIB_READING_PAR | 96 | X | Structure for external applications (QCI_SIMPLE) |
T_RETURN | BAPIRET2 | 548 | X | Return parameter |
Exception | Text |
---|---|
CALCULATION_FAILURE | |
INCONSISTENT_CUSTOMIZING | |
INCONSISTENT_DATA | |
TRANS_UOM_NOT_FOUND |
Functionality
Either the conversion group OR material number for an HPM material(MARA-CMETH = '1'). You may then have to pass the parameter structureI_PARAMETERS( OIB_A04 ). Use function moduleOIB_QCI_READ_CONV_PARAMETERS "Read HPM conversion default parameters"to determine these or fill the parameters "by hand" from yourapplication. The parameters are required as soon as the logic decidesthat a call to the QCI has to be performed and the API c-codes arecalled. For a standard material (MARA-CMETH = ' ') or TDP (Excise duty relevantonly) material (MARA-CMETH = '2'), the conversion group is not requiredand will be ignored and the parameters are also not relevant. For thesematerials you have to pass the material number ( I_MATERIAL )as requiredinformation. If you pass the conversion group AND material number information, theconversion group data will be adjusted based on the material and plantdata before the conversion is performed. For HPM materials, the plantdata has to be passed then as well in order to check that the data isconsistent. Description Description Description Description Value range Description Description Description Description Description Description Description Description Description |