/BEV2/ED_ARC_MD_RELOAD_DATAS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter /BEV2/ED_ARC_MD_RELOAD_DATAS into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: S_VBSART = D Excise Duty Type
Selection Text: S_SLAGER = D Tax/Bonded Warehouse Number
Selection Text: S_BUDAT = D Valid from
Selection Text: S_ARCHIV = D Key for Archive File
Selection Text: P_TEST = Test Run
Title: Excise Duties: Reloading Program to Archive the Document Table
Text Symbol: 010 = Created by Archiving from Archive Run:
Text Symbol: 008 = Number of Reloaded Data Objects:
Text Symbol: 005 = Number of Rewritten Data Objects:
Text Symbol: 004 = Number of Data Records Reloaded:
Text Symbol: 003 = Number of Read Data Objects:
Text Symbol: 002 = Duplicate Keys have Occurred
Text Symbol: 001 = Selection Options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' archive_name = s_archiv-low object = c_arc_object * MAINTAIN_INDEX = ' ' IMPORTING archive_handle = gv_read_handel * TABLES * ARCHIVE_FILES = * SELECTED_FILES = 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_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = c_arc_object IMPORTING commit_count_for_delete_prg = gv_commit_count EXCEPTIONS object_not_found = 1 OTHERS = 2.
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = gv_read_handel IMPORTING object_id = gv_object_id object_offset = gv_object_offset archive_name = gv_archive_name EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = gv_read_handel IMPORTING * record = gv_line " Nn-Unicode record_structure = gv_tabname record_ref = buffer_ref " Unicode EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_GET_ARCHIVE_FILES CALL FUNCTION 'ARCHIVE_GET_ARCHIVE_FILES' EXPORTING archive_handle = gv_read_handel TABLES archive_files = gt_arch_files EXCEPTIONS wrong_access_to_archive = 1 internal_error = 2 OTHERS = 3.
ARCHIVE_ADMIN_SET_STATUS CALL FUNCTION 'ARCHIVE_ADMIN_SET_STATUS' EXPORTING files_are_converted = false index_deleted = true TABLES archive_files = gt_arch_files EXCEPTIONS cannot_change_status = 1 OTHERS = 2.
ENQUEUE_/BEV2/E_EDARCMD CALL FUNCTION 'ENQUEUE_/BEV2/E_EDARCMD' * EXPORTING * MODE_/BEV2/EDARCMDID = 'E' * MANDT = SY-MANDT * VBART = * SLAGER = * JAHR = * X_VBART = ' ' * X_SLAGER = ' ' * X_JAHR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = gv_write_handel IMPORTING object_offset = gv_object_offset archive_name = wa_name_new-arc_name EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gv_read_handel EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
DEQUEUE_/BEV2/E_EDARCMD CALL FUNCTION 'DEQUEUE_/BEV2/E_EDARCMD' * EXPORTING * MODE_/BEV2/EDARCMDID = 'E' * MANDT = SY-MANDT * VBART = * SLAGER = * JAHR = * X_VBART = ' ' * X_SLAGER = ' ' * X_JAHR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/BEV2/ED_ARC_MD_RELOAD_DATAS - Excise Duties: Reloading Program to Archive the Document Table /BEV2/ED_ARC_MD_RELOAD_DATAS - Excise Duties: Reloading Program to Archive the Document Table /BEV2/ED_ARC_MD_RELOAD - Excise Duties: Selection of Archive Files to Reload /BEV2/ED_ARC_MD_RELOAD - Excise Duties: Selection of Archive Files to Reload /BEV2/ED_ARC_MD_DELETE - Excise Duty: Deletion Program for Archiving the Document Table /BEV2/ED_ARC_MD_DELETE - Excise Duty: Deletion Program for Archiving the Document Table