Configure a SAP RFC connection

You can configure a SAP RFC connection in the API Connection Manager.

This enables you to establish communication with SAP by using its RFC Service endpoint. For detailed information, see the SAP RFC documentation.

Prerequisites

To use an SAP RFC connection, you need to add SAP .NET Connector 3.0 libraries.

Configure your connection

To configure a SAP RFC connection, follow the steps below:

  1. Open the API Connection Manager.

  2. Add a new connection.

  3. Go to the Edit section.

  4. Specify a Name for your connection.

  1. From the Type drop-down menu, select SAP RFC.

  2. Enter the IP address of the SAP Server.

  3. Specify the SAP Server Port. You can find the SAP Server Port as follows unless it is changed. Check the SAP gateway line entry sapgw00 3300/tcp, located at C:\Windows\System32\drivers\etc\services, where the default port consists of the service sapgw00 and an instance number. For example, if sapgw00 is 3300 and the instance number is 60, the port number is 3360.

  4. Enter the Gateway and Gateway Port which are required to connect. If unavailable, use the SAP Server and SAP Server Port entries.

  5. Enter your three-digit SAP Client ID.

    If you don't enter one, the API Engine automatically uses the default client ID 000.

  1. If your connection requires authentication, enter your Username and Password.

Configure a SAP RFC connection

You can now use your SAP RFC connection for testing. For information on how to send the messages in API Scan, see chapter "Send messages via SAP Remote Function Call (RFC)".