AUT_ARCH_UNDO 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_ARCH_UNDO 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: PARAL = Parallel Processing
Selection Text: P_PSIZE = Packet Size
Selection Text: RFCGROUP = D Logon/Server Group
Title: Archiving of Long Text Logs: Deletion of Last Preprocessing
Text Symbol: 001 = Technical Control
Text Symbol: 002 = Program
Text Symbol: 003 = Do you want to undo the last preprocessing
Text Symbol: 004 = program of archiving object ELR_LTXTS?
Text Symbol: 005 = Confirmation Prompt
Text Symbol: 006 = For this option, note the maximum runtime
Text Symbol: 007 = Current Value in Seconds:
INCLUDE AUT_ARCH_CONST.
INCLUDE AUT_ARCH_TYPES.
INCLUDE AUT_ARCH_COMMON.
INCLUDE AUT_ARCH_FUNC_AUT10.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-003 textline2 = text-004 titel = text-005 IMPORTING answer = gd_answer.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING mode_rstable = 'S' tabname = gc_arch_hist EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
AUT_STXH_STXL_DELETE CALL FUNCTION 'AUT_STXH_STXL_DELETE' STARTING NEW TASK 'STXH' DESTINATION IN GROUP rfcgroup PERFORMING receiver ON END OF TASK EXPORTING i_tabname = gc_stxh_arch cmt_cnt = p_psize EXCEPTIONS communication_failure = 1 system_failure = 2 RESOURCE_FAILURE = 3 OTHERS = 4.
AUT_STXH_STXL_DELETE CALL FUNCTION 'AUT_STXH_STXL_DELETE' STARTING NEW TASK 'STXL' DESTINATION IN GROUP rfcgroup PERFORMING receiver ON END OF TASK EXPORTING i_tabname = gc_stxl_arch cmt_cnt = p_psize EXCEPTIONS communication_failure = 1 system_failure = 2 RESOURCE_FAILURE = 3 OTHERS = 4.
AUT_STXH_STXL_DELETE CALL FUNCTION 'AUT_STXH_STXL_DELETE' EXPORTING i_tabname = gc_stxh_arch i_cmt_cnt = p_psize EXCEPTIONS not_authorized = 1 database_locked = 2 OTHERS = 3.
AUT_STXH_STXL_DELETE CALL FUNCTION 'AUT_STXH_STXL_DELETE' EXPORTING i_tabname = gc_stxl_arch i_cmt_cnt = p_psize EXCEPTIONS not_authorized = 1 database_locked = 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.