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

REPDAR_REL_HEAD_ILM SAP ABAP Report - Reload archived print document headers







REPDAR_REL_HEAD_ILM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reload archived print document headers...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_REL_HEAD_ILM into the relevant SAP transactions such as SE38 or SE80


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_REL_HEAD_ILM. "Basic submit
SUBMIT REPDAR_REL_HEAD_ILM AND RETURN. "Return to original report after report execution complete
SUBMIT REPDAR_REL_HEAD_ILM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_RELTST = D .
Selection Text: P_RELPRD = D .
Selection Text: P_PROT_O = D .
Selection Text: P_TESTL = Test Run
Selection Text: P_PROT = D .
Selection Text: P_DETAIL = Detail Log
Selection Text: P_ALLG = Short Log Only
Title: Reload archived print document headers
Text Symbol: 015 = Statistics
Text Symbol: 014 = Technical Options
Text Symbol: 013 = Log Type
Text Symbol: 012 = No. of Related ETAXERDK Entries
Text Symbol: 011 = Number of Related ERDTS Entries
Text Symbol: 010 = Number of Related EITERDK Entries
Text Symbol: 009 = No. of Rel. ECHANGE_SERVICE Entries
Text Symbol: 008 = No. of Related DBERDR entries
Text Symbol: 007 = No. of Related DBERDU Entries
Text Symbol: 006 = No. of Associated DBEOSB Entries
Text Symbol: 005 = No. of related ERDB entries
Text Symbol: 004 = Number of Related ERDO Entries
Text Symbol: 003 = Reloaded Print Document Headers
Text Symbol: 002 = Reloadable Print Document Headers
Text Symbol: 001 = >>> Test Run <<<


INCLUDES used within this REPORT REPDAR_REL_HEAD_ILM

INCLUDE: REPDAR01_TYP,
REPDAR01_CON,
REPDAR01_TOP,
INCLUDE ARCH_RELOAD_PRG_STANDARD2.


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_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = co_arc_objh IMPORTING commit_count_for_delete_prg = wa_arc_data-commit_count maintain_index = wa_arc_data-index.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '206'.

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = co_arc_objh test_mode = xv_testl IMPORTING archive_read_handle = wa_arc_data-handle EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '201'.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = wa_arc_data-handle EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_msgid = 'EARC' i_msgno = '437' i_msgv1 = wa_statistic-erdk-process i_processed = wa_statistic-erdk-process i_output_immediately = co_true.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '204'.

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 = lwa_detail-erdo y_anz_erdu = lwa_detail-erdu y_anz_erdr = lwa_detail-erdr y_anz_erdb = lwa_detail-erdb y_anz_eosb = lwa_detail-eosb y_anz_erdts = lwa_detail-erdts y_anz_chgserv = lwa_detail-chgserv TABLES yi_erdk = lt_erdk yi_erdo = lt_erdo yi_erdu = lt_erdu yi_erdr = lt_erdr yi_erdb = lt_erdb yi_eiterdk = lt_eiterdk yt_eosb = lt_eosb yt_erdts = lt_erdts yt_etaxerdk = lt_etax yt_chgserv = lt_chgserv EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 other_error = 4 OTHERS = 5.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lwa_detail-opbel i_msgtype = '2' i_msgid = 'EARC' i_msgno = '436' i_msgv1 = sy-subrc.

ISU_DB_ERDK_INSERT CALL FUNCTION 'ISU_DB_ERDK_INSERT' IMPORTING y_dbcnt = lv_anz_erdk TABLES xt_erdk = xwa_pdh_rel-erdk EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_EITERDK_INSERT_ARC CALL FUNCTION 'ISU_DB_EITERDK_INSERT_ARC' IMPORTING y_dbcnt = lv_anz_eiterdk TABLES xt_eiterdk = xwa_pdh_rel-eiterdk EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_ETAXERDK_INSERT CALL FUNCTION 'ISU_DB_ETAXERDK_INSERT' IMPORTING y_dbcnt = lv_anz_etax TABLES xt_etaxerdk = xwa_pdh_rel-etax EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_ERDO_INSERT CALL FUNCTION 'ISU_DB_ERDO_INSERT' IMPORTING y_dbcnt = lv_anz_erdo TABLES xt_erdo = xwa_pdh_rel-erdo EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_ERDB_INSERT CALL FUNCTION 'ISU_DB_ERDB_INSERT' IMPORTING y_dbcnt = lv_anz_erdb TABLES xt_erdb = xwa_pdh_rel-erdb EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_DBERDU_INSERT CALL FUNCTION 'ISU_DB_DBERDU_INSERT' IMPORTING y_dbcnt = lv_anz_erdu TABLES xt_erdu = xwa_pdh_rel-erdu EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_DBERDR_INSERT CALL FUNCTION 'ISU_DB_DBERDR_INSERT' IMPORTING y_dbcnt = lv_anz_erdr TABLES xt_erdr = xwa_pdh_rel-erdr EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_DBEOSB_INSERT CALL FUNCTION 'ISU_DB_DBEOSB_INSERT' IMPORTING y_dbcnt = lv_anz_eosb TABLES xt_eosb = xwa_pdh_rel-eosb EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_ERDTS_INSERT CALL FUNCTION 'ISU_DB_ERDTS_INSERT' IMPORTING y_dbcnt = lv_anz_erdts TABLES xt_erdts = xwa_pdh_rel-erdts EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ISU_DB_ECHANGE_SERVICE_INSERT





CALL FUNCTION 'ISU_DB_ECHANGE_SERVICE_INSERT' IMPORTING y_dbcnt = lv_anz_chgserv TABLES xt_echange_service = xwa_pdh_rel-chgserv EXCEPTIONS input_error = 1 insert_error = 2 OTHERS = 3.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = wa_arc_data-handle TABLES table = lt_stat_tab.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = -opbel i_msgtype = '1' i_msgid = 'EARC' i_msgno = '439' i_msgv1 = -opbel.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = wa_arc_data-handle TABLES table = lt_stat_tab.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = -opbel i_msgtype = '1' i_msgid = 'EARC' i_msgno = '440' i_msgv1 = -opbel.

ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.

ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = xv_detail i_protocol_output = xv_prot_o.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '438' i_msgv1 = xv_subrc i_msgv3 = xv_table.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = wa_arc_data-handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = wa_arc_data-handle EXCEPTIONS OTHERS = 1.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'EARC' i_msgno = '202'.



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