Class Summary

The CRfcConnection class is defined in CRfcConn.h.
The CRfcConnection class manages information concerning logon to R/3, and is also responsible for making and terminating connections. A CRfcConnection
object with a live connection is needed for any real-time interactions with R/3 through CRfcFunction objects.Construction
CRfcConnectionDefault constructor
CRfcConnectionConstructs a CRfcConnection object
Operations
AbortAborts the connection with an error message
Accept (Console Version)Accept an incoming connection, console version
Accept (Windows Version)Accept an incoming connection. Windows applications only
ClearClose connection and clear user logon and connection information
CloseCloses the connection
ConnArgvCommand line parsing (32-bit only)
ConnectOpens the connection with load-balancing
DecryptRestore encrypted information stored in a text string
EncryptEncrypt information in a text string
FromHandleCreates a new connection by using the RFC_HANDLE parameter
GetAttributesRetrieves RFC attributes stored in the CrfcConnection object
GetCommandLineArgumentReturns the command line arguments in a character string
GetConnectInfoObtains connection information stored in the object
GetHandleObtains the connection handle stored in the connection object
GetR3ReleaseObtains R/3 release version of the R/3 system
GetR3SystemInfoObtains R/3 system information by calling the RFC function module RFC_SYSTEM_INFO
GetR3SystemInfoCountReturns the number of fields in the list of R/3 system information
GetR3SystemParametersCalls RFC function RFC_GET_SAP_SYSTEM_PARAMETERS to obtain the R/3 release version
GetReleaseStringReturns a character string containing the release version of the R/3 system being connected to
GetSafeHandleObtains a verified, live connection handle
GetTraceLevelObtains the current trace level
GetUserInfoObtains user information stored in the object
IsR3AtLeast40ADetermines if the application server is running Release 4.0A or a later version of the R/3 System
OpenOpens the connection
R3SystemInfo (by field-name)Returns R/3 system information by name of field
R3SystemInfo (by index)Returns R/3 system information by index
ReadRegistryReads from Windows registry user and connection information; stores into connection object
SafeConnectOpens the connection with load-balancing and user information verification
SafeOpenOpens the connection with user information verification
SetConnectInfoSets connection information stored in the object
SetTraceLevelSets the current trace level
SetUserInfoSets user information stored in the object
WriteRegistryWrites current user and connection information into Windows registry