SAP Reports / Programs

RFKK_CORRSPND_DELETE SAP ABAP Report - Archiving Object CORRSPND: Delete Program







RFKK_CORRSPND_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = docu -> fi -> fica INCLUDE ARCHIVING_DELETE_REPORT OBJECT DOKU ID TX For more information about this archiving object, see the document see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFKK_CORRSPND_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 RFKK_CORRSPND_DELETE. "Basic submit
SUBMIT RFKK_CORRSPND_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RFKK_CORRSPND_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 CORRSPND: Delete Program
Text Symbol: SS4 = whether or not data is deleted from the database
Text Symbol: SS3 = is made on the database or not is always via the global
Text Symbol: SS2 = Dummy parameter - needed but no effect. Controlling if deletion
Text Symbol: SS1 = For reasons of compatability with the Archive Development Kit the
Text Symbol: SS0 = @19@
Text Symbol: L09 = Production
Text Symbol: L08 = Simulation
Text Symbol: L07 = *** T E S T ***
Text Symbol: L06 = Archiving Mode:
Text Symbol: L05 = Archiving Deletion Run
Text Symbol: L04 = End Archiving Deletion Run On
Text Symbol: L03 = Archiving Object:
Text Symbol: L02 = At
Text Symbol: L01 = Start Archiving Deletion Run on


INCLUDES used within this REPORT RFKK_CORRSPND_DELETE

INCLUDE EMSG.
INCLUDE BANK_PPLOG_MACROS.
INCLUDE AFX_GLOBAL_DATA_PUBLIC.
INCLUDE AFX_GLOBAL_LOGGING_PUBLIC.
INCLUDE IFKK_CORRSPND_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_corrspnd 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_corrspnd 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_corrspnd 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_corrspnd 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_corrspnd 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.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

FKK_DB_CORRSPND_DFKKCOH_DEL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCOH_DEL' EXPORTING i_tab_data = g_tab_dfkkcoh EXCEPTIONS database_error = 1 OTHERS = 2.

FKK_DB_CORRSPND_DFKKCOHI_DEL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCOHI_DEL' EXPORTING i_tab_data = g_tas_dfkkcohi EXCEPTIONS database_error = 1 OTHERS = 2.

FKK_DB_CORRSPND_DFKKCOD_DEL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCOD_DEL' EXPORTING i_tab_data = g_tas_dfkkcod EXCEPTIONS database_error = 1 OTHERS = 2.

FKK_DB_CORRSPND_DFKKCOHARC_DEL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCOHARC_DEL' EXPORTING i_tab_data = g_tas_dfkkcoharc EXCEPTIONS database_error = 1 OTHERS = 2.

FKK_DB_CORRSPND_DFKKCODCLST_DL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCODCLST_DL' EXPORTING i_tab_data = g_tas_dfkkcodclust EXCEPTIONS database_error = 1 OTHERS = 2.

FKK_DB_CORRSPND_DFKKCOP_DEL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCOP_DEL' EXPORTING i_tab_data = g_tas_dfkkcop EXCEPTIONS database_error = 1 OTHERS = 2.

FKK_DB_CORRSPND_DFKKCOHNCRR_DL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCOHNCRR_DL' EXPORTING i_tab_data = g_tas_dfkkcohincorr EXCEPTIONS database_error = 1 OTHERS = 2.

FKK_DB_CORRSPND_DFKKCOH_ARC_DL CALL FUNCTION 'FKK_DB_CORRSPND_DFKKCOH_ARC_DL' EXPORTING i_tab_data = g_tas_dfkkcoh_arc 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 RFKK_CORRSPND_DELETE or its description.