Menu

SAP Function Module MATERIAL_UNIT_CONVERSION

Materialspezifische Umrechnung von Maßeinheiten

The Function Module MATERIAL_UNIT_CONVERSION (Materialspezifische Umrechnung von Maßeinheiten) is a standard Function Module in SAP ERP and is part of the function group MAME within the package MG.

Technical Information

Function Module MATERIAL_UNIT_CONVERSION
Short Text Materialspezifische Umrechnung von Maßeinheiten
Function Group MAME
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
CHARGE LIKE MCHA-CHARG Charge
CHARG_CUOBJ LIKE INOB-CUOBJ Interne Objektnr. aus Klassifikation der Charge
EXTENDED_CONV LIKE SY-MARKY SPACE Also consider volume/weight unit (-> F2)
INPUT LIKE 0 Quantity to be converted
KZMEINH LIKE SY-MARKY SPACE Indicator: INPUT refers to MEINH (-> F2)
MATNR LIKE MARA-MATNR Material
MEINH LIKE MARA-MEINS Alternative unit of measure for the material
MEINS LIKE MARA-MEINS SPACE Base unit of measure of the material
NO_OUTPUT LIKE SY-MARKY SPACE Indicator: No OUTPUT is to be calculated
TYPE_UMR LIKE SY-MARKY SPACE Type of conversion factors (->F2)
WERKS LIKE MARC-WERKS Werk

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ADDKO LIKE T006-ADDKO Additive constant (for sake of completeness)
BATCH_CONVERSION_ERROR TYPE C Fehlerflag bei Umrechnung mit Charge
KZWSO LIKE MARM-KZWSO Anteils-/variable ME ist aktiv
MEINS LIKE MARA-MEINS Base unit of measure of the material
OUTPUT LIKE Output value
UMREN LIKE Conversion factor denominator
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 factor could not be determined
INPUT_INVALID The quantity to be converted is not a number
MATERIAL_NOT_FOUND Material does not exist
MEINH_NOT_FOUND Alternative unit of measure not allowed
MEINS_MISSING No base unit of measure exists for the material
NO_MEINH No alternative unit of measure specified
OUTPUT_INVALID Quantity to be calculated is not a number (-> F2)
OVERFLOW Field overflow