SAP ABAP Function Module MATERIAL_UNIT_CONVERSION (Materialspezifische Umrechnung von Maßeinheiten)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MG (Package) Application development R/3 material master prior to 3.0
Basic Data
Function Module MATERIAL_UNIT_CONVERSION Materialspezifische Umrechnung von Maßeinheiten  
Function Group MAME   Mat. Master: Determine Units of Measure  
Program Name SAPLMAME    
INCLUDE Name LMAMEU03    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting ADDKO TYPE T006-ADDKO Additive constant (for sake of completeness)
Exporting MEINS TYPE MARA-MEINS Base Unit of Measure for the Material
Exporting OUTPUT TYPE Output value
Exporting UMREN TYPE Conversion factor denominator
Exporting UMREZ TYPE Conversion factor numerator
Exporting BATCH_CONVERSION_ERROR TYPE C Fehlerflag bei Umrechnung mit Charge
Exporting KZWSO TYPE MARM-KZWSO Anteils-/variable ME ist aktiv
Importing INPUT TYPE 0 Quantity to be converted
Importing KZMEINH TYPE SYST-MARKY SPACE Indicator: INPUT refers to MEINH (-> F2)
Importing MATNR TYPE MARA-MATNR Material
Importing MEINH TYPE MARA-MEINS Alternative Unit of Measure for Material
Importing MEINS TYPE MARA-MEINS SPACE Base Unit of Measure for the Material
Importing EXTENDED_CONV TYPE SYST-MARKY SPACE Also consider volume/weight unit (-> F2)
Importing TYPE_UMR TYPE SYST-MARKY SPACE Type of conversion factors (->F2)
Importing NO_OUTPUT TYPE SYST-MARKY SPACE Indicator: No OUTPUT is to be calculated
Importing CHARGE TYPE MCHA-CHARG Batch
Importing CHARG_CUOBJ TYPE INOB-CUOBJ Interne Objektnr. aus Klassifikation der Charge
Importing WERKS TYPE MARC-WERKS Plant
Exception CONVERSION_NOT_FOUND TYPE Conversion factor could not be determined
Exception INPUT_INVALID TYPE The quantity to be converted is not a number
Exception MATERIAL_NOT_FOUND TYPE Material does not exist
Exception MEINH_NOT_FOUND TYPE Alternative unit of measure not allowed
Exception MEINS_MISSING TYPE No base unit of measure exists for the material
Exception NO_MEINH TYPE No alternative unit of measure specified
Exception OUTPUT_INVALID TYPE Quantity to be calculated is not a number (-> F2)
Exception OVERFLOW TYPE Field overflow
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19940828 
SAP Release Created in