SAP Reports / Programs | Archiving | SAP Utilities | Archiving(IS-U-TO-ARC) SAP IS

REPDAR_READ_ARCHIVE_HEAD SAP ABAP Report - Display print document header archive







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

EARDISP01 - Display Archive: Print Doc. Header


ABAP code to call this SAP report using the submit statement

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.






SUBMIT REPDAR_READ_ARCHIVE_HEAD. "Basic submit
SUBMIT REPDAR_READ_ARCHIVE_HEAD AND RETURN. "Return to original report after report execution complete
SUBMIT REPDAR_READ_ARCHIVE_HEAD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT REPDAR_READ_ARCHIVE_HEAD

INCLUDE: REPDAR01_TYP,
REPDAR01_CON,
REPDAR01_TOP.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

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 REPDAR_READ_ARCHIVE_HEAD or its description.