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

REPDAR_REL_LINES_ILM SAP ABAP Report - Reload archived print document line items







REPDAR_REL_LINES_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 line items...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_LINES_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_LINES_ILM. "Basic submit
SUBMIT REPDAR_REL_LINES_ILM AND RETURN. "Return to original report after report execution complete
SUBMIT REPDAR_REL_LINES_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_ALLG = Short Log Only
Selection Text: P_DETAIL = Detail Log
Selection Text: P_PROT = D .
Selection Text: P_TESTL = Test Run
Selection Text: P_PROT_O = D .
Selection Text: P_RELPRD = D .
Selection Text: P_RELTST = D .
Title: Reload archived print document line items
Text Symbol: 001 = Technical Options
Text Symbol: 002 = Log Type
Text Symbol: A00 = >>> Test Run <<<
Text Symbol: P01 = Statistics
Text Symbol: P02 = Reloadable DBERDL line items
Text Symbol: P03 = Reloaded DBERDL line items
Text Symbol: P04 = In number of documents
Text Symbol: P05 = Reloadable DBERDLB line items
Text Symbol: P06 = Reloadable DBERDZ line items
Text Symbol: P07 = Reloaded DBERDLB line items
Text Symbol: P08 = Reloaded DBERDZ line items


INCLUDES used within this REPORT REPDAR_REL_LINES_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_objl 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_objl 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 = '420' 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_PDL_DATA_FROM_ARCHIVE CALL FUNCTION 'ISU_GET_PDL_DATA_FROM_ARCHIVE' EXPORTING x_handle = wa_arc_data-handle IMPORTING y_anz_erdl = lwa_detail-erdl y_anz_erdlb = lwa_detail-erdlb y_anz_erdz = lwa_detail-erdz y_opbel = lwa_detail-opbel TABLES yi_erdl = lt_erdl yi_erdlb = lt_erdlb yi_erdz = lt_erdz 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 = '414' i_msgv1 = sy-subrc.

ISU_DB_DBERDZ_INSERT CALL FUNCTION 'ISU_DB_DBERDZ_INSERT' IMPORTING y_erdl_dbcnt = lv_anz_erdl y_erdlb_dbcnt = lv_anz_erdlb y_erdz_dbcnt = lv_anz_erdz TABLES xt_erdl = xt_erdl xt_erdlb = xt_erdlb xt_erdz = xt_erdz EXCEPTIONS input_error = 1 insert_error_erdz = 2 insert_error_erdl = 3 insert_error_erdlb = 4 OTHERS = 5.

ISU_DB_ERDK_UPD_ARCFLAG_SINGLE CALL FUNCTION 'ISU_DB_ERDK_UPD_ARCFLAG_SINGLE' EXPORTING x_opbel = -opbel x_items_archived = co_arcstat_init * x_items_archived = co_arcstat_1 "only for test EXCEPTIONS update_error = 1 value_not_allowed = 2 general_fault = 3 OTHERS = 4.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = -opbel i_msgtype = '2' i_msgid = 'EARC' i_msgno = '419' 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 = '421' i_msgv1 = -opbel.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = -opbel i_msgtype = '2' i_msgid = 'EARC' i_msgno = '423'.

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 = '422' i_msgv1 = -opbel.

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'.

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.



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