RAARCH02 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 RAARCH02 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: PA_TEST = Test run
Title: Asset Accounting Archiving - Deletion Program
Text Symbol: 001 = Archive key
Text Symbol: 002 = FI-AA Archiving - Delete Session
Text Symbol: 004 = <
Text Symbol: 005 = <<
Text Symbol: 011 = CoCode Company code
Text Symbol: 040 = Statistics
Text Symbol: 041 = Deleted assets
Text Symbol: 043 = Annual Values
Text Symbol: 044 = Transactions
Text Symbol: 045 = Pstd.values Posted values
Text Symbol: 600 = Program started by user:
Text Symbol: 601 = Start date
Text Symbol: 602 = Start time
Text Symbol: 603 = Stop date
Text Symbol: 604 = Stop time
Text Symbol: 610 = No assets were deleted
Text Symbol: 700 = Errors occurred while deleting the assets.
INCLUDE RAARCHTP.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = con_anla_arch IMPORTING commit_count_for_delete_prg = gd_max_del.
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = con_anla_arch test_mode = pa_test IMPORTING archive_handle = archive_handle.
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = v_handle.
TEXT_DELETE_ARCHIVE_OBJ CALL FUNCTION 'TEXT_DELETE_ARCHIVE_OBJ' EXPORTING archive_handle = v_handle.
CHANGEDOCU_DELETE_ARCHIVE_OBJ CALL FUNCTION 'CHANGEDOCU_DELETE_ARCHIVE_OBJ' EXPORTING archive_handle = v_handle.
ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = archive_handle TABLES table = gt_stat EXCEPTIONS error_message = 0 OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RAARCH02 - Asset Accounting Archiving - Deletion Program RAARCH02 - Asset Accounting Archiving - Deletion Program RAARCH01 - Asset Accounting Archiving - Archiving Program RAARCH01 - Asset Accounting Archiving - Archiving Program RAARCH00 - Archiving program for Asset Accounting - Preprocessing program RAARCH00 - Archiving program for Asset Accounting - Preprocessing program