SAP Reports / Programs

RMCERBEX SAP ABAP Report - Generation of Shadow Entries







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


Text pool values


Generation of Shadow Table Entries
Selection Text: ENDDAT = Termination Date
Selection Text: ENDZEIT = Termination Time
Selection Text: LAUFNAME = Name of Run
Selection Text: SO_BELNR = Document Number
Selection Text: SO_BUKRS = Company Code
Selection Text: SO_GJAHR = Fiscal Year
Title: Generation of Shadow Entries
Text Symbol: 001 = Document Selection
Text Symbol: 003 = Control


INCLUDES used within this REPORT RMCERBEX

INCLUDE MRM_CONST_MRM.


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:

MRM_BW_BUILD_RBEX CALL FUNCTION 'MRM_BW_BUILD_RBEX' EXPORTING it_belnr = t_belnr it_bukrs = t_bukrs it_gjahr = t_gjahr i_laufname = laufname i_last_belnr = gv_last_belnr i_last_gjahr = gv_last_gjahr IMPORTING e_last_belnr = gv_last_belnr e_last_gjahr = gv_last_gjahr e_no_data_any_more = flg_curs_closed.

ENQUEUE_E_BWRUN CALL FUNCTION 'ENQUEUE_E_BWRUN' EXPORTING mode_mrmrbbw_run = 'E' mandt = sy-mandt laufname = laufname _wait = space EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_MESSLOG CALL FUNCTION 'DEQUEUE_E_MESSLOG' EXPORTING mandt = sy-mandt msgid = 'MRBW' msgty = 'I' msgno = '016' date_bw = s_record-msgv2 time_bw = s_record-msgv3.

DEQUEUE_E_BWRUN CALL FUNCTION 'DEQUEUE_E_BWRUN' EXPORTING mandt = sy-mandt laufname = laufname.

ENQUEUE_E_MESSLOG CALL FUNCTION 'ENQUEUE_E_MESSLOG' EXPORTING mode_mrmrbbw_err_extr = 'E' mandt = sy-mandt msgid = 'MRBW' msgty = 'I' msgno = s_record-msgno date_bw = s_record-msgv2 time_bw = s_record-msgv3 _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.



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