SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

FM07MEC0 SAP ABAP INCLUDE - Include







FM07MEC0 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FM07MEC0 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT FM07MEC0. "Basic submit
SUBMIT FM07MEC0 AND RETURN. "Return to original report after report execution complete
SUBMIT FM07MEC0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include


INCLUDES used within this REPORT FM07MEC0

ENHANCEMENT-POINT FM07MEC0 SPOTS ES_FM07MEC0 STATIC INCLUDE BOUND.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING INPUT = MSEG-ERFMG KZMEINH = X MATNR = MSEG-MATNR MEINH = MSEG-ERFME MEINS = MSEG-MEINS CHARGE = MSEG-CHARG * CHARG_CUOBJ = mseg-cuobj WERKS = MSEG-WERKS IMPORTING OUTPUT = L_MENGE EXCEPTIONS OTHERS = 4.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING INPUT = L_MENGE KZMEINH = SPACE MATNR = MSEG-MATNR MEINH = MSEG-BPRME MEINS = MSEG-MEINS CHARGE = MSEG-CHARG * CHARG_CUOBJ = mseg-cuobj WERKS = MSEG-WERKS IMPORTING OUTPUT = L_BPMNG EXCEPTIONS OTHERS = 4.

CONVERT_TO_FRACT5 CALL FUNCTION 'CONVERT_TO_FRACT5' EXPORTING NOMIN = L_BSTMG_F DENOMIN = L_BPMNG_F IMPORTING NOMOUT = L_UMREn "134262 DENOMOUT = L_UMREz "134262 EXCEPTIONS CONVERSION_OVERFLOW = 1 OTHERS = 2.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MSFCV RETURN = LOC_MTCOR TABLES SEQMAT01 = TMP_DUMMY EXCEPTIONS BATCH_NOT_FOUND = 1 "Charge nicht gefunden MATERIAL_NOT_FOUND = 2 "Material nicht gefunden PLANT_NOT_FOUND = 3 "Werksdaten nicht da SALES_NOT_FOUND = 4 "Verkaufsdaten nicht da SLOC_NOT_FOUND = 5 "Lagerortdaten nicht da TEXT_NOT_FOUND = 6 "Kurztext nicht da UNIT_NOT_FOUND = 7 "Umrechfak zur Me nicht da OTHERS = 8.

VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING KZDCH = KZDCH.

ME_READ_SCHEDULES_HEADER CALL FUNCTION 'ME_READ_SCHEDULES_HEADER' EXPORTING i_ebeln = mseg-ebeln I_EBELP = mseg-ebelp tables t_eket = lt_eket EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FM07MEC0 or its description.