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
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.
Title: Include
ENHANCEMENT-POINT FM07MEC0 SPOTS ES_FM07MEC0 STATIC INCLUDE BOUND.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.