SAP Reports / Programs

RELARCH_REL_EABL SAP ABAP Report - Reload Archived Meter Reading Results







RELARCH_REL_EABL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reload archived meter reading results (RELARCH_REL_EABL) You can use reload program RELARCH_REL_EABL to reload a complete archiving file...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 RELARCH_REL_EABL 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 RELARCH_REL_EABL. "Basic submit
SUBMIT RELARCH_REL_EABL AND RETURN. "Return to original report after report execution complete
SUBMIT RELARCH_REL_EABL 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_TESTL = Test Run
Selection Text: P_DETAIL = Detail Log
Selection Text: P_ALLG = Short Log Only
Title: Reload Archived Meter Reading Results
Text Symbol: S01 = Technical Options
Text Symbol: P11 = No.of EABLQDCON Entries not Reloaded
Text Symbol: P10 = Number of EABLG Entries not Reloaded
Text Symbol: P09 = Number of EABL Entries not Reloaded
Text Symbol: P08 = Number of Reloaded EABLQDCONV Entries
Text Symbol: P07 = Number of Reloaded EABLG Entries
Text Symbol: P06 = Number of Reloaded EABL Entries
Text Symbol: P05 = Number of EABLQDCONV Entries Selected
Text Symbol: P04 = Number of EABLG Entries Selected
Text Symbol: P03 = Number of EABL Entries Selected
Text Symbol: P02 = Number of Reloadable Meter Reading Results
Text Symbol: P01 = Statistics
Text Symbol: D13 = Cause
Text Symbol: D12 = Detail log: meter reading results not reloaded
Text Symbol: D11 = Detail log: reloaded meter reading results
Text Symbol: D10 = Detail log: reloadable meter reading results
Text Symbol: D07 = Number of entries
Text Symbol: D06 = EABLG
Text Symbol: D05 = Error during INSERT in DB
Text Symbol: D02 = EABL
Text Symbol: D01 = MR Document Number
Text Symbol: B09 = Program stop: error reading a new object from the archive
Text Symbol: B07 = Program stop: Error inserting data records in the table EABLG
Text Symbol: B06 = Program stop: Error inserting data records in table EABL
Text Symbol: B05 = Program stop: error reading record for an archiving object
Text Symbol: B04 = Program stop: the commit counter set up in Customizing is invalid
Text Symbol: B03 = Program stop: Error closing archive file
Text Symbol: B02 = Program stop: Error reading archive information
Text Symbol: B01 = Program Stop: Error Opening Archive File
Text Symbol: A00 = >>> Test Run <<<


INCLUDES used within this REPORT RELARCH_REL_EABL

INCLUDE: RELARCH_TYP,
RELARCH_CON,
RELARCH_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_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_detail.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = co_arc_objeabl 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 = '368'.

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = co_arc_objeabl test_mode = p_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 = '369'.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = wa_arc_data-handle IMPORTING archive_name = wa_arc_data-name EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

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

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.

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

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = wa_arc_data-handle record_structure = 'EABL' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = li_eabl EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.

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

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = wa_arc_data-handle record_structure = 'EABLG' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = li_eablg EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.

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

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = wa_arc_data-handle record_structure = 'EABLQDCONV' all_records_of_object = 'X' automatic_conversion = 'X' TABLES table = li_eablqdconv EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.

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

ISU_DB_EABL_DEL_INS CALL FUNCTION 'ISU_DB_EABL_DEL_INS' EXPORTING x_upd_flag = co_insert TABLES xt_eabl = xi_eabl EXCEPTIONS input_error = 1 insert_error = 3 parameter_error = 4 OTHERS = 5.

ISU_DB_EABLG_DEL_INS CALL FUNCTION 'ISU_DB_EABLG_DEL_INS' EXPORTING x_upd_flag = co_insert TABLES xt_eablg = xi_eablg EXCEPTIONS input_error = 1 insert_error = 3 parameter_error = 4 OTHERS = 5.

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

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.

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

ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = e_detail_prot-ablbelnr i_msgtype = '1' i_msgid = 'EARC' i_msgno = '385' i_msgv1 = e_detail_prot-ablbelnr i_msgv2 = e_detail_prot-anz_eabl i_msgv3 = e_detail_prot-anz_eablg i_msgv4 = e_detail_prot-anz_eablqdconv.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = e_detail_prot-ablbelnr i_msgtype = '2' i_msgid = 'EARC' i_msgno = '367' i_msgv1 = e_detail_prot-ablbelnr.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = e_detail_prot-ablbelnr i_msgtype = '2' i_msgid = 'EARC' i_msgno = '385' i_msgv1 = e_detail_prot-ablbelnr i_msgv2 = e_detail_prot-anz_eabl i_msgv3 = e_detail_prot-anz_eablg i_msgv4 = e_detail_prot-anz_eablqdconv.

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

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lwa_eabl i_msgtype = '2' i_msgid = 'EARC' i_msgno = xv_msg.



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