AUT_ARCH01 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 AUT_ARCH01 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: P_AR_ILM = D .
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_DEST = D .
Selection Text: P_SNAP = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Title: Archiving of Long Text Logs: Write Program
Text Symbol: 002 = Write Program
INCLUDE AUT_ARCH_TYPES.
INCLUDE ARCH_WRITE_PRG_STANDARD1.
INCLUDE AUT_ARCH_CONST.
INCLUDE AUT_ARCH01_FORMS.
INCLUDE AUT_ARCH_FUNC_AUT10.
INCLUDE LAUT_ARCHF01.
INCLUDE AUT_ARCH_COMMON.
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = gc_arch_hist EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = p_deltst create_archive_file = p_wriprd object = gc_object comments = p_coment IMPORTING archive_handle = gd_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.
ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = gd_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gd_handle record = gw_adm record_structure = gc_adm EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = gd_handle record = gw_dbtablog_stxh_short record_structure = gc_head EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = gd_handle record_structure = gc_dbtablog_stxl_a TABLES table = gt_dbtablog_stxl_a EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = gd_handle record_structure = gc_dbtablog_stxl_b TABLES table = gt_dbtablog_stxl_b EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = gd_handle record_structure = gc_extend_a TABLES table = gt_dbtablog_stxl_extend_a EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = gd_handle record_structure = gc_extend_b TABLES table = gt_dbtablog_stxl_extend_b EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.
ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = gd_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = gc_arch_hist.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = gd_handle EXCEPTIONS internal_error = 1 OTHERS = 2.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gd_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
AUT_ARCH01 - Archiving of Long Text Logs: Write Program AUT_ARCH01 - Archiving of Long Text Logs: Write Program AUTO_REFR - AUTOREFR AUTO_RCPTRANS - AUTOMOTIVE version of program for transferring changes to master data AUTO_RCPTRANS - AUTOMOTIVE version of program for transferring changes to master data AUTOFK20F10 - Include AUTOFK20F10