RM07MB51S is a standard Executable ABAP Report 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 RM07MB51S 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.
Selection Text: BUDAT = Posting Date
Selection Text: BWKEY = Valuation Area
Selection Text: BWTAR = Valuation Type
Selection Text: MATNR = Material
Selection Text: R_EBEW = Table EBEW
Selection Text: R_MBEW = Table MBEW
Selection Text: R_QBEW = Table QBEW
Title: RM07MB51: Search for Incorrect MBEW Updates
INCLUDE RM07APP1.
INCLUDE RM07REUSS.
INCLUDE MB_MRMIS.
No SAP DATABASE tables are accessed within this REPORT code!
FI_DOCUMENT_FIND_FOR_INTERFACE call function 'FI_DOCUMENT_FIND_FOR_INTERFACE' exporting i_awtyp = l_awtyp i_awref = xmseg-mblnr i_aworg = l_aworg tables e_accdn = lt_accdn exceptions no_doc_found = 1 others = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = gv_repid i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = lt_fieldcat it_events = gt_events i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo tables t_outtab_header = lt_header t_outtab_item = lt_displaytab exceptions program_error = 1.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = gv_repid i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = lt_fieldcat it_sort = gt_alvsort it_events = gt_events tables t_outtab = lt_displaytab exceptions program_error = 1.
REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = lt_events.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = gt_header_list.
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' "1810419 EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_no_auth_check = ' ' i_deadend = 'X' i_skip_first_screen = 'X' i_okcode = 'OK_GO' i_mblnr = ls_test-mblnr i_mjahr = ls_test-mjahr.
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' "1810419 EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_no_auth_check = ' ' i_deadend = 'X' i_skip_first_screen = 'X' i_okcode = 'OK_GO' i_mblnr = ls_test-mblnr i_mjahr = ls_test-mjahr i_zeile = ls_test-zeile.
REUSE_ALV_POPUP_TO_SELECT call function 'REUSE_ALV_POPUP_TO_SELECT' exporting i_title = 'Total differences found for Material' i_selection = '' i_zebra = 'X' i_screen_start_column = 10 i_screen_start_line = 10 i_screen_end_column = 50 i_screen_end_line = 15 i_tabname = lv_tabname it_fieldcat = lt_fieldcat_popup tables t_outtab = lt_detail exceptions program_error = 1.
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' "1810419 EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_no_auth_check = ' ' i_deadend = 'X' i_skip_first_screen = 'X' i_okcode = 'OK_GO' i_mblnr = ls_test-mblnr i_mjahr = ls_test-mjahr.
MIGO_DIALOG CALL FUNCTION 'MIGO_DIALOG' "1810419 EXPORTING i_action = 'A04' i_refdoc = 'R02' i_notree = 'X' i_no_auth_check = ' ' i_deadend = 'X' i_skip_first_screen = 'X' i_okcode = 'OK_GO' i_mblnr = ls_test-mblnr i_mjahr = ls_test-mjahr i_zeile = ls_test-zeile.
DDIF_NAMETAB_GET call function 'DDIF_NAMETAB_GET' exporting tabname = 'MSEG' tables x031l_tab = g_t_struct_mseg exceptions others = 1.
POPUP_TO_CONFIRM_WITH_MESSAGE call function 'POPUP_TO_CONFIRM_WITH_MESSAGE' exporting defaultoption = 'N' diagnosetext1 = text1 diagnosetext2 = text2 textline1 = text3 titel = text4 importing answer = confirm.
DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = 'MSEG' tables dd12v_tab = lt_dd12v exceptions illegal_input = 1 others = 2.
DDIF_INDX_GET call function 'DDIF_INDX_GET' exporting name = ls_dd12v-sqltab id = ls_dd12v-indexname tables dd17v_tab = lt_dd17v exceptions illegal_input = 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.
RM07MB51S - RM07MB51: Search for Incorrect MBEW Updates RM07MB51S - RM07MB51: Search for Incorrect MBEW Updates RM07MAUT - documentation and ABAP source code RM07MASE - Selection Criteria for Access to the Single Document RM07MASE - Selection Criteria for Access to the Single Document RM07MARI - Create Subsequent Mini Document for Material Documents