Ansicht
Dokumentation

/SAPTRX/EH_AUTO_ARCH - Automatic Archiving of Event Handlers

/SAPTRX/EH_AUTO_ARCH - Automatic Archiving of Event Handlers

ROGBILLS - Synchronize billing plans   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module enables you to automatically archive event handlers. The event handler GUID and the date when the event handler is to be archived are inserted into table /SAPTRX/ARCH_EH. The number of days after which the event handler can be archived is specified in the transaction for defining residence times.

  • Parameter 1: Enter the name of the auto archive parameter defined for event handlers in the Customizing transaction mentioned above.

The event handlers are archived using report /SAPTRX/AUTO_ARCHIVE_A0. This report archives all entries whose archive date is either the day the report is run or earlier.

Example

You want to archive event handlers 30 days after an event has occurred. You use this function module in your rule set and schedule report SAPTRX/AUTO_ARCHIVE_A0.

Notes

The event handler must be inactive.

Event handler archiving does not work in simulation mode.

Further information





Parameters

E_RETURN_CODE
I_EAI

Exceptions

Function Group

TRX/SAPLAUTO_ARCH

CPI1466 during Backup   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1317 Date: 20240416 Time: 223742     sap01-206 ( 31 ms )