SAP Reports / Programs

RM07MGRU SAP ABAP Report - Material Docmts with Reason f. Mvt







RM07MGRU is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Material documents with reason for movement This report displays a list of all goods movements for which at least one reason for movement has been specified...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MBGR - Displ. Material Docs. by Mvt. Reason


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


Text pool values


Selection Text: GRUND = D Reason for movement
Selection Text: EBELP = D Item
Selection Text: EBELN = D Purchasing document
Selection Text: BUDAT = D Posting date
Selection Text: ALV_DEF = D Layout
Selection Text: WERKS = D Plant
Selection Text: VGART = D Transaction/event type
Selection Text: NOLIEF = No vendor
Selection Text: MATNR = D Material
Selection Text: LIFNR = D Vendor
Title: Material Docmts with Reason f. Mvt
Text Symbol: 102 = Reading material docmts
Text Symbol: 101 = Reading purchase order history
Text Symbol: 100 = Reading purchasing docmts for vendor
Text Symbol: 002 = Search via purch. docmt
Text Symbol: 001 = Search via material docmt
Text Symbol: 109 = Display options
Text Symbol: 106 = Format data
Text Symbol: 105 = Reading additional matl docmts
Text Symbol: 104 = Reading material short texts
Text Symbol: 103 = Reading PO items


INCLUDES used within this REPORT RM07MGRU

INCLUDE RM07ALVI.


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:

MMIM_ENTRYCHECK_MAIN CALL FUNCTION 'MMIM_ENTRYCHECK_MAIN' TABLES it_matnr = matnr it_werks = werks it_lifnr = lifnr it_grund = grund it_vgart = vgart.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_interface_check = ' ' i_callback_program = alv_repid i_callback_pf_status_set = 'STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = fc_mat i_default = 'X' i_save = 'A' is_variant = alv_variant i_tabname_header = 'HEADER' i_tabname_item = 'SUM' is_keyinfo = alv_keyinfo is_print = alv_print TABLES t_outtab_header = header t_outtab_item = sum EXCEPTIONS program_error = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text.

MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' "n575127 EXPORTING "n575127 i_action = 'A04' "n575127 i_refdoc = 'R02' "n575127 i_notree = 'X' "n575127 i_no_auth_check = ' ' "n575127 i_deadend = 'X' "n575127 i_skip_first_screen = 'X' "n575127 i_okcode = 'OK_GO' "n575127 i_mblnr = imsegg-mblnr "n575127 i_mjahr = imsegg-mjahr "n575127 i_zeile = imsegg-zeile "n575127 EXCEPTIONS "n575127 ILLEGAL_COMBINATION = 1 "n575127 others = 2. "n575127

MB_CHECK_MSEG_CONVERSION_DONE CALL FUNCTION 'MB_CHECK_MSEG_CONVERSION_DONE' "n1756236 IMPORTING "n1756236 E_CONVERSION_DONE = g_f_msegex_act. "n1756236



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