SAP Reports / Programs

MM07MMOB SAP ABAP INCLUDE - Program for Object Category MKPF: Inventory Mgmt







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


Text pool values


Title: Program for Object Category MKPF: Inventory Mgmt


INCLUDES used within this REPORT MM07MMOB

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:

MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_no_auth_check = 'X' i_skip_first_screen = 'X' i_deadend = 'X' i_okcode = 'OK_GO' i_mblnr = object-key-materialdocument i_mjahr = object-key-matdocumentyear.

MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' EXPORTING i_action = 'A01' i_refdoc = 'R01' i_notree = ' ' i_skip_first_screen = ' ' i_new_rollarea = 'X' i_deadend = ' ' i_okcode = ' ' i_leave_after_post = 'X'.

CONFIRM_IM_DOCUMENT CALL FUNCTION 'CONFIRM_IM_DOCUMENT' EXPORTING m_mblnr = object-key-materialdocument m_mjahr = object-key-matdocumentyear EXCEPTIONS document_not_found = 1 reject_confirm = 2 OTHERS = 4.

BAPI_GOODSMVT_GETITEMS CALL FUNCTION 'BAPI_GOODSMVT_GETITEMS' TABLES pstng_date_ra = pstngdatera vendor_ra = vendorra username_ra = usernamera goodsmvt_header = goodsmvtheader goodsmvt_items = goodsmvtitems return = return tr_ev_type_ra = trevtypera material_ra = materialra plant_ra = plantra stge_loc_ra = stgelocra batch_ra = batchra move_type_ra = movetypera spec_stock_ra = specstockra EXCEPTIONS OTHERS = 01.

BAPI_GOODSMVT_GETDETAIL CALL FUNCTION 'BAPI_GOODSMVT_GETDETAIL' EXPORTING materialdocument = object-key-materialdocument matdocumentyear = object-key-matdocumentyear IMPORTING goodsmvt_header = goodsmvtheader TABLES goodsmvt_items = goodsmvtitems return = return EXCEPTIONS OTHERS = 01.

BAPI_GOODSMVT_CANCEL CALL FUNCTION 'BAPI_GOODSMVT_CANCEL' EXPORTING goodsmvt_pr_uname = goodsmvtpruname goodsmvt_pstng_date = goodsmvtpstngdate matdocumentyear = object-key-matdocumentyear materialdocument = object-key-materialdocument IMPORTING goodsmvt_headret = goodsmvtheadret TABLES return = return goodsmvt_matdocitem = goodsmvtmatdocitem EXCEPTIONS OTHERS = 01.

BAPI_GOODSMVT_SAPCREATE CALL FUNCTION 'BAPI_GOODSMVT_SAPCREATE' EXPORTING is_header = isheader IMPORTING materialdocument = object-key-materialdocument matdocumentyear = object-key-matdocumentyear TABLES it_imseg = itimseg it_item = ititem it_value = itvalue it_csl_token = itcsltoken it_datastore = itdatastore return = return it_xiforce = itxiforce EXCEPTIONS OTHERS = 01.

BAPI_GOODSMVT_CREATE CALL FUNCTION 'BAPI_GOODSMVT_CREATE' EXPORTING goodsmvt_header = goodsmvtheader goodsmvt_code = goodsmvtcode testrun = testrun goodsmvt_ref_ewm = goodsmvtrefewm IMPORTING goodsmvt_headret = goodsmvtheadret materialdocument = object-key-materialdocument matdocumentyear = object-key-matdocumentyear TABLES goodsmvt_item = goodsmvtitem goodsmvt_serialnumber = goodsmvtserialnumber return = return goodsmvt_serv_part_data = goodsmvtservpartdata EXCEPTIONS OTHERS = 01.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_loghandle i_amodal = 'X' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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