SAP Reports / Programs

RSBDCSUB SAP ABAP Report - Batch Input: Process All Sessions







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


Text pool values


Selection Text: Z_VERARB = New
Selection Text: VON = From
Selection Text: MAPPE = Session
Selection Text: LOGALL = Extended log
Selection Text: JOBCLASS = Job class
Selection Text: FEHLER = Incorrect
Selection Text: BIS = To
Selection Text: BATCHSYS = Target host
Title: Batch Input: Process All Sessions
Text Symbol: 052 = Background system
Text Symbol: 053 = Batch input: Process all sessions still to be processed
Text Symbol: 057 = Log
Text Symbol: 058 = Session is already being processed or was deleted
Text Symbol: 060 = Session(s) selected to be processed
Text Symbol: 061 = Session(s) successfully processed
Text Symbol: 062 = Seesion(s) currently being processed or were deleted
Text Symbol: 063 = Seesion(s) for which user has no authorization
Text Symbol: 064 = Session(s) with lock date in the future
Text Symbol: 065 = Session(s) w/o status "New" or "Error"
Text Symbol: 066 = JOB_OPEN did not run successfully
Text Symbol: 067 = JOB_CLOSE did not run successfully
Text Symbol: 068 = Jobs not released
Text Symbol: 069 = Submit RSBDCBTC unsuccessful
Text Symbol: 070 = Session(s) with ABAP lock found
Text Symbol: 071 = ABAP lock unsuccessful
Text Symbol: 001 = Batch Input: Process all sessions
Text Symbol: 002 = (generic or fully specified)
Text Symbol: 006 = Queue ID
Text Symbol: 009 = Time
Text Symbol: 015 = Session
Text Symbol: 016 = Date
Text Symbol: 017 = Time
Text Symbol: 018 = Set status to
Text Symbol: 019 = "New" and / or "Error"
Text Symbol: 020 = Only sessions with status "New" or "Error" will be processed
Text Symbol: 021 = Cannot open job (see transaction SM37)
Text Symbol: 022 = Cannot close job (see transaction SM37)
Text Symbol: 023 = Cannot release job (see transaction SM37)





Text Symbol: 024 = Session currently being processed by
Text Symbol: 025 = Specify Folder Name
Text Symbol: 026 = (All Folders = *)
Text Symbol: 035 = Errors in sessions
Text Symbol: 036 = Sessions still to be processed
Text Symbol: 045 = Submit RSDBCBTC not successfully executed (see SYSLOG)
Text Symbol: 046 = Background session processing was not successful. Check the system log
Text Symbol: 047 = Processing is not permitted. Session has lock date in the future
Text Symbol: 048 = You are not authorized to process a background session
Text Symbol: 049 = Created On
Text Symbol: 050 = Session status
Text Symbol: 051 = Job no.


INCLUDES used within this REPORT RSBDCSUB

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:

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING DOKLANGU = SY-LANGU * DOKTITLE = ' ' * CALLED_BY_TCODE = * CALLED_BY_PROGRAM = * CALLED_BY_DYNP = CALLED_FOR_TAB = 'D0300' CALLED_FOR_FIELD = 'BATCHSYS' * CALLED_FOR_TAB_FLD_BTCH_INPUT = * CALLED_BY_CUAPROG = * CALLED_BY_CUASTAT = * MERGE_DZ_IF_AVAILABLE = * MEMORYID = * EXPLICIT_MEMORYID = ' ' * TABLES * LINKS = * EXCLUDEFUN = * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * SAPSCRIPT_ERROR = 2 * OTHERS = 3 .

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBGROUP = BI JOBNAME = JNAME JOBCLASS = JOBCLASS CHECK_JOBCLASS = 'X' IMPORTING JOBCOUNT = JNUMB EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3 OTHERS = 99.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = JNUMB JOBNAME = JNAME STRTIMMED = X TARGETSYSTEM = TARGET_SYSTEM TARGETSERVER = TARGET_SERVER TARGETGROUP = TARGET_GROUP IMPORTING JOB_WAS_RELEASED = JOBRELE EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7 INVALID_TARGET = 8 OTHERS = 99.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING JOBNAME = JNAME JOBCOUNT = JNUMB FORCEDMODE = X EXCEPTIONS OTHERS = 99.

ENQUEUE_BDC_QID CALL FUNCTION 'ENQUEUE_BDC_QID' EXPORTING DATATYP = ENQ_DATATYP GROUPID = ENQ_GROUPID QID = ENQ_OBJECT EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 99.

DEQUEUE_BDC_QID CALL FUNCTION 'DEQUEUE_BDC_QID' EXPORTING datatyp = enq-datatyp groupid = enq-groupid qid = enq-object.



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