SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Information System(FI-SL-IS) SAP FI

MGRWDI40 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MGRWDI40

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:

G_REPORT_ENQUEUE CALL FUNCTION 'G_REPORT_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode library = rgrwd-lib report = rgrwd-rname.

G_REPORT_ENQUEUE CALL FUNCTION 'G_REPORT_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode library = rgrwd-lib report = rgrwd-rname.

G_REPORT_ENQUEUE CALL FUNCTION 'G_REPORT_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode library = rgrwd-lib report = rgrwd-rname.

G_RW_REPORT_USAGE CALL FUNCTION 'G_RW_REPORT_USAGE' EXPORTING lib = rgrwd-lib rname = rgrwd-rname IMPORTING ex_jobs = lt_joblist.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-016 textline1 = text-017 textline2 = text-018 defaultoption = 'N' IMPORTING answer = answer.

G_REPORT_ENQUEUE CALL FUNCTION 'G_REPORT_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode library = rgrwd-lib report = rgrwd-rname.

G_RP_DELETE_REPORT CALL FUNCTION 'G_RP_DELETE_REPORT' EXPORTING lib = rgrwd-lib rname = rgrwd-rname EXCEPTIONS report_not_found = 01.

G_REPORT_DEQUEUE CALL FUNCTION 'G_REPORT_DEQUEUE' EXPORTING enqueue_mode = enqueue_mode library = rgrwd-lib report = rgrwd-rname.

GRW_JOB_TEST * CALL FUNCTION 'GRW_JOB_TEST' * EXPORTING * i_lib = rgrwd-lib * it_rname = lt_rname * i_message_level = 1 * i_testmode = 'X' * EXCEPTIONS * report_group_locked = 4.

G_JOB_ENQUEUE CALL FUNCTION 'G_JOB_ENQUEUE' EXPORTING job = work-job EXCEPTIONS OTHERS = 4.

GRW_JOB_GENERATE CALL FUNCTION 'GRW_JOB_GENERATE' EXPORTING i_report_group = t803j-rgjnr i_message_level = 1 i_layout_control = 'X' IMPORTING e_subrc = subrc EXCEPTIONS report_group_invalid = 1.

G_PROGRAM_NAME CALL FUNCTION 'G_PROGRAM_NAME' EXPORTING client = sy-mandt program_type = 'X' report_group = t803j-rgjnr IMPORTING program_name = exe_prog.

G_JOB_DEQUEUE CALL FUNCTION 'G_JOB_DEQUEUE' EXPORTING job = work-job.

G_LIBRARY_AUTHORITY_CHECK CALL FUNCTION 'G_LIBRARY_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = t801k-authgr.

G_TABLE_READ CALL FUNCTION 'G_TABLE_READ' EXPORTING table = t801k-tab add_flag = 'X' IMPORTING table_attr = dd02v.

G_RNAME_CHECK CALL FUNCTION 'G_RNAME_CHECK' EXPORTING rname = r-rname EXCEPTIONS name_invalid = 01.

G_OBJECT_NAME_CHECK CALL FUNCTION 'G_OBJECT_NAME_CHECK' EXPORTING mainmode = action(1) object_name = rgrwd-rname.

G_REPORT_AUTHORITY_CHECK CALL FUNCTION 'G_REPORT_AUTHORITY_CHECK' EXPORTING actvt = activity-add authgr = t800-authgr.

G_REPORT_AUTHORITY_CHECK





CALL FUNCTION 'G_REPORT_AUTHORITY_CHECK' EXPORTING actvt = activity-modify authgr = t800-authgr.

G_REPORT_AUTHORITY_CHECK CALL FUNCTION 'G_REPORT_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = t800-authgr.

G_REPORT_AUTHORITY_CHECK CALL FUNCTION 'G_REPORT_AUTHORITY_CHECK' EXPORTING actvt = activity-delete authgr = t800-authgr.

G_LIBRARY_AUTHORITY_CHECK CALL FUNCTION 'G_LIBRARY_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = t801k-authgr.

G_REPORT_AUTHORITY_CHECK CALL FUNCTION 'G_REPORT_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = t800-authgr.



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