S_AUT_ARCH_PRE 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 S_AUT_ARCH_PRE 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: CMT_CNT = Package Size
Selection Text: DATE_H = To Date
Selection Text: PARAL = Parallel Processing
Selection Text: P_PREPRD = D .
Selection Text: P_PRETST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: RFCGROUP = D .
Title: Audit Trail (ILM): Preprocessing Program for Archiving Long Text Logs
Text Symbol: 003 = Preprocessing Program
Text Symbol: 004 = -Records
Text Symbol: 005 = started
Text Symbol: 006 = completed
Text Symbol: 009 = With this option, note the maximum runtime
Text Symbol: 010 = Current Value in Seconds:
Text Symbol: 011 = Long Text Logs
INCLUDE ARCH_PREPROC_PRG_STANDARD2. "#EC INCL_OK
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING mode_rstable = 'E' tabname = cl_s_aut_arc=>gc_arch_hist EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot i_protocol_output = p_prot_o i_context = gs_context.
S_AUT_STXH_COPY CALL FUNCTION 'S_AUT_STXH_COPY' STARTING NEW TASK 'STXH' DESTINATION IN GROUP rfcgroup PERFORMING receiver ON END OF TASK EXPORTING iv_id = gs_new_arch_hist-id iv_end_date = gs_new_arch_hist-date_to iv_counter = gs_arch_hist-max_stxh_id iv_package_size = cmt_cnt EXCEPTIONS communication_failure = 1 system_failure = 2 resource_failure = 3 OTHERS = 4.
S_AUT_STXL_COPY CALL FUNCTION 'S_AUT_STXL_COPY' STARTING NEW TASK 'STXL' DESTINATION IN GROUP rfcgroup PERFORMING receiver ON END OF TASK EXPORTING iv_id = gs_new_arch_hist-id iv_end_date = gs_new_arch_hist-date_to iv_counter = gs_arch_hist-max_stxl_id iv_package_size = cmt_cnt EXCEPTIONS communication_failure = 1 system_failure = 2 resource_failure = 3 OTHERS = 4.
S_AUT_STXH_COPY CALL FUNCTION 'S_AUT_STXH_COPY' EXPORTING iv_id = gs_new_arch_hist-id iv_end_date = gs_new_arch_hist-date_to iv_counter = gs_arch_hist-max_stxh_id iv_package_size = cmt_cnt IMPORTING ev_max_counter = gv_max_stxh_counter EXCEPTIONS no_history = 1 invalid_history = 2 not_authorized = 3 database_locked = 4 internal_error = 5 conversion_error = 6 OTHERS = 7.
S_AUT_STXL_COPY CALL FUNCTION 'S_AUT_STXL_COPY' EXPORTING iv_id = gs_new_arch_hist-id iv_end_date = gs_new_arch_hist-date_to iv_counter = gs_arch_hist-max_stxl_id iv_package_size = cmt_cnt IMPORTING ev_max_counter = gv_max_stxl_counter EXCEPTIONS no_history = 1 invalid_history = 2 not_authorized = 3 database_locked = 4 internal_error = 5 conversion_error = 6 OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
S_AUT_ARCH_PRE - Audit Trail (ILM): Preprocessing Program for Archiving Long Text Logs S_AUT_ARCH_PRE - Audit Trail (ILM): Preprocessing Program for Archiving Long Text Logs S_AUT_ARCH_DEL - Audit Trail (ILM): Deletion Program for Long Text Logs S_AUT_ARCH_DEL - Audit Trail (ILM): Deletion Program for Long Text Logs S_AUTH_REGENERATE_DEPENDENT - Program SUPRN_REGENERATE_DEPENDENT S_AUTH_REGENERATE_DEPENDENT - Program SUPRN_REGENERATE_DEPENDENT