Ansicht
Dokumentation
/SAPTRX/EH_AUTO_ARCH - Automatic Archiving of Event Handlers
Vendor Master (General Section) RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
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_CODEI_EAI
Exceptions
Function Group
TRX/SAPLAUTO_ARCHRFUMSV00 - Advance Return for Tax on Sales/Purchases ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1317 Date: 20240523 Time: 050436 sap01-206 ( 30 ms )