BTCAUX07 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 BTCAUX07 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: MIN_AGE = Minimum Runtime (Minutes)
Title: Check Status of Active Jobs
Text Symbol: 001 = No active jobs found
INCLUDE LBTCHDEF.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * PERCENTAGE = 0 text = sy-title.
BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = btc_no jobsel_param_in = selpars * ENDDATE = ' ' * ENDTIME = ' ' * SELECTION = 'AL' * IMPORTING * JOBSEL_PARAM_OUT = TABLES jobselect_joblist = active_jobs * JOBNAME_EXT_SEL = * USERNAME_EXT_SEL = * CHANGING * ERROR_CODE = EXCEPTIONS invalid_dialog_type = 1 jobname_missing = 2 no_jobs_found = 3 selection_canceled = 4 username_missing = 5 OTHERS = 6.
BP_JOB_CHECKSTATE CALL FUNCTION 'BP_JOB_CHECKSTATE' EXPORTING dialog = btc_no jobcount = active_job-jobcount jobname = active_job-jobname * START_ASAP = * TIME_LIMIT = * FROM_SM37 = IMPORTING status_according_to_db = db_status actual_status = wp_status EXCEPTIONS checking_of_job_has_failed = 1 correcting_job_status_failed = 2 invalid_dialog_type = 3 job_does_not_exist = 4 no_check_privilege_given = 5 ready_switch_too_dangerous = 6 OTHERS = 7.
BP_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = btc_no joblist_opcode = btc_joblist_show * JOBSEL_PARAM_INPUT = * LIST_TITLE = TABLES joblist = active_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.