Menu

SAP Function Module UNIT_CONVERSION

Bitte nicht mehr verwenden: stattdessen Bausteine aus SCV0, MAME

The Function Module UNIT_CONVERSION (Bitte nicht mehr verwenden: stattdessen Bausteine aus SCV0, MAME) is a standard Function Module in SAP ERP and is part of the function group MUMR within the package MG.

Technical Information

Function Module UNIT_CONVERSION
Short Text Bitte nicht mehr verwenden: stattdessen Bausteine aus SCV0, MAME
Function Group MUMR
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

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
DIVISION_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)