/SAPTRX/EH_AUTO_ARCH - Automatic Archiving of Event Handlers

General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Functionality

This function module enables you to automatically archive event handlers. The event handler GUID andthe 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 fordefining 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

ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.


Length: 1237 Date: 20120525 Time: 062744     triton ( 80 ms )