This function is to be installed byRfcInstallTransactionControl. The syntax is:
int RFC_ON_ROLLBACK(RFC_TID transactionId)
The function is called when a local transaction ends with failure.
The function is to be used to roll back the local transaction, if necessary.
This function is defined in SAPRFC.H.
If this functions has access to a SQL database, it should perform an operation like