Creating and Configuring an SAP Connection

After creating a project, you can add an SAP Connection shared resource to establish connections between the plug-in and the SAP system.

Prerequisites

The SAP Connection shared resource is available at the Resources level. Ensure that you have created a project. See Creating a Project for details.

Procedure

  1. In the Project Explorer view, expand the created project.
  2. Right-click the Resources folder, and then click New > SAP Connection to open the SAP Connection wizard.
  3. In the New SAP Connection dialog, the resource folder, package name, and resource name of the SAP connection are provided by default. If you do not want to use the default configurations, change them accordingly. Click Finish to open the SAP Connection editor.
    Note: In a project, all the SAP Connection shared resources cannot use the same name, even if the shared resources belong to different packages.

  4. In the Client Connection panel, select a client connection type from the Connection Type list.
  5. In the Project Explorer view, expand the Module Descriptors folder under the created project, and then double-click Module Properties to open the Module Properties editor.
  6. Specify the corresponding module properties inherited by the basic parameters of the client connection.
    See Client Connection for details.
  7. Click Save.
  8. Return to the SAP Connection editor, and then click Test Connection to validate the client connection in the Client Connection Configuration tab.
  9. If you want to establish an outbound connection with the SAP system, click the Server Connection Configuration tab to configure the server connection:
    1. In the Server Connection panel, select the Enabled check box.
    2. From the Connection Type list, select a connection type.
    3. In the Module Properties editor, specify the corresponding module properties inherited by the basic parameters of the server connection.
      See Server Connection for details.
  10. Click Save.