This function is to be installed byRfcInstallTransactionControl. The syntax is:
void RFC_ON_CONFIRM_TID(RFC_TID transactionId)
The function is called when a local transaction is completed. All informations stored about that transaction can be discarded by the server.
In general, this function can be used to delete the transaction-ID from permanent storage.
This function is defined in SAPRFC.H.
If this functions has access to a SQL database, it should perform an operation like
Delete From SomeTable where key = :transactionId; Commit Work;
where the table 'SomeTable' should have a unique index over the transaction-ID.