BTCAUX01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program lists all job steps whose print parameters no longer exist in table TPRI_PAR...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter BTCAUX01 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: JOBNAME = D Job Name
Selection Text: REL_JOBS = Released and Scheduled Jobs
Selection Text: REPAIR = Repair Print Parameters
Selection Text: SHOW = Only Display Jobs
Selection Text: USER = D Background Job Scheduler
Title: Display and Repair Jobs with Missing Print Parameters
Text Symbol: 001 = Selection Parameter
Text Symbol: 100 = Jobs with Missing Print Parameters
Text Symbol: 200 = All
Text Symbol: 300 = Released
Text Symbol: 600 = No inconsistent jobs found
Text Symbol: 700 = New Key
INCLUDE LBTCHDEF.
No SAP DATABASE tables are accessed within this REPORT code!
BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = selpars TABLES jobselect_joblist = jobs EXCEPTIONS invalid_dialog_type = 1 jobname_missing = 2 no_jobs_found = 3 selection_canceled = 4 username_missing = 5 OTHERS = 6.
LOAD_PRINT_PARAMETERS CALL FUNCTION 'LOAD_PRINT_PARAMETERS' EXPORTING key = tmp_key IMPORTING key_found = key_found EXCEPTIONS error_occured = 1 OTHERS = 2.
BP_JOB_STATUS_GET CALL FUNCTION 'BP_JOB_STATUS_GET' EXPORTING jobcount = step-jobcount jobname = step-jobname IMPORTING status = job_status EXCEPTIONS job_doesnt_exist = 1 unknown_error = 2 parent_child_inconsistency = 3 OTHERS = 4.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = sy-repid * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = 'USER_COMMAND' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = 'BPSTEPPRIPAR' * I_BACKGROUND_ID = ' ' i_grid_title = grid_title * I_GRID_SETTINGS = is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_excluding = gt_exclude[] * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * is_variant = alv_variant * IT_EVENTS = * IT_EVENT_EXIT = is_print = alv_print * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_steps EXCEPTIONS program_error = 1 OTHERS = 2 .
BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = p_step-jobcount job_read_jobname = p_step-jobname job_read_opcode = btc_read_jobhead_only * JOB_STEP_NUMBER = IMPORTING job_read_jobhead = jobhead * JOBLOG_ATTRIBUTES = * TABLES * JOB_READ_STEPLIST = * SPOOL_ATTRIBUTES = * CHANGING * RET = EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.
BP_DESCHEDULE_JOB CALL FUNCTION 'BP_DESCHEDULE_JOB' EXPORTING jobname = p_step-jobname jobcount = p_step-jobcount EXCEPTIONS cant_read_jobdata = 1 no_action = 2 OTHERS = 3.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING in_parameters = in_priparams * IN_ARCHIVE_PARAMETERS = in_arcpars mode = 'BATCH' no_dialog = 'X' IMPORTING out_parameters = out_priparams * out_archive_parameters = out_arcpars valid = v EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.
BP_CHANGE_JOB_STEP CALL FUNCTION 'BP_CHANGE_JOB_STEP' EXPORTING jobname = p_step-jobname jobcount = p_step-jobcount step = mod_step step_num = p_step-stepcount allpripar = new_pripars * ALLARCPAR = * PRINT_MASK = arch_mask = archmask EXCEPTIONS cannot_modify_job = 1 wrong_step_number = 2 cannot_read_job = 3 cannot_get_priarc_params = 4 error_modifying_worktable = 5 error_reading_worktable = 6 OTHERS = 7.
BP_JOB_RELEASE * CALL FUNCTION 'BP_JOB_RELEASE' * EXPORTING * jobname = p_step-jobname * jobcount = p_step-jobcount ** CHANGING ** RET = * EXCEPTIONS * missing_jobname = 1 * missing_jobcount = 2 * missing_start_date = 3 * status_not_scheduled = 4 * cant_enq_job = 5 * cant_start_job_immediately = 6 * no_privilege_to_release_job = 7 * cant_release_job = 8 * job_not_exist = 9 * job_have_no_steps = 10 * error_job_modify = 11 * OTHERS = 12.
BP_JOB_STATUS_GET CALL FUNCTION 'BP_JOB_STATUS_GET' EXPORTING jobcount = p_step-jobcount jobname = p_step-jobname IMPORTING status = new_status EXCEPTIONS job_doesnt_exist = 1 unknown_error = 2 parent_child_inconsistency = 3 OTHERS = 4.
BP_DESCHEDULE_JOB CALL FUNCTION 'BP_DESCHEDULE_JOB' EXPORTING jobname = p_step-jobname jobcount = p_step-jobcount EXCEPTIONS cant_read_jobdata = 1 no_action = 2 OTHERS = 3.
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 = disp_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.
BTCAUX01 - Display and Repair Jobs with Missing Print Parameters BTCAUX01 - Display and Repair Jobs with Missing Print Parameters BTANATOP - Global data for report RSDBTANA BTANATI2 - Data exchange betw. RSDBTANA and gen. reports RSDBTCxx, xx=01, 02, .. BTANATI1 - Data exchange betw. RSDBTANA and gen. reports RSDBTBxx xx=01, 02, .. BTANAF01 - Application monitor: Memory space analysis under ORACLE (from V7)