BTCAUX02 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 BTCAUX02 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: ABORTED = Canceled
Selection Text: ACTIVE = Active
Selection Text: DEL_PPAR = Delete Old Print Parameters
Selection Text: FINISHED = Finished
Selection Text: PLANNED = Scheduled
Selection Text: RELEASED = Released
Title: Display Jobs with Deleted Printer
Text Symbol: 001 = OutputDevice
Text Symbol: 002 = JobName
Text Symbol: 003 = JobCount
Text Symbol: 004 = Planned Start Date
Text Symbol: 005 = Planned Start Time
Text Symbol: 006 = Bckgrnd Event
Text Symbol: 100 = Jobs with Deleted Output Device
Text Symbol: 400 = Error when creating a variant
Text Symbol: 500 = Error at
Text Symbol: 600 = Status of Jobs to Be Checked
INCLUDE LBTCHDEF.
No SAP DATABASE tables are accessed within this REPORT code!
RSPO_CHECK_DESTINATION CALL FUNCTION 'RSPO_CHECK_DESTINATION' EXPORTING print_parameter = check_parameters auth_granted = 'X' EXCEPTIONS archive_dest_invalid = 1 archive_dest_not_found = 1 archive_dest_no_right = 1 dest_invalid = 1 dest_not_found = 2 dest_no_right = 1 batch_not_allowed = 1 local_print_not_possible = 1 print_no_right = 1 invalid_parameters = 1 OTHERS = 1.
LVC_VARIANT_EXISTENCE_CHECK CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK' CHANGING cs_variant = alv_variant EXCEPTIONS not_found = 1 OTHERS = 2.
LVC_VARIANT_SAVE CALL FUNCTION 'LVC_VARIANT_SAVE' EXPORTING it_fieldcat = variant_fieldcat it_sort = variant_sort it_filter = variant_filter is_layout = variant_layout * i_dialog = space i_overwrite = 'X' CHANGING cs_variant = alv_variant EXCEPTIONS wrong_input = 1 fc_not_complete = 2 foreign_lock = 3 variant_exists = 4 name_reserved = 5 program_error = 6 OTHERS = 7.
BP_JOB_MAINTENANCE_SM37B CALL FUNCTION 'BP_JOB_MAINTENANCE_SM37B' EXPORTING o_jobsel_params = disp_jobs * no_sel_screen = 'X' EXCEPTIONS unknown_selection_error = 1 OTHERS = 2.
BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = read_jobcount job_read_jobname = read_jobname job_read_opcode = btc_read_all_jobdata IMPORTING job_read_jobhead = job_data TABLES job_read_steplist = steps * CHANGING * RET = EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 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 = 'FOUND_JOBS' * 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 = found_jobs EXCEPTIONS program_error = 1 OTHERS = 2 .
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'CURRENT' no_dialog = 'X' IMPORTING out_parameters = pripars valid = v EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 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.
BTCAUX02 - Display Jobs with Deleted Printer BTCAUX02 - Display Jobs with Deleted Printer 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, ..