Function Control 

To use a Function control, you must:

To do this, call CreateObject( " SAP.Functions " ) . A Functions collection object is created automatically.

To establish a connection, you must create a Connection object. You can do this either directly from the Functions collection object, or using a Logon control. Once the Connection object is created, you can use it to logon to the R/3 System.