Connecting to R/3 


To use any functionality of the R/3 application server, you must first connect to R/3.


  1. Establish a connection to R/3, by using the Connect, the NewGroupConnection, or the NewServerConnection methods of SapEvent.
  2. You can optionally specify that the standard SAPGUI is to be displayed. In this case, a SAPGUI and one Front are invoked.

  3. Log onto the SAP system, by using the Logon method of SapEvent.
  4. Logoff from the R/3 system when done.

You can handle up to six sessions in the connection. See the details in the topic Using Multiple Sessions.

You can handle multiple connections by calling the connection functions multiple times. You may use up to 99 connections.

See Also

Connecting to R/3 when using the GUI Library, Connection flags, and the equivalent GUI Library connection flags