Menu

SAP Function Module MENGE_UMRECHNEN

Quantity conversion, --> replaced by UNIT_CONVERSION

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

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.

Technical Information

Function Module MENGE_UMRECHNEN
Short Text Quantity conversion, --> replaced by UNIT_CONVERSION
Function Group MGUM
Package MG
Module Type Normal Module

Importing Parameters

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

Exporting Parameters

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

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

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)