RSBTCDEL 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 RSBTCDEL into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: USERNAME = User name
Selection Text: TO_TIME = (time)
Selection Text: TO_DATE = to (date)
Selection Text: SINCDAYS = older than (days)
Selection Text: SCHED = released
Selection Text: PRELIM = Status scheduled
Selection Text: JOBNAME = Job name
Selection Text: FRM_TIME = (time)
Selection Text: FRM_DATE = Start from (date)
Selection Text: FORCE = Delete with forced mode
Selection Text: FIN = finished
Selection Text: EVTPARM = Event Parameter
Selection Text: EVTID = Event ID
Selection Text: ENDTIME = (time)
Selection Text: ENDDATE = Finish date from (date)
Selection Text: AGE_DAYS = older than (days)
Selection Text: ABORT = canceled
Title: Delete batch jobs
Text Symbol: DL2 = selected jobs deleted
Text Symbol: DL1 = % of
Text Symbol: 002 = Reorganization
Text Symbol: 001 = Reorganized
INCLUDE LBTCHDEF.
No SAP DATABASE tables are accessed within this REPORT code!
BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING JOBSELECT_DIALOG = BTC_NO JOBSEL_PARAM_IN = SEL ENDDATE = ENDDATE ENDTIME = ENDTIME TABLES JOBSELECT_JOBLIST = SELECTED_JOBS EXCEPTIONS OTHERS = 4.
BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING JOBNAME = SELECTED_JOBS-JOBNAME JOBCOUNT = SELECTED_JOBS-JOBCOUNT FORCEDMODE = FORCE COMMITMODE = COMMIT EXCEPTIONS OTHERS = 4.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = PERCENTAGE TEXT = INDTEXT1.
BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING JOBNAME = SELECTED_JOBS-JOBNAME JOBCOUNT = SELECTED_JOBS-JOBCOUNT FORCEDMODE = FORCE COMMITMODE = COMMIT EXCEPTIONS OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.