BTCAUX05 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 BTCAUX05 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: ALL = For all spool requests
Selection Text: SING = For selected spool requests
Selection Text: S_RQCLIE = Client
Selection Text: S_RQCRED = Created On
Selection Text: S_RQTITL = Title
Selection Text: L_RQDEST = D .
Selection Text: S_RQ0NAM = D .
Selection Text: S_RQ1NAM = D .
Selection Text: S_RQ2NAM = D .
Selection Text: S_RQIDEN = D .
Selection Text: S_RQOWNE = D .
Title: Select Jobs for Spool Requests
Text Symbol: 001 = Display Generating Jobs
Text Symbol: 002 = Selecting jobs...
INCLUDE LBTCHDEF.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Selecting Jobs...'(002). "#EC TEXT_DIFF
RSPO_L_RSELECT_SPOOLREQS CALL FUNCTION 'RSPO_L_RSELECT_SPOOLREQS' EXPORTING rqnone = 'X' rqproc = 'X' rqsucc = 'X' rqerr = 'X' * ACCESS = ' ' * PROTO = ' ' * NONEX_DEV = ' ' * IMPORTING * RQ_NO_ACCESS = * RQ_ACCESS = TABLES s_rqiden = s_rqiden s_rqclie = s_rqclie s_rq0nam = s_rq0nam s_rq1nam = s_rq1nam s_rq2nam = s_rq2nam s_rqowne = s_rqowne * S_RQ1DIS = * S_RQ2DIS = * S_RQFIN = * S_RQCOPI = * S_RQPRIO = * S_RQPAPE = * S_RQPJRE = s_rqtitl = s_rqtitl * S_RQRECE = * S_RQDIVI = * S_RQAUTH = * S_RQTLAN = * S_RQTNUM = s_rqcred = s_rqcred * S_RQDELD = s_rqdestl = l_rqdest * S_RQPAGE = * S_RQSAPT = * S_RQUNXT = * S_RQADESL = * S_RQSYST = result_tsp01 = requests EXCEPTIONS error = 1 OTHERS = 2 .
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = my_program i_callback_user_command = 'USER_COMMAND' * i_structure_name = i_grid_title = grid_title is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_excluding = gt_exclude[] i_default = 'X' i_save = 'A' is_print = alv_print TABLES t_outtab = jobs EXCEPTIONS program_error = 1 OTHERS = 2.
RSPO_RID_SPOOLREQ_LIST CALL FUNCTION 'RSPO_RID_SPOOLREQ_LIST' EXPORTING id_list = idtab * SUMMARY = ' ' EXCEPTIONS error = 1 OTHERS = 2.
BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = single_job-jobcount job_read_jobname = single_job-jobname job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = jobhead EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.
BP_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = btc_no joblist_opcode = btc_joblist_edit * JOBSEL_PARAM_INPUT = * LIST_TITLE = TABLES joblist = disp_jobs EXCEPTIONS unknown_selection_error = 1 invalid_opcode = 2 invalid_dialog_type = 3 refresh_list_required = 4 empty_list = 5 OTHERS = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BTCAUX05 - Select Jobs for Spool Requests BTCAUX05 - Select Jobs for Spool Requests BTCAUX04 - Identify Periodic Jobs Scheduled More Than Once BTCAUX04 - Identify Periodic Jobs Scheduled More Than Once BTCAUX03 - Utility Program for Archiving Job Logs BTCAUX03 - Utility Program for Archiving Job Logs