The Function Module MENGE_UMRECHNEN (Quantity conversion, --> replaced by UNIT_CONVERSION) is a standard Function Module in SAP ERP and is part of the function group MGUM within the package MG.
Function Module | MENGE_UMRECHNEN |
Short Text | Quantity conversion, --> replaced by UNIT_CONVERSION |
Function Group | MGUM |
Package | MG |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ANDEC | LIKE | T006-EXPON | 99 | Number of decimal places for rounding |
IVAME | LIKE | T006-KZEX3 | SPACE | Flag: MGAME contains value |
IVLME | LIKE | T006-KZEX3 | SPACE | Flag: MGLME contains value |
KRUND | LIKE | T006-KZEX3 | SPACE | Flag: Perform rounding (-/X/+) |
MATNR | LIKE | MARA-MATNR | SPACE | Material number |
MEINH | LIKE | MARM-MEINH | SPACE | Alternative unit of measure |
MEINS | LIKE | MARA-MEINS | SPACE | Base unit of measure |
MGAME | LIKE | 0 | Quantity in alternative units of measure | |
MGLME | LIKE | 0 | Quantity in base unit of measure | |
UMREA | LIKE | 0 | Additive constant for conversion | |
UMREE | LIKE | 0 | Base 10 exponent of the conversion numerator | |
UMREN | LIKE | 1 | Conversion factor denominator | |
UMREZ | LIKE | 0 | Conversion factor numerator |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
O_IVAME | LIKE | T006-KZEX3 | Flag: O_MGAME contains value | |
O_IVLME | LIKE | T006-KZEX3 | Flag: O_MGLME contains value | |
O_MGAME | LIKE | Quantity in alternative unit of measure | ||
O_MGLME | LIKE | Quantity in base unit of measure | ||
O_UMREA | LIKE | Additive constant for conversion | ||
O_UMREN | LIKE | Conversion factor denominator | ||
O_UMREZ | LIKE | Conversion factor numerator |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
CONVERSION_NOT_FOUND | Conversion factors not found. |
DIFFERENT_DIMENSION | Units have different dimensions |
DIVISIONN_BY_ZERO | Division by zero trapped |
OVERFLOW | Overflow when filling a packed field |
T006D_ENTRY_MISSING | No entry in T006D (dimensions) |
T006_ENTRY_MISSING | No entry in T006 (units of measurement) |