SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Repository Browser(BC-DWB-UTL-BRR) SAP BC

MSJOBI01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

F4_REPORT CALL FUNCTION 'F4_REPORT' EXPORTING object = f4_field IMPORTING RESULT = f4_field.

F4_REPORT_VARIANT CALL FUNCTION 'F4_REPORT_VARIANT' EXPORTING program = f4_field object = raldb-variant IMPORTING RESULT = raldb-variant.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = tbtcjob-jobname IMPORTING jobcount = tbtcjob-jobcount EXCEPTIONS OTHERS = 01.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING authcknam = tbtcjob-authcknam jobcount = tbtcjob-jobcount jobname = tbtcjob-jobname report = repid variant = raldb-variant EXCEPTIONS OTHERS = 01.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING priparams = print_para arcparams = archive_para authcknam = tbtcjob-authcknam jobcount = tbtcjob-jobcount jobname = tbtcjob-jobname report = repid variant = raldb-variant EXCEPTIONS OTHERS = 01.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = tbtcjob-jobname jobcount = tbtcjob-jobcount strtimmed = 'X' IMPORTING JOB_WAS_RELEASED = RELEASED EXCEPTIONS OTHERS = 01.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = tbtcjob-jobname IMPORTING jobcount = tbtcjob-jobcount EXCEPTIONS OTHERS = 01.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING authcknam = tbtcjob-authcknam jobcount = tbtcjob-jobcount jobname = tbtcjob-jobname report = repid variant = raldb-variant EXCEPTIONS OTHERS = 01.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING priparams = print_para arcparams = archive_para authcknam = tbtcjob-authcknam jobcount = tbtcjob-jobcount jobname = tbtcjob-jobname report = repid variant = raldb-variant EXCEPTIONS OTHERS = 01.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = tbtcjob-jobname jobcount = tbtcjob-jobcount sdlstrtdt = tbtcjob-sdlstrtdt sdlstrttm = tbtcjob-sdlstrttm IMPORTING JOB_WAS_RELEASED = RELEASED EXCEPTIONS OTHERS = 01.

RS_VARIANT_SCREEN CALL FUNCTION 'RS_VARIANT_SCREEN' EXPORTING report = raldb-report variant = raldb-variant IMPORTING variant = raldb-variant.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING report = repid mode = 'BATCH' IMPORTING out_archive_parameters = archive_para out_parameters = print_para valid = valid EXCEPTIONS archive_info_not_found = 01.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = tbtcjob-jobname sdlstrtdt = tbtcjob-sdlstrtdt sdlstrttm = tbtcjob-sdlstrttm IMPORTING jobcount = tbtcjob-jobcount EXCEPTIONS OTHERS = 01.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING authcknam = tbtcjob-authcknam jobcount = tbtcjob-jobcount jobname = tbtcjob-jobname report = repid variant = raldb-variant EXCEPTIONS OTHERS = 01.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING priparams = print_para arcparams = archive_para authcknam = tbtcjob-authcknam jobcount = tbtcjob-jobcount jobname = tbtcjob-jobname report = repid variant = raldb-variant EXCEPTIONS OTHERS = 01.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = tbtcjob-jobname jobcount = tbtcjob-jobcount sdlstrtdt = tbtcjob-sdlstrtdt sdlstrttm = tbtcjob-sdlstrttm prdmonths = term-prdmonths prdweeks = term-prdweeks prddays = term-prddays prdhours = term-prdhours prdmins = term-prdmins IMPORTING JOB_WAS_RELEASED = RELEASED EXCEPTIONS OTHERS = 01.



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