SAP Reports / Programs

RM07MB51S SAP ABAP Report - RM07MB51: Search for Incorrect MBEW Updates







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


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 RM07MB51S. "Basic submit
SUBMIT RM07MB51S AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MB51S 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: 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


INCLUDES used within this REPORT RM07MB51S

INCLUDE RM07APP1.
INCLUDE RM07REUSS.
INCLUDE MB_MRMIS.


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:

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.



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