SAP Reports / Programs

BTC_SHOW_JOBS_WITHOUT_LOGS SAP ABAP Report - Displays jobs for which logs could not be read







BTC_SHOW_JOBS_WITHOUT_LOGS 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 BTC_SHOW_JOBS_WITHOUT_LOGS 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 BTC_SHOW_JOBS_WITHOUT_LOGS. "Basic submit
SUBMIT BTC_SHOW_JOBS_WITHOUT_LOGS AND RETURN. "Return to original report after report execution complete
SUBMIT BTC_SHOW_JOBS_WITHOUT_LOGS 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: ACT = Active
Selection Text: CAN = Terminated
Selection Text: FIN = Finished
Selection Text: FROMDATE = Date (From)
Selection Text: TODATE = Date (To)
Selection Text: FROMTIME = D .
Selection Text: JOBNAME = D .
Selection Text: TOTIME = D .
Title: Displays jobs for which logs could not be read


INCLUDES used within this REPORT BTC_SHOW_JOBS_WITHOUT_LOGS

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:

RS_TEXTPOOL_READ CALL FUNCTION 'RS_TEXTPOOL_READ' EXPORTING objectname = 'SAPLBTCH' action = 'READ' authority_check = ' ' language = sy-langu TABLES tpool = tpooltab EXCEPTIONS object_not_found = 1 permission_failure = 2 invalid_program_type = 3 error_occured = 4 action_cancelled = 5 OTHERS = 6.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = my_report * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = callback * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_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 = * IT_EVENTS = * IT_EVENT_EXIT = * IS_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 = lt_errjobs EXCEPTIONS program_error = 1 OTHERS = 2.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = ls_errjob-jobcount job_read_jobname = ls_errjob-jobname job_read_opcode = btc_read_jobhead_only * JOB_STEP_NUMBER = IMPORTING job_read_jobhead = i_job * JOBLOG_ATTRIBUTES = * EPP_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_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = btc_no joblist_opcode = btc_joblist_edit * JOBSEL_PARAM_INPUT = list_title = sy-title * EXTERNAL_REFRESH = TABLES joblist = i_jobs EXCEPTIONS unknown_selection_error = 1 invalid_opcode = 2 invalid_dialog_type = 3 refresh_list_required = 4 empty_list = 5 OTHERS = 6.



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 BTC_SHOW_JOBS_WITHOUT_LOGS or its description.