SAP Reports / Programs | Basis Components | Use Subcomponents | Background Processing(BC-CCM-BTC) SAP BC

BTCDELF01 SAP ABAP INCLUDE - Include BTCDELF01







BTCDELF01 is a standard ABAP INCLUDE 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 BTCDELF01 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 BTCDELF01. "Basic submit
SUBMIT BTCDELF01 AND RETURN. "Return to original report after report execution complete
SUBMIT BTCDELF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include BTCDELF01


INCLUDES used within this REPORT BTCDELF01

No INCLUDES are used within this REPORT code!


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:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percentage text = text.

ENQUEUE_ESTBTCO CALL FUNCTION 'ENQUEUE_ESTBTCO' EXPORTING jobname = p_jobs-jobname jobcount = p_jobs-jobcount _SCOPE = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_ESTBTCO CALL FUNCTION 'ENQUEUE_ESTBTCO' EXPORTING jobname = pred_jobname jobcount = pred_jobcount _wait = 'X' _SCOPE = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

BP_JOBCONTEXT_DELETE CALL FUNCTION 'BP_JOBCONTEXT_DELETE' EXPORTING jobname = p_jobs-jobname jobcount = p_jobs-jobcount.

RS_VARIANT_IDELETE CALL FUNCTION 'RS_VARIANT_IDELETE' EXPORTING mandt = p_variants-client TABLES int_variant = i_variants EXCEPTIONS OTHERS = 0.

COMMON_LOG_REMOVE CALL FUNCTION 'COMMON_LOG_REMOVE' EXPORTING client = p_jobs-authckman logname = p_jobs-joblog EXCEPTIONS OTHERS = 99.

ENQUEUE_ESTBTCO CALL FUNCTION 'ENQUEUE_ESTBTCO' EXPORTING jobname = successors-jobname jobcount = successors-jobcount _wait = 'X' _SCOPE = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_ESTBTCO CALL FUNCTION 'ENQUEUE_ESTBTCO' EXPORTING jobname = p_jobname jobcount = p_jobcount _wait = 'X' _SCOPE = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = local_repid i_callback_pf_status_set = list_pf_status i_callback_user_command = list_user_command is_layout = layout it_fieldcat = fieldcat is_print = print TABLES t_outtab = names EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_list_scroll = jov_list_scroll_info et_fieldcat = prev_fieldcat et_sort = prev_sort[] et_filter = prev_filter[] EXCEPTIONS OTHERS = 99.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING it_fieldcat = prev_fieldcat it_sort = prev_sort[] it_filter = prev_filter[] is_list_scroll = jov_list_scroll_info.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = local_repid i_callback_pf_status_set = list_pf_status i_callback_user_command = list_user_command is_layout = layout it_fieldcat = fieldcat TABLES t_outtab = jobs EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_list_scroll = jov_list_scroll_info et_fieldcat = prev_fieldcat et_sort = prev_sort[] et_filter = prev_filter[] EXCEPTIONS OTHERS = 99.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING it_fieldcat = prev_fieldcat it_sort = prev_sort[] it_filter = prev_filter[] is_list_scroll = jov_list_scroll_info.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = 'Print report'(045).

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = local_repid i_callback_pf_status_set = list_pf_status i_callback_user_command = list_user_command is_layout = layout it_fieldcat = fieldcat is_print = print TABLES t_outtab = p_report EXCEPTIONS program_error = 1 OTHERS = 2.

RS_VARIANT_DELETE CALL FUNCTION 'RS_VARIANT_DELETE' EXPORTING report = sy-repid variant = variant flag_confirmscreen = 'X' flag_delallclient = 'X' EXCEPTIONS not_authorized = 1 not_executed = 2 no_report = 3 report_not_existent = 4 report_not_supplied = 5 variant_locked = 6 variant_not_existent = 7 no_corr_insert = 8 variant_protected = 9 OTHERS = 10.

GET_JOB_RUNTIME_INFO





CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = app_jobcount jobname = app_jobname stepcount = stepnum EXCEPTIONS no_runtime_info = 1 OTHERS = 2.

TH_GET_OWN_WP_NO CALL FUNCTION 'TH_GET_OWN_WP_NO' IMPORTING subrc = sy_subrc wp_index = app_proc_num.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = local_repid i_callback_pf_status_set = list_pf_status i_callback_user_command = list_user_command is_layout = layout it_fieldcat = fieldcat TABLES t_outtab = app_instances EXCEPTIONS program_error = 1 OTHERS = 2.

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = local_rep curr_variant = p_variant vari_desc = vardesc TABLES vari_contents = contents vari_text = text EXCEPTIONS illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_exists = 7 variant_locked = 8 OTHERS = 9.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_list_scroll = jov_list_scroll_info et_fieldcat = prev_fieldcat et_sort = prev_sort[] et_filter = prev_filter[] EXCEPTIONS OTHERS = 99.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING it_fieldcat = prev_fieldcat it_sort = prev_sort[] it_filter = prev_filter[] is_list_scroll = jov_list_scroll_info.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = 'Y' stdt_input = start_cond stdt_opcode = 14 IMPORTING stdt_modify_type = modified stdt_output = start_cond EXCEPTIONS fcal_id_not_defined = 1 incomplete_last_startdate = 2 incomplete_startdate = 3 invalid_dialog_type = 4 invalid_eventid = 5 invalid_opcode = 6 invalid_opmode_name = 7 invalid_periodbehaviour = 8 invalid_predecessor_jobname = 9 last_startdate_in_the_past = 10 no_period_data_given = 11 no_startdate_given = 12 period_and_predjob_no_way = 13 period_too_small_for_limit = 14 predecessor_jobname_not_unique = 15 startdate_interval_too_large = 16 startdate_in_the_past = 17 startdate_is_a_holiday = 18 startdate_out_of_fcal_range = 19 stdt_before_holiday_in_past = 20 unknown_fcal_error_occured = 21 no_workday_nr_given = 22 invalid_workday_countdir = 23 invalid_workday_nr = 24 notbefore_stdt_missing = 25 workday_starttime_missing = 26 no_eventid_given = 27 OTHERS = 28.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = i_jobname IMPORTING jobcount = i_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

BP_JOB_MODIFY CALL FUNCTION 'BP_JOB_MODIFY' EXPORTING dialog = 'N' jobcount = i_jobcount jobname = i_jobname opcode = 17 release_stdt = start_cond TABLES new_steplist = steps EXCEPTIONS cant_derelease_job = 1 cant_enq_job = 2 cant_read_jobdata = 3 cant_release_job = 4 cant_set_jobstatus_in_db = 5 cant_start_job_immediately = 6 cant_update_jobdata = 7 eventcnt_generation_error = 8 invalid_dialog_type = 9 invalid_new_jobdata = 10 invalid_new_jobstatus = 11 invalid_opcode = 12 invalid_startdate = 13 job_edit_failed = 14 job_modify_canceled = 15 job_not_modifiable_anymore = 16 nothing_to_do = 17 no_batch_on_target_host = 18 no_batch_server_found = 19 no_batch_wp_for_jobclass = 20 no_modify_privilege_given = 21 no_release_privilege_given = 22 no_startdate_no_release = 23 target_host_not_defined = 24 tgt_host_chk_has_failed = 25 invalid_targetgroup = 26 conflicting_targets = 27 OTHERS = 28.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = local_repid i_callback_pf_status_set = list_pf_status i_callback_user_command = list_user_command is_layout = layout it_fieldcat = fieldcat is_print = print TABLES t_outtab = p_joblogs EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text text_button_1 = 'Add'(092) text_button_2 = 'Overwrite'(093) default_button = '1' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

BP_JOB_GET_PREDECESSORS CALL FUNCTION 'BP_JOB_GET_PREDECESSORS' EXPORTING jobcount = ls_successors-jobcount jobname = ls_successors-jobname TABLES pred_joblist = lt_predecessors EXCEPTIONS job_not_exists = 1 no_predecessors_found = 2 OTHERS = 3.

BP_DESCHEDULE_JOB CALL FUNCTION 'BP_DESCHEDULE_JOB' EXPORTING jobname = ls_successors-jobname jobcount = ls_successors-jobcount EXCEPTIONS cant_read_jobdata = 1 no_action = 2 cant_derelease_job = 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 BTCDELF01 or its description.