Class Summary

The CrfcClientFunc class is defined in CRfcClnt.h.
The CRfcClientFunc class contains functionality that is needed for making calls to R/3 as a client. Each CRfcClientFunc object represents one remotely-callable function module in R/3.
Users can choose to let this class automatically construct all parameters associated with the RFC function. This includes importing and exporting parameters (simple and structure) and table parameters. To choose automatic construction, you simply set the bAutoCreate argument to TRUE when calling the constructor to instantiate an object.

Automatic generation of the parameters for the client function object cannot be done until a valid connection exists between the client machine and the RFC server. In other words, to construct a client function object, the connection object being passed in to the constructor for this class as argument must have a valid RFC handle (non-zero).
Construction
CRfcClientFuncConstructs a client function object
Operations
CallMakes one-way call to R/3; sends import parameters and table data
ReceiveMakes one-way call to R/3; receives export parameters and table data
CallReceiveMakes two-way call to R/3; sends and receives import and export parameters and table data
CreateTransIDObtains a transaction ID from R/3 and stores it in the class (Version 3.0+)
IndirectCallMakes a one-way transactional call to R/3 (Version 3.0+)
ReadRestores metadata information about this CRfcClientFunc object from persistent stream.
WriteWrites metadata information for this CRfcClientFunc object to persistent stream.