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

MM07MFI0 SAP ABAP INCLUDE - documentation and ABAP source code







MM07MFI0 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 MM07MFI0 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 MM07MFI0. "Basic submit
SUBMIT MM07MFI0 AND RETURN. "Return to original report after report execution complete
SUBMIT MM07MFI0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MM07MFI0

No INCLUDES are used within this REPORT code!


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:

RH_FUNCTION_EXIST CALL FUNCTION 'RH_FUNCTION_EXIST' "DUV EXPORTING "DUV name = 'CKMLDUVMAT_CREATE_RAW_DOCUMENT' "DUV EXCEPTIONS "DUV FUNCTION_NOT_FOUND = 1 "DUV OTHERS = 2. "DUV

CKMLDUVMAT_CREATE_RAW_DOCUMENT CALL FUNCTION 'CKMLDUVMAT_CREATE_RAW_DOCUMENT' "DUV TABLES "DUV it_iseg = lt_xiseg "DUV EXCEPTIONS "DUV ERROR = 1 "DUV OTHERS = 2. "DUV

MB_UPDATE_INVENTORY_DOCUMENT_V CALL FUNCTION 'MB_UPDATE_INVENTORY_DOCUMENT_V' IN UPDATE TASK EXPORTING l_tm07i = tm07i TABLES xcm07i = xcm07i xikpf = xikpf xiseg = xiseg xvm07i = xvm07i zikpf = lt_zikpf ziseg = ziseg XMARV = XMARV EXCEPTIONS error_message = 4.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = yvm07i-numkr object = 'MATBELEG' toyear = yiseg-gjahr IMPORTING number = iblnr returncode = vw.

NUMBER_GET_INFO CALL FUNCTION 'NUMBER_GET_INFO' EXPORTING nr_range_nr = t003m-numkr object = 'MATBELEG' toyear = mkpf-mjahr EXCEPTIONS interval_not_found = 1.

RH_FUNCTION_EXIST CALL FUNCTION 'RH_FUNCTION_EXIST' "DUV EXPORTING "DUV name = 'CKMLDUVMAT_READ_CUSTOMIZING' "DUV EXCEPTIONS "DUV FUNCTION_NOT_FOUND = 1 "DUV OTHERS = 2. "DUV

CKMLDUVMAT_READ_CUSTOMIZING CALL FUNCTION 'CKMLDUVMAT_READ_CUSTOMIZING' "DUV EXPORTING "DUV i_werks = yiseg-werks "DUV i_lgort = yiseg-lgort "DUV i_sobkz = yiseg-sobkz "DUV IMPORTING "DUV e_acti = tm07i-duv_active "DUV e_defa = tm07i-duv_default "DUV e_verb = tm07i-duv_binding "DUV EXCEPTIONS "DUV NOT_CUSTOMIZED = 1 "DUV PLANT_INITIAL = 2 "DUV STORAGE_LOCATION_INITIAL = 3. "DUV

IMPORT_GOODS_RECEIPT_GENERAL CALL FUNCTION 'IMPORT_GOODS_RECEIPT_GENERAL' EXPORTING i_mode = t158-trtyp i_company_data = t001 i_plant_data = t001w i_no_process = xmbwl IMPORTING e_import_vendor = imp_lifnr e_purchase_order_header = ekko CHANGING goods_receipt_header = mkpf goods_receipt_line_item = omseg.

IMPORT_GOODS_RECEIPT_LINE_ITEM CALL FUNCTION 'IMPORT_GOODS_RECEIPT_LINE_ITEM' EXPORTING i_mode = t158-trtyp * i_company_code_data = t001 i_plant_data = t001w i_import_vendor = imp_lifnr i_purchase_order_header = ekko i_goods_receipt_header = mkpf i_goods_receipt_line_item = omseg i_no_process = xmbwl.

IMPORT_GOODS_RECEIPT_GENERAL CALL FUNCTION 'IMPORT_GOODS_RECEIPT_GENERAL' EXPORTING i_mode = t158-trtyp i_company_data = t001 i_plant_data = t001w i_no_process = xmbwl IMPORTING e_import_vendor = imp_lifnr e_purchase_order_header = ekko CHANGING goods_receipt_header = mkpf goods_receipt_line_item = mseg.

IMPORT_GOODS_RECEIPT_LINE_ITEM CALL FUNCTION 'IMPORT_GOODS_RECEIPT_LINE_ITEM' EXPORTING i_mode = t158-trtyp * i_company_code_data = t001 i_plant_data = t001w i_import_vendor = imp_lifnr i_purchase_order_header = ekko i_goods_receipt_header = mkpf i_goods_receipt_line_item = mseg i_no_process = xmbwl.



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 MM07MFI0 or its description.