This function is to be installed by RfcInstallTransactionControl. The syntax is:

int RFC_ON_COMMIT(RFC_TID transactionId)

The function is called when a local transaction ends.

The function is to be used to commit the local transaction, if necessary.

This function is defined in SAPRFC.H.

Function Parameter:

  • transactionId


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