SAP Reports / Programs

AUT_ARCHV SAP ABAP Report - Archiving of Long Text Logs: Preprocessing Program







AUT_ARCHV 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_ARCHV 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_ARCHV. "Basic submit
SUBMIT AUT_ARCHV AND RETURN. "Return to original report after report execution complete
SUBMIT AUT_ARCHV 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: CMT_CNT = Packet Size
Selection Text: DATE_H = To Date
Selection Text: PARAL = Parallel Processing
Selection Text: RFCGROUP = D Logon/Server Group
Title: Archiving of Long Text Logs: Preprocessing Program
Text Symbol: 001 = Restrictions
Text Symbol: 002 = Technical Control
Text Symbol: 003 = Preprocessing Program
Text Symbol: 004 = Records
Text Symbol: 005 = Started
Text Symbol: 006 = Completed
Text Symbol: 007 = Table
Text Symbol: 008 = Locked
Text Symbol: 009 = For this option, note the maximum runtime
Text Symbol: 010 = Current Value in Seconds:


INCLUDES used within this REPORT AUT_ARCHV

INCLUDE AUT_ARCH_TYPES.
INCLUDE AUT_ARCH_CONST.
INCLUDE AUT_ARCHV_FORMS.
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:

AUT_STXH_STXL_DELETE * CALL FUNCTION 'AUT_STXH_STXL_DELETE' * EXPORTING * i_tabname = gc_stxh_arch * i_cmt_cnt = cmt_cnt * 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 = cmt_cnt * EXCEPTIONS * not_authorized = 1 * database_locked = 2 * OTHERS = 3.

AUT_STXH_COPY CALL FUNCTION 'AUT_STXH_COPY' STARTING NEW TASK 'STXH' DESTINATION IN GROUP rfcgroup PERFORMING receiver ON END OF TASK EXPORTING id = gw_new_arch_hist-id end_date = gw_new_arch_hist-date_to counter = gw_arch_hist-max_stxh_id package_size = cmt_cnt EXCEPTIONS communication_failure = 1 system_failure = 2 resource_failure = 3 OTHERS = 4.

AUT_STXL_COPY CALL FUNCTION 'AUT_STXL_COPY' STARTING NEW TASK 'STXL' DESTINATION IN GROUP rfcgroup PERFORMING receiver ON END OF TASK EXPORTING id = gw_new_arch_hist-id end_date = gw_new_arch_hist-date_to counter = gw_arch_hist-max_stxl_id package_size = cmt_cnt EXCEPTIONS communication_failure = 1 system_failure = 2 resource_failure = 3 OTHERS = 4.

AUT_STXH_COPY CALL FUNCTION 'AUT_STXH_COPY' EXPORTING id = gw_new_arch_hist-id end_date = gw_new_arch_hist-date_to counter = gw_arch_hist-max_stxh_id package_size = cmt_cnt IMPORTING max_counter = gd_max_stxh_counter EXCEPTIONS no_history = 1 invalid_history = 2 not_authorized = 3 database_locked = 4 internal_error = 5 conversion_error = 6 OTHERS = 7.

AUT_STXL_COPY CALL FUNCTION 'AUT_STXL_COPY' EXPORTING id = gw_new_arch_hist-id end_date = gw_new_arch_hist-date_to counter = gw_arch_hist-max_stxl_id package_size = cmt_cnt IMPORTING max_counter = gd_max_stxl_counter EXCEPTIONS no_history = 1 invalid_history = 2 not_authorized = 3 database_locked = 4 internal_error = 5 conversion_error = 6 OTHERS = 7.



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