Start of Content Area

RFC_ON_ROLLBACK  Locate the document in its SAP Library structure

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:

Transaction-ID

Note

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