This function is to be installed by RfcInstallTransactionControl. 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.

Function Parameter:

If this functions has access to a SQL database, it should perform an operation like
Rollback work;