Using the connect command

You use the Connect command to establish a connection to an SAP system. Based on the connection type used by your organization, you can use the Custom Application Server or the Group/Server Selection type to establish a connection.

Prerequisites

Ensure that all the prerequisites mentioned in the Using BAPI to automate tasks in SAP are met.

To connect to an SAP system:

Procedure

  1. Expand the SAP Integration command node and double-click the Connect command.
    The SAP Integration dialog box appears.
  2. Enter a name for the session in the Session Name field.
  3. Select an option from the Connection Type list, to specify the connection type to be used.
    Following options are available:
    • Custom Application Server
    • Group/Server Selection
  4. Enter details in the following fields:
    • Application Server Host
    • Client
    • User Name
    • Password
    • System Number
    • Language
    • System ID
    • SAP Router String
    • Gateway Host
    • Logon Group
    Note: The Gateway Host and Logon Group options are available for the Group/Server Selection connection type.
  5. You can click Test Connection, to test the connection, and then click Save.
    The command to connect to the specified SAP system is added to the Workbench.