OnConfirm 

Purpose

This function is called when local transaction is completed.

Syntax

virtual void OnConfirm(RFC_TID TransID);

Parameters

transID: The transaction ID for the local transaction.

Description

This function is a pure virtual function to be implemented by derived classes. In general it can be used to delete the transaction ID from permanent storage. If this functions has access to a SQL database, it should perform a operation like

Delete From SomeTable where key = :transactionId; Commit Work;

where the table 'SomeTable' should have a unique index over the transaction ID.

Do not call this function yourself, it is automatically invoked during Run.

Related Information

OnCheckID

OnCommit

OnRollBack