REAARCH_READ_ARCHIVE_HEAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display billing document header archive This report allows you to gain read access to an archive immediately after the archiving report REAARCH_READ_HEAD has run and to display some of the data in a list...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 REAARCH_READ_ARCHIVE_HEAD into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
EARDISP03 - Display Archive: Billing Document
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: Display Billing Document Archive
Text Symbol: L01 = BELNR
Text Symbol: L02 = BUKRS
Text Symbol: L03 = DIVIS
Text Symbol: L04 = BPARTNER
Text Symbol: L05 = VKONT
Text Symbol: L07 = VERTRAG
Text Symbol: L08 = STRTBPER
Text Symbol: L09 = ENDBPER
Text Symbol: L10 = BELEGDAT
Text Symbol: L11 = BLLTRNS
Text Symbol: L12 = No. ERCHO
Text Symbol: L13 = No. ERCHC
Text Symbol: L14 = No.DBERCHV
Text Symbol: L15 = No. ERCHP
INCLUDE REAARCH_READ_ARCHIVE_HEAD01.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = co_isu_bill_archive_obj IMPORTING archive_handle = yv_arc_handle EXCEPTIONS file_already_open = 1 no_files_available = 4 not_authorized = 7 OTHERS = 8.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = xv_arc_handle EXCEPTIONS end_of_file = 1 OTHERS = 6.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = xv_arc_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ISU_REUSE_ALV_SIMPLE_STRIPED CALL FUNCTION 'ISU_REUSE_ALV_SIMPLE_STRIPED' EXPORTING im_repid = im_repid CHANGING cht_display_data = imt_display_data.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
REAARCH_READ_ARCHIVE_HEAD - Display Billing Document Archive REAARCH_READ_ARCHIVE_HEAD - Display Billing Document Archive REAARCH_READ_ARCHIVE_EXRESP - Display TOU Exception Responses from the Archive REAARCH_READ_ARCHIVE_EXRESP - Display TOU Exception Responses from the Archive REAARCH_READ_ARCHIVE_EXCEPT - Display TOU Exceptions From the Archive REAARCH_READ_ARCHIVE_EXCEPT - Display TOU Exceptions From the Archive