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

MGRWJI70 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

GRW_JOB_SUBMIT_PREPARE CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE' EXPORTING i_report_group = t803j-rgjnr i_force_generation = 'X' i_message_level = 1 * i_no_auto_import = 'X' "534484 i_no_auto_import = ' ' "534484 IMPORTING e_subrc = subrc EXCEPTIONS report_group_invalid = 1 no_authority = 2 report_group_locked = 3.

GRW_JOB_SUBMIT_PREPARE CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE' EXPORTING i_report_group = t803j-rgjnr i_program_type = program_type * i_no_auto_import = 'X' "534484 i_no_auto_import = ' ' "534484 IMPORTING e_subrc = gen_subrc e_program_name = program_name EXCEPTIONS OTHERS = 4.

RS_VARIANT_SCREEN CALL FUNCTION 'RS_VARIANT_SCREEN' EXPORTING report = program_name rname_visible = ' '.

G_REPORT_AUTHORITY_CHECK CALL FUNCTION 'G_REPORT_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = new_reports-authgr EXCEPTIONS no_authority = 1 OTHERS = 4.

G_CLUSTER_AUTHORITY_CHECK * call function 'G_CLUSTER_AUTHORITY_CHECK' * exporting * actvt = activity-display * authgr = t801h-authgr.

G_JOB_ENQUEUE CALL FUNCTION 'G_JOB_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode job = rgrwj-job.

G_JOB_ENQUEUE CALL FUNCTION 'G_JOB_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode job = rgrwj-job.

G_JOB_ENQUEUE CALL FUNCTION 'G_JOB_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode job = rgrwj-job.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-007 textline2 = text-008 titel = text-006 defaultoption = 'N' IMPORTING answer = answer.

G_JOB_ENQUEUE CALL FUNCTION 'G_JOB_ENQUEUE' EXPORTING enqueue_mode = enqueue_mode job = rgrwj-job.

G_JOB_DEQUEUE CALL FUNCTION 'G_JOB_DEQUEUE' EXPORTING enqueue_mode = enqueue_mode job = rgrwj-job.

G_RW_DELETE_FROM_HISTORY CALL FUNCTION 'G_RW_DELETE_FROM_HISTORY' EXPORTING RW_OBJECTNAME = objname RW_OBJECTTYPE = 'RGP'.

G_JOB_AUTHORITY_CHECK CALL FUNCTION 'G_JOB_AUTHORITY_CHECK' EXPORTING actvt = activity-add authgr = t803j-authgr.

G_JOB_AUTHORITY_CHECK CALL FUNCTION 'G_JOB_AUTHORITY_CHECK' EXPORTING actvt = activity-modify authgr = t803j-authgr.

G_JOB_AUTHORITY_CHECK CALL FUNCTION 'G_JOB_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = t803j-authgr.

G_JOB_AUTHORITY_CHECK CALL FUNCTION 'G_JOB_AUTHORITY_CHECK' EXPORTING actvt = activity-delete authgr = t803j-authgr.

G_JOB_AUTHORITY_CHECK CALL FUNCTION 'G_JOB_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = t803j-authgr EXCEPTIONS OTHERS = 4.

G_OBJECT_NAME_CHECK CALL FUNCTION 'G_OBJECT_NAME_CHECK' EXPORTING mainmode = action(1) object_name = rgrwj-job.

G_RW_TABLE_DESCRIPTION_GET





CALL FUNCTION 'G_RW_TABLE_DESCRIPTION_GET' EXPORTING rw_table = t801k-tab langu = sy-langu IMPORTING tab_text = rgrwl-table_text EXCEPTIONS "<<<< note 148276 table_not_exist = 1. "<<<< note 148276

G_JOB_AUTHORITY_CHECK CALL FUNCTION 'G_JOB_AUTHORITY_CHECK' EXPORTING actvt = activity-display authgr = t803j-authgr.

G_CHECK_REPORTINGTABLE_VALID CALL FUNCTION 'G_CHECK_REPORTINGTABLE_VALID' EXPORTING lib = rgrwj-ref_lib.

G_RW_PROGRAM_CREATE_JOB CALL FUNCTION 'G_RW_PROGRAM_CREATE_JOB' EXPORTING i_t_jobstep = l_t_jobstep EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 job_create_canceled = 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 MGRWJI70 or its description.