RINV_READ_ARCHIVE_REMADV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to gain read-access to an archive after the
If you would like to execute this report or see the full code listing simply enter RINV_READ_ARCHIVE_REMADV 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: Read Archived Bill Documents
Text Symbol: L01 = Bill Number
Text Symbol: L02 = Sender
Text Symbol: L03 = Receiver
Text Symbol: L04 = Bill Type
Text Symbol: L05 = ReceiptCat.
Text Symbol: L06 = Date
Text Symbol: L07 = Status
Text Symbol: L08 = Created
Text Symbol: L09 = Created On
Text Symbol: L10 = No. of Docs
Text Symbol: L11 = No. Ref. Lines
Text Symbol: L12 = No. I. Lines
Text Symbol: L13 = No. Proc. Lines
Text Symbol: L14 = No. Ref. Lines
Text Symbol: L15 = No. Rel. Lines
Text Symbol: L16 = No. Ex.ID Lines
Text Symbol: L17 = No. Log Header
Text Symbol: L18 = No. Log Lines
Text Symbol: L19 = No. Log Param.
Text Symbol: L20 = No. Subprocs
Text Symbol: L21 = No. Arch. Lines
RINV_ARCH_REMADV_TOP,
RINV_ARCH_REMADVF01.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = co_invoice_arch_obj IMPORTING archive_handle = wa_archive_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 = wa_archive_handle EXCEPTIONS end_of_file = 1 OTHERS = 6.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = wa_archive_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 = g_repid CHANGING cht_display_data = cht_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.