REPDAR_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 print document This report allows you to gain read access to an archive immediately after the archiving report REPDAR_ARCH_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 REPDAR_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
EARDISP01 - Display Archive: Print Doc. Header
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 print document header archive
Text Symbol: 001 = No.DBEOSB
Text Symbol: 002 = No.ERDTS
Text Symbol: 003 = No. ECHG.SERV.
Text Symbol: L01 = OIDOC
Text Symbol: L02 = PRINTDAT
Text Symbol: L03 = PODAT
Text Symbol: L04 = DOCDT
Text Symbol: L05 = PARTNER
Text Symbol: L07 = CACNT
Text Symbol: L08 = CRDAT
Text Symbol: L09 = CRNAM
Text Symbol: L10 = No. ERDO
Text Symbol: L11 = No. ERDB
Text Symbol: L12 = No. DBERDU
Text Symbol: L13 = No. DBERDR
Text Symbol: L14 = No.EITERDK
INCLUDE: REPDAR01_TYP,
REPDAR01_CON,
REPDAR01_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING object = co_arc_objh IMPORTING archive_handle = wa_arc_data-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_arc_data-handle EXCEPTIONS end_of_file = 1 OTHERS = 6.
ISU_GET_PDH_DATA_FROM_ARCHIVE CALL FUNCTION 'ISU_GET_PDH_DATA_FROM_ARCHIVE' EXPORTING x_handle = wa_arc_data-handle IMPORTING y_anz_erdo = wa_statistic-erdo-read y_anz_erdu = wa_statistic-erdu-read y_anz_erdr = wa_statistic-erdr-read y_anz_erdb = wa_statistic-erdb-read y_anz_eosb = wa_statistic-eosb-read y_anz_erdts = wa_statistic-erdts-read y_anz_chgserv = wa_statistic-chgserv-read TABLES yi_erdk = li_erdk yi_eiterdk = li_eiterdk EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 other_error = 4 OTHERS = 5.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = wa_arc_data-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.
REPDAR_READ_ARCHIVE_HEAD - Display print document header archive REPDAR_READ_ARCHIVE_HEAD - Display print document header archive REPDAR_GLOBAL_FORMS - IS-U Archiving: Global Forms for Archiving Print Documents REPDAR_DEL_LINES_VAR - Include REPDAR_DEL_LINES_VAR REPDAR_DEL_LINES_TOP - Include REPDAR_DEL_LINES_TOP REPDAR_DEL_LINES_ILM - Delete archived print document line items