SAP Reports / Programs

AUT_ARCH_UNDO SAP ABAP Report - Archiving of Long Text Logs: Deletion of Last Preprocessing







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


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 AUT_ARCH_UNDO. "Basic submit
SUBMIT AUT_ARCH_UNDO AND RETURN. "Return to original report after report execution complete
SUBMIT AUT_ARCH_UNDO 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: 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:


INCLUDES used within this REPORT AUT_ARCH_UNDO

INCLUDE AUT_ARCH_CONST.
INCLUDE AUT_ARCH_TYPES.
INCLUDE AUT_ARCH_COMMON.
INCLUDE AUT_ARCH_FUNC_AUT10.


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:

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.



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