RfcConnect(char * system_name,
char * ms_hostname,
char * group_name,
char * client,
char * user,
char * password,
char * language,
int * sysnr);
opens an RFC connection via LOAD BALANCING.
With this function the RFC library will try to connect to an application server with the least load (LOAD BALANCING principle) within a group of predefined application servers.
This function is only available for R/3 Release 3.0 onwards.
Better use the call RfcOpenEx.
This function has the following advantages:
Information about the SAP gateway, application server, system number, etc. as parameters for RfcOpen or RfcOpenExt or as parameters in sideinfo are no longer necessary. Even the sideinfo is no longer required.
This function is defined in SAPRFC.H.
See also RfcOpen, RFC_OPTIONS, RfcOpenExtV3 and RFC_OPTIONS.