SAP Reports / Programs

RSDBSPJS SAP ABAP Report - RSDBRUNT Help: SUBMIT (VIA) JOB







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


Text pool values


Title: RSDBRUNT Help: SUBMIT (VIA) JOB


INCLUDES used within this REPORT RSDBSPJS

INCLUDE RSDBCOM4.
INCLUDE RSDBCSTY.
INCLUDE LBTCHDEF.


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:

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING JOBNAME = RSJOBINFO-JOBNAME JOBCOUNT = RSJOBINFO-JOBNUMB REPORT = RKEY-REPORT VARIANT = VARI-VARIANT AUTHCKNAM = RSJOBINFO-JOBAUTHUSR PRIPARAMS = %_PRINT ARCPARAMS = %_ARCHIVE EXCEPTIONS ERROR_MESSAGE = 8 OTHERS = 8.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING JOBNAME = RSJOBINFO-JOBNAME JOBCOUNT = RSJOBINFO-JOBNUMB REPORT = RKEY-REPORT VARIANT = VARI-VARIANT AUTHCKNAM = RSJOBINFO-JOBAUTHUSR EXCEPTIONS ERROR_MESSAGE = 8 OTHERS = 8.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING REPORT = SY-CPROG MODE = 'BATCH' IMPORTING OUT_PARAMETERS = %_PRINT OUT_ARCHIVE_PARAMETERS = %_ARCHIVE VALID = L_VALID.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = RSJOBINFO-JOBNAME IMPORTING JOBCOUNT = RSJOBINFO-JOBNUMB EXCEPTIONS ERROR_MESSAGE = 8 OTHERS = 8.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING JOBNAME = RSJOBINFO-JOBNAME JOBCOUNT = RSJOBINFO-JOBNUMB REPORT = RKEY-REPORT VARIANT = VARI-VARIANT AUTHCKNAM = SY-UNAME PRIPARAMS = %_PRINT ARCPARAMS = %_ARCHIVE EXCEPTIONS ERROR_MESSAGE = 8 OTHERS = 8.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING STDT_DIALOG = BTC_YES STDT_INPUT = L_STARTSPECS STDT_OPCODE = BTC_EDIT_STARTDATE IMPORTING STDT_MODIFY_TYPE = L_START_MODIFY_FLAG STDT_OUTPUT = L_STARTSPECS EXCEPTIONS OTHERS = 1.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING JOBCOUNT = RSJOBINFO-JOBNUMB JOBNAME = RSJOBINFO-JOBNAME EXCEPTIONS OTHERS = 1.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' AT_OPMODE_PERIODIC = L_STARTSPECS-PERIODIC CALENDAR_ID = L_STARTSPECS-CALENDARID EVENT_ID = L_STARTSPECS-EVENTID EVENT_PARAM = L_STARTSPECS-EVENTPARM EVENT_PERIODIC = L_STARTSPECS-PERIODIC JOBCOUNT = RSJOBINFO-JOBNUMB JOBNAME = RSJOBINFO-JOBNAME LASTSTRTDT = L_STARTSPECS-LASTSTRTDT LASTSTRTTM = L_STARTSPECS-LASTSTRTTM PRDDAYS = L_STARTSPECS-PRDDAYS PRDHOURS = L_STARTSPECS-PRDHOURS PRDMINS = L_STARTSPECS-PRDMINS PRDMONTHS = L_STARTSPECS-PRDMONTHS PRDWEEKS = L_STARTSPECS-PRDWEEKS PREDJOB_CHECKSTAT = L_STARTSPECS-CHECKSTAT PRED_JOBCOUNT = L_STARTSPECS-PREDJOBCNT PRED_JOBNAME = L_STARTSPECS-PREDJOB SDLSTRTDT = L_STARTSPECS-SDLSTRTDT SDLSTRTTM = L_STARTSPECS-SDLSTRTTM STARTDATE_RESTRICTION = L_STARTSPECS-PRDBEHAV STRTIMMED = L_START_IMMEDIATE TARGETSYSTEM = L_STARTSPECS-INSTNAME START_ON_WORKDAY_NOT_BEFORE = L_STARTSPECS-NOTBEFORE START_ON_WORKDAY_NR = L_STARTSPECS-WDAYNO WORKDAY_COUNT_DIRECTION = L_STARTSPECS-WDAYCDIR * RECIPIENT_OBJ = L_STARTSPECS-RECIPIENT * TARGETSERVER = L_STARTSPECS-TARGETSERVER * IMPORTING * JOB_WAS_RELEASED = EXCEPTIONS OTHERS = 1.

JOB_CLOSE * CALL FUNCTION 'JOB_CLOSE' * EXPORTING JOBNAME = RSJOBINFO-JOBNAME * JOBCOUNT = RSJOBINFO-JOBNUMB * STRTIMMED = 'X' * EXCEPTIONS ERROR_MESSAGE = 8 * OTHERS = 8.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING JOBCOUNT = RSJOBINFO-JOBNUMB JOBNAME = RSJOBINFO-JOBNAME EXCEPTIONS OTHERS = 1.



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