SAP Reports / Programs

BTCAUX02 SAP ABAP Report - Display Jobs with Deleted Printer







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT BTCAUX02. "Basic submit
SUBMIT BTCAUX02 AND RETURN. "Return to original report after report execution complete
SUBMIT BTCAUX02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT BTCAUX02

INCLUDE LBTCHDEF.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name BTCAUX02 or its description.