OpenConnection Method
Opens a connection to the SAP system.
Syntax
public void openConnection();
Remarks
Connection fields are specified in the SapConnection property .
At the very least, you must supply the Client, Host, User, and Password to connect to and authenticate with a server. If ConnectionType is set to ctSOAP then you need to supply the SoapURL as well.
Note that it is not necessary to call OpenConnection while using SOAP, however if you do, the bean will call the function RFC_PING to determine if the SOAP service specified in SoapURL is available.