SAP Reports / Programs | Transaction Data Pool | Bank Components | Transaction Data Pool(IS-B-DP) SAP IS

RJBD_VTMD_ARCH_DELETE SAP ABAP Report - Archiving Object VTMD_ARCH: Deletion Program







RJBD_VTMD_ARCH_DELETE 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 RJBD_VTMD_ARCH_DELETE 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 RJBD_VTMD_ARCH_DELETE. "Basic submit
SUBMIT RJBD_VTMD_ARCH_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RJBD_VTMD_ARCH_DELETE 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: P_DMY = Dummy Parameter
Title: Archiving Object VTMD_ARCH: Deletion Program
Text Symbol: L01 = Start Archiving Deletion Run on
Text Symbol: L02 = At
Text Symbol: L03 = Archiving Object:
Text Symbol: L04 = End Archiving Deletion Run On
Text Symbol: L05 = Archiving Deletion Run
Text Symbol: L06 = Archiving Mode:
Text Symbol: L07 = Test
Text Symbol: L08 = Simulation
Text Symbol: L09 = Production
Text Symbol: SS0 = @19@
Text Symbol: SS1 = For reasons of compatability with the Archive Development Kit the
Text Symbol: SS2 = dummy parameter is needed but has no effect. Control of whether
Text Symbol: SS3 = data is deleted on the database or not is always via the
Text Symbol: SS4 = global Customizing (transaction AFX_GLOBAL_CUST)


INCLUDES used within this REPORT RJBD_VTMD_ARCH_DELETE

INCLUDE EMSG.
INCLUDE BANK_PPLOG_MACROS.
INCLUDE AFX_GLOBAL_DATA_PUBLIC.
INCLUDE AFX_GLOBAL_LOGGING_PUBLIC.
INCLUDE IJBD_VTMD_ARCH_DATA.


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:

AFX_DB_GLOBAL_CUST_GET call function 'AFX_DB_GLOBAL_CUST_GET' exporting i_object = g_con_object_vtmd_arch importing e_str_global_cust = g_str_global_cust exceptions not_found = 1 others = 2.

AFX_MSG_OPEN call function 'AFX_MSG_OPEN' exporting i_prog = g_repid i_log_object_std = g_log_object i_log_object_exc = g_log_object_exc i_lognumber = g_logextnumber i_log_period = g_str_global_cust-log_period i_log_period_unit = g_str_global_cust-log_period_unit importing e_msg_handle_std = g_msg_handle_std e_msg_handle_exc = g_msg_handle_exc exceptions log_init_failed_std = 1 log_init_failed_exc = 2 others = 3.

AFX_AUTH_GLOBAL_CHECK call function 'AFX_AUTH_GLOBAL_CHECK' exporting i_actvt = g_con_auth_actvt_create i_arch_obj = g_con_object_vtmd_arch i_log_object_exc = g_log_object_exc exceptions no_auth_found = 1 no_auth_valid = 2 no_profiles_found = 3 invalid_fields = 4 invalid_parameter_count = 5 destroyed_auth = 6 others = 7.

AFX_MSG_CLOSE call function 'AFX_MSG_CLOSE' exporting i_log_object_std = g_log_object i_log_object_exc = g_log_object_exc i_msg_handle_std = g_msg_handle_std i_msg_handle_exc = g_msg_handle_exc.

AFX_ACTVTLOG_ENDTMSTP_SET call function 'AFX_ACTVTLOG_ENDTMSTP_SET' exporting i_actvt_id = g_str_actvt_log-actvt_id i_enddate = sy-datum i_endtime = sy-uzeit i_log_object_exc = g_log_object_exc.

GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing jobcount = g_selfjobcount jobname = g_selfjobname stepcount = g_selfstepcount exceptions no_runtime_info = 1 others = 2.

AFX_ADK_DOCUMENT_GET call function 'AFX_ADK_DOCUMENT_GET' exporting i_jobname = g_selfjobname i_jobcount = g_selfjobcount importing e_str_admi_jobs = l_str_admi_jobs e_rc = l_rc.

AFX_ACTVTLOG_WRITE_JOB_GET call function 'AFX_ACTVTLOG_WRITE_JOB_GET' exporting i_document = l_str_admi_jobs-document importing e_tab_actvtdoc = l_tab_actvtdoc.

AFX_ACTVTLOG_GET call function 'AFX_ACTVTLOG_GET' exporting i_actvt_id = g_actvt_id_write importing e_str_actvt_log = l_str_actvt_log exceptions not_found = 1 others = 2.

BANK_API_PP_LOG_CREATE_LOGNO call function 'BANK_API_PP_LOG_CREATE_LOGNO' importing e_lognumber = l_lognumber.

AFX_ACTVTLOG_DELETE_JOBS_GET call function 'AFX_ACTVTLOG_DELETE_JOBS_GET' exporting i_log_extnumber = g_logextnumber i_log_alprog = g_repid importing e_tab_actvt = l_tab_actvt_log.

AFX_ACTVTLOG_CREATE call function 'AFX_ACTVTLOG_CREATE' exporting i_log_object = g_log_object i_log_object_exc = g_log_object_exc i_log_extnumber = g_logextnumber i_log_aldate = l_aldate_del i_log_alprog = g_repid i_prog_type = g_con_progtype_delete i_object = g_con_object_vtmd_arch i_applcatg = space i_armode = g_str_global_cust-armode i_runuser = sy-uname i_startdate = sy-datum i_starttime = sy-uzeit importing e_str_actvt_log = g_str_actvt_log exceptions actvt_id_get_failed = 1 actvt_log_create_failed = 2 others = 3.

AFX_ACTVTLOG_STATUS_UPDATE call function 'AFX_ACTVTLOG_STATUS_UPDATE' exporting i_actvt_id = g_actvt_id_write i_runstatus = g_con_actvt_deletejob_started i_log_object_exc = g_log_object_exc.

AFX_ACTVTLOG_JOBLIST_CREATE call function 'AFX_ACTVTLOG_JOBLIST_CREATE' exporting i_actvt_id = g_str_actvt_log-actvt_id i_tab_jobs = l_tab_jobs i_log_object_exc = g_log_object_exc.

AFX_ACTVTLOG_DOCLIST_CREATE call function 'AFX_ACTVTLOG_DOCLIST_CREATE' exporting i_actvt_id = g_str_actvt_log-actvt_id i_str_jobkey = l_str_jobkey i_document = g_archive_document i_jobtype = g_con_adk_jobtype_delete i_log_object_exc = g_log_object_exc.

AFX_ACTVTLOG_FILLIST_CREATE call function 'AFX_ACTVTLOG_FILLIST_CREATE' exporting i_actvt_id = g_str_actvt_log-actvt_id i_document = g_archive_document i_tab_archive_files = g_tab_archive_files i_log_object_exc = g_log_object_exc.

ARCHIVE_OPEN_FOR_DELETE call function 'ARCHIVE_OPEN_FOR_DELETE' exporting object = g_con_object_vtmd_arch test_mode = g_flg_test_mode importing archive_handle = l_archive_handle exceptions file_already_open = g_con_adk_file_already_open file_io_error = g_con_adk_file_io_error internal_error = g_con_adk_internal_error no_files_available = g_con_adk_no_files_available object_not_found = g_con_adk_object_not_found open_error = g_con_adk_open_error not_authorized = g_con_adk_not_authorized others = g_con_adk_others.

ARCHIVE_GET_ARCHIVE_FILES call function 'ARCHIVE_GET_ARCHIVE_FILES' exporting archive_handle = l_archive_handle tables archive_files = g_tab_archive_files exceptions wrong_access_to_archive = g_con_adk_wrong_access_to_arch internal_error = g_con_adk_internal_error others = g_con_adk_others.

ARCHIVE_GET_CUSTOMIZING_DATA





call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting object = g_con_object_vtmd_arch importing commit_count_for_delete_prg = l_commit_count_delete maintain_index = l_index_flag exceptions object_not_found = g_con_adk_object_not_found others = g_con_adk_others.

ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting archive_handle = l_archive_handle importing object_id = l_object_id object_offset = l_object_offset archive_name = l_archive_name exceptions end_of_file = g_con_adk_end_of_file file_io_error = g_con_adk_file_io_error internal_error = g_con_adk_internal_error open_error = g_con_adk_open_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch others = g_con_adk_others.

ARCHIVE_GET_NEXT_RECORD call function 'ARCHIVE_GET_NEXT_RECORD' exporting archive_handle = l_archive_handle importing record_structure = l_record_type record_ref = l_buffer_ref exceptions end_of_object = g_con_adk_end_of_object internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch others = g_con_adk_others.

ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting archive_handle = l_archive_handle tables table = l_tab_arch_stat_give exceptions internal_error = g_con_adk_internal_error others = g_con_adk_others.

ARCHIVE_GET_STATISTICS call function 'ARCHIVE_GET_STATISTICS' exporting archive_handle = l_archive_handle tables statistics_data = l_tab_arch_stat_get exceptions internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch others = g_con_adk_others.

AFX_MSG_LOG_ADK_STATISTICS call function 'AFX_MSG_LOG_ADK_STATISTICS' exporting i_archive_document = g_archive_document i_log_object = g_log_object changing c_tab_statistics_data = l_tab_statistics_data.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = l_archive_handle exceptions internal_error = g_con_adk_internal_error wrong_access_to_archive = g_con_adk_wrong_access_to_arch others = g_con_adk_others.

ARCHIVE_ADMIN_SET_STATUS call function 'ARCHIVE_ADMIN_SET_STATUS' exporting files_are_converted = ' ' index_created = con_true tables archive_files = g_tab_archive_files exceptions cannot_change_status = g_con_adk_cannot_change_status others = g_con_adk_others.

JBD_DB_VTMD_ARCH_JBDVTMD_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTMD_DEL' exporting i_tab_data = g_tab_jbdvtmd exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_ONR00_DEL call function 'JBD_DB_VTMD_ARCH_ONR00_DEL' exporting i_tab_data = g_tas_onr00 exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_JBDVTCI_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTCI_DEL' exporting i_tab_data = g_tas_jbdvtci exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_JBDVTVM_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTVM_DEL' exporting i_tab_data = g_tas_jbdvtvm exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_JBDVTCH_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTCH_DEL' exporting i_tab_data = g_tas_jbdvtch exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_JBDVTCP_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTCP_DEL' exporting i_tab_data = g_tas_jbdvtcp exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_JBDVTLD_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTLD_DEL' exporting i_tab_data = g_tas_jbdvtld exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_LD_POS_DEL call function 'JBD_DB_VTMD_ARCH_LD_POS_DEL' exporting i_tab_data = g_tas_jbdvtld_pos exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_LD_SELDIM_DEL call function 'JBD_DB_VTMD_ARCH_LD_SELDIM_DEL' exporting i_tab_data = g_tas_jbdvtld_sel_dim exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_PA_SELCHR_DEL call function 'JBD_DB_VTMD_ARCH_PA_SELCHR_DEL' exporting i_tab_data = g_tas_jbdvtpa_sel_char exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_JBDVTGL_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTGL_DEL' exporting i_tab_data = g_tas_jbdvtgl exceptions database_error = 1 others = 2.

JBD_DB_VTMD_ARCH_JBDVTGLAC_DEL call function 'JBD_DB_VTMD_ARCH_JBDVTGLAC_DEL' exporting i_tab_data = g_tas_jbdvtglac exceptions database_error = 1 others = 2.






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