Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Transaction Handling | Automatic Cleanup of the Transaction Stores | Example
 
Example
To periodically purge all transactions that have been in the Confirmed state for longer than 30 minutes, you can create a service called app:purgeConfirmedTRX with those state and time parameters. You also specify how many transactions every invocation of the service will purge. This is so you can control the pace of your maintenance jobs without putting to much load on Integration Server at one single time. It is also a good idea to schedule the job at times when there is not much load on Integration Server.