The function
RFC_RC SAP_API RfcCreateTransID(void)
gets a transaction-ID for a following call of a function module in the SAP system using the transactional RFC interface in the SAP system.
With this function a new TransID will be produced from the SAP system. The RFC client program has to call a function module in the SAP system via RfcIndirectCall with this TransID.
If an error occurs (e.g. communication error) during the call of a function module in the SAP system via RfcIndirectCall, the RFC client program has to reconnect the RFC connection and repeat the RfcIndirectCall without creating a new TransId.
This function is defined in SAPRFC.H.
See also RfcIndirectCall and RFC_TID.