REAARCH02 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 REAARCH02 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.
Title: General output routines for IS-U Archiving
Text Symbol: 001 = Program started by user
Text Symbol: 002 = Start date
Text Symbol: 003 = Start time
Text Symbol: 004 = Stop date
Text Symbol: 005 = Stop time
Text Symbol: 006 = Processed/Created Archiving Run:
INCLUDE: IEEDM_PROFVAL,
No SAP DATABASE tables are accessed within this REPORT code!
RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = prgname TABLES selection_table = vari_tab EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.
RS_LIST_SELECTION_TABLE CALL FUNCTION 'RS_LIST_SELECTION_TABLE' EXPORTING report = prgname seltext = 'X' TABLES sel_tab = vari_tab.
ARCHIVE_GET_NEXT_STRUCT_SPECIF CALL FUNCTION 'ARCHIVE_GET_NEXT_STRUCT_SPECIF' EXPORTING archive_handle = xv_arc_handle record_structure = 'ERCH' IMPORTING record = yv_erch EXCEPTIONS end_of_level = 1 OTHERS = 2.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'ERCHO' TABLES table = yt_ercho EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'ERCHC' TABLES table = yt_erchc EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'ERCHP' TABLES table = yt_erchp EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHV' TABLES table = yt_dberchv EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_NEXT_STRUCT_SPECIF CALL FUNCTION 'ARCHIVE_GET_NEXT_STRUCT_SPECIF' EXPORTING archive_handle = xv_arc_handle record_structure = 'ETAXERCH' IMPORTING record = yv_etaxerch EXCEPTIONS end_of_level = 1 end_of_object = 2 OTHERS = 3.
ARCHIVE_GET_NEXT_STRUCT_SPECIF CALL FUNCTION 'ARCHIVE_GET_NEXT_STRUCT_SPECIF' EXPORTING archive_handle = xv_arc_handle record_structure = 'EMDUSDRQHEAD' IMPORTING record = ls_head EXCEPTIONS end_of_level = 1 end_of_object = 2 OTHERS = 3.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'EMDUSDRQITEM' TABLES table = lt_item EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'EMDUSDRQINPUT' TABLES table = lt_input EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'EMDUSDRQRESULT' TABLES table = lt_result EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'EMDUSDRQEXCL' TABLES table = lt_excl EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHZ' TABLES table = yt_dberchz EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHZ1' TABLES table = yt_dberchz1 EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHZ2' TABLES table = yt_dberchz2 EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHZ3' TABLES table = yt_dberchz3 EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHZ4' * ALL_RECORDS_OF_OBJECT = ' ' * AUTOMATIC_CONVERSION = 'X' * IMPORTING * RECORD_CURSOR = * RECORD_FLAGS = * RECORD_LENGTH = TABLES table = yt_dberchz4 EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHR' * ALL_RECORDS_OF_OBJECT = ' ' * AUTOMATIC_CONVERSION = 'X' * IMPORTING * RECORD_CURSOR = * RECORD_FLAGS = * RECORD_LENGTH = TABLES table = yt_dberchr EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHT' * ALL_RECORDS_OF_OBJECT = ' ' * AUTOMATIC_CONVERSION = 'X' * IMPORTING * RECORD_CURSOR = * RECORD_FLAGS = * RECORD_LENGTH = TABLES table = yt_dbercht EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHU' * ALL_RECORDS_OF_OBJECT = ' ' * AUTOMATIC_CONVERSION = 'X' * IMPORTING * RECORD_CURSOR = * RECORD_FLAGS = * RECORD_LENGTH = TABLES table = yt_dberchu EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERDTAX' * ALL_RECORDS_OF_OBJECT = ' ' * AUTOMATIC_CONVERSION = 'X' * IMPORTING * RECORD_CURSOR = * RECORD_FLAGS = * RECORD_LENGTH = TABLES table = yt_dberdtax EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = xv_arc_handle record_structure = 'DBERCHE' * ALL_RECORDS_OF_OBJECT = ' ' * AUTOMATIC_CONVERSION = 'X' * IMPORTING * RECORD_CURSOR = * RECORD_FLAGS = * RECORD_LENGTH = TABLES table = yt_dberche EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
ISU_DB_EPROFINTSIZE_SELECT_ALL CALL FUNCTION 'ISU_DB_EPROFINTSIZE_SELECT_ALL' EXPORTING x_spras = sy-langu TABLES t_teprofintsize = it_eprofintsize[] EXCEPTIONS not_found = 1 OTHERS = 2.
ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = x_arc_handle record_structure = x_structure_name TABLES table = yt_result EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = x_tabletype all_types = 'X' * LFIELDNAME = ' ' * GROUP_NAMES = ' ' IMPORTING ttypinfo_wa = wa_ttypinfo EXCEPTIONS not_found = 1 OTHERS = 2.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = x_arc_handle record_structure = x_structure_name TABLES table = xt_input EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
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 REAARCH02 or its description.