Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Built-in Services | Transaction Administration Services | pub.sap.transaction:sweep
 
pub.sap.transaction:sweep
This service can be used to cleanup the transaction store that matches the given filter criteria.
For example, set it up in the Scheduler as follows:
1. Create a Flow Service, which invokes pub.sap.transaction:sweep.
2. In the Flow Service, define the inputs using Set Value.
3. Create a scheduler job via Server > Scheduler that executes the Flow Service.
Input Parameters
elapsedTime
Filter criteria: time in minutes since the transaction has been modified the last time.
maxTrxCount
Optional. Maximum number of transactions to be deleted in one execution of the Service.
sender
Optional. Filter criteria: name of the sender of the transaction.
receiver
Optional. Filter criteria: name of the receiver of the transaction.
msgType
Optional. Filter criteria: name of the message type of the transaction.
state
Optional. Filter criteria: state of the transaction. Valid values are:
*Created
*Executed
*Committed
*Rolledback
*Confirmed
For more information about cleaning the transaction store, see Automatic Cleanup of the Transaction Stores.
Return Values
deletedEntries
Total number of deleted transactions that matched the filter criteria.