RFVD_ARC_MODELCALC_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 RFVD_ARC_MODELCALC_DELETE into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_DELPRD = Production Mode
Selection Text: P_DELTST = Test Mode
Title: Model Calculation Archiving: Delete Program
Text Symbol: 001 = &1 of &2 individual model calculations deleted.
Text Symbol: H01 = Delete
Text Symbol: T01 = Model calculation could not be deleted.
Text Symbol: T02 = Reason: Internal archiving error (call of module &2).
Text Symbol: V01 = ARCHIVE_OPEN_FOR_DELETE
Text Symbol: V02 = ARCHIVE_GET_CUSTOMIZING_DATA
Text Symbol: V03 = ARCHIVE_GET_INFORMATION
INCLUDE ARCH_DELETE_PRG_STANDARD1. "<<< FLOW CONTROL
No SAP DATABASE tables are accessed within this REPORT code!
FVD_ARC_CHECK_TRANS_SARA CALL FUNCTION 'FVD_ARC_CHECK_TRANS_SARA' EXCEPTIONS no_use_of_sara = 1.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = lc_object test_mode = p_deltst IMPORTING archive_handle = lv_handle EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 archiving_standard_violation = 8 OTHERS = 9.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 i_text = text-t01 i_msgtype = '2' i_msgv1 = text-t02 i_msgv2 = text-v01.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = lc_object IMPORTING commit_count_for_delete_prg = lv_commit_cnt EXCEPTIONS object_not_found = 1.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 i_text = text-t01 i_msgtype = '2' i_msgv1 = text-t02 i_msgv2 = text-v02.
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = lv_handle IMPORTING object_number_in_file = lv_objects_to_delete EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = text-h01 i_text = text-t01 i_msgtype = '2' i_msgv1 = text-t02 i_msgv2 = text-v03.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = lv_handle EXCEPTIONS end_of_file = 01.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = lv_handle record_structure = 'LTEX' all_records_of_object = 'X' TABLES table = lt_ltex.
ARCHIVE_DELETE_TABLE CALL FUNCTION 'ARCHIVE_DELETE_TABLE' EXPORTING iv_tabname = 'LTEX' it_records = lt_ltex iv_deltst = p_deltst iv_handle = lv_handle.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = lv_handle TABLES table = lt_statistic.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = text-001 i_processed = lv_objects_deleted i_total = lv_objects_to_delete i_output_immediately = 'X' i_msgv1 = lv_objects_deleted i_msgv2 = lv_objects_to_delete IMPORTING e_progress_sent = lv_progress_send.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = lv_handle statistics_only_per_file = 'X'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = lv_handle.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFVD_ARC_MODELCALC_DELETE - Model Calculation Archiving: Delete Program RFVD_ARC_MODELCALC_DELETE - Model Calculation Archiving: Delete Program RFVD_ARC_LOANREF_WRITE_PREPARE - Loan Reference Unit Archiving: Archive Document Data (By Package) RFVD_ARC_LOANREF_WRITE_PREPARE - Loan Reference Unit Archiving: Archive Document Data (By Package) RFVD_ARC_LOANREF_WRITE - Loan Reference Unit Archiving: Write Program RFVD_ARC_LOANREF_WRITE - Loan Reference Unit Archiving: Write Program