Skip to Content

SAP Event Listener SAP System Configuration

Introduction

It is recommended that an SAP administrator configure the SAP system prior to installing and configuring the SAP Event Listener application. As part of this process, they will create required objects in the SAP system and set up Jitterbit as a partner. These configuration activities are detailed on this page:

  1. Creating an RFC Destination
  2. Creating a Transactional RFC (tRFC) Port
  3. Specifying a Logical System
  4. Setting Up a Partner Profile

After the SAP Event Listener is fully configured, an SAP Administrator can test the connection of the RFC destination to verify connectivity, as described at the end of this page under Verifying Connectivity with the SAP Event Listener.

For all steps required to configure and use the SAP Event Listener, see SAP Event Listener Get Started Guide.

Creating an RFC Destination

The first step is to register Jitterbit at the SAP gateway system using an RFC destination. The RFC destination is a logical destination that will be bound to the transactional RFC (tRFC) port you create in the next section.

Follow these steps to create an RFC destination in the SAP system:

  1. Log in to the SAP GUI.

  2. In the search box, enter the SAP transaction code SM59.

  3. The Configuration of RFC Connections screen is displayed. Click the create button attachment to create a new RFC destination:

    attachment

  4. The RFC Destination configuration screen is displayed. Complete the configuration as follows:

    attachment

    1. In the RFC Destination field, enter a name for the RFC destination, such as JITTERBIT.

    2. In the Connection Type field, select T for TCP/IP Connection.

    3. In the Description, enter a description, such as SAP Destination for Jitterbit.

    4. In the Technical Settings tab:

      1. Under Activation Type, select Registered Server Program.
      2. Under Registered Server Program, in the Program ID field, enter a name for the program to be used by the SAP Event Listener to connect to the SAP gateway, such as JITTERBIT.
    5. Save the RFC destination.

      Note

      The Connection Test button should not be used at this point in the configuration. If used, an error is expected. To test the connection after all configuration is completed, see Verifying Connectivity with the SAP Gateway at the end of this page.

Creating a Transactional RFC (tRFC) Port

The transactional RFC (tRFC) port is the logical port used by the RFC destination for exchanging information with the Jitterbit SAP Event Listener. In order to be able to communicate with the SAP server, a port must be created on the SAP system and linked to the RFC destination.

Note

The Jitterbit SAP Event Listener uses the tRFC port for both tRFC and qRFC function calls.

Follow these steps to create a tRFC port:

  1. Log in to the SAP GUI.

  2. In the search box, enter the SAP transaction code WE21.

  3. The Ports in IDoc Processing screen is displayed. Select the Transactional RFC folder and then click the Create button:

    attachment

  4. The Ports in IDoc Processing dialog is displayed. Select Own Port Name and specify the port name for the program, such as JITTERBIT:

    attachment

  5. In the Ports in IDoc Processing screen for the new port, complete the configuration as follows:

    attachment

    1. In the Description field, enter a description, such as Jitterbit tRFC Port for Destination JITTERBIT.

    2. Under Version:

      1. Select the version of IDoc record types to be exchanged using this port.

      2. In the RFC Destination field, enter the name of the RFC destination that you previously defined, such as JITTERBIT.

    3. Save the port.

Specifying a Logical System

A logical system must be specified before setting up a partner profile (as described in the next step). Follow these steps to specify a logical system:

  1. Log on to the SAP GUI.

  2. In the search box, enter the SAP transaction code BD54.

  3. The Change View "Logical Systems": Overview screen is displayed. Click the New Entries button:

    attachment

  4. In the Logical Systems table, in both the Log.System and Name table columns, enter a name for the logical system, such as JITTERBIT.

  5. Save the logical system.

Setting Up a Partner Profile

A partner profile must be created on the SAP system to specify the type of information that is exchanged with Jitterbit. The partner profile specifies the IDoc types that can be sent by Jitterbit to the SAP system (inbound parameters) and the IDoc types that are sent by the SAP system to Jitterbit.

Follow these steps to create a partner profile:

  1. Log on to the SAP GUI.

  2. In the search box, enter the SAP transaction code WE20.

  3. The Partner Profiles screen is displayed. Click the Create button.

  4. In the Partner Profiles screen for the new profile, complete the configuration as follows:

    attachment

    1. In the Partner No. field, enter the name of the logical system, such as JITTERBIT.
    2. In the Partn. Type field, enter LS.
    3. In the Post Processing: Permitted Agent tab:
      1. In the Type field, enter US as the user type.
      2. In the Agent field, enter the ID of the permitted user, such as JITTERBIT.
      3. In the Language field, enter EN to use English as the notification language.
  5. Under Outbound Paramtrs., click the create parameter button attachment to add as many outbound parameters as needed. The Partner Profiles: Outbound Parameters screen opens. For each outbound parameter, complete the configuration as follows:

    attachment

    1. In the Message Type field, enter the type of message that is to be sent.

    2. In the Outbound Options tab:

      1. In the Receiver Port field, enter the previously defined receiver port, such as JITTERBIT.
      2. Under Output Mode, for most use cases, select Transfer IDoc Immed. Choose other options as appropriate for the use case.
      3. Under IDoc Type, enter the information for the IDoc type that is to be sent.
    3. Save the outbound parameter.

  6. Under Inbound Parmtrs., click the create parameter button attachment to add as many inbound parameters as needed. The Partner Profiles: Inbound Parameters screen opens. For each inbound parameter, complete the configuration as follows:

    attachment

    1. In the Partner Role field, enter LS for logical system.

    2. In the Message Type field, enter the type of message that is to be received.

    3. In the Inbound Options tab, enter the Process Code for the functional module that is to process the received IDoc.

    4. Save the inbound parameter.

Verifying Connectivity with the SAP Event Listener

Connectivity with the SAP Event Listener is not expected to be established until all configuration steps are complete, as summarized in the SAP Event Listener Get Started Guide. Particularly, the Event Details must have been entered in the SAP Event Connection Properties section of the SAP Event Listener Configuration and the SAP Event Listener restarted.

Once those configuration steps are complete, an SAP administrator can test the connection of the configured RFC destination in the SAP system to verify that connectivity has been established between the SAP gateway and the SAP Event Listener.

To test the connection of the RFC destination:

  1. Log in to the SAP GUI.

  2. In the search box, enter the SAP transaction code SM59.

  3. In the RFC Connections column, expand TCP/IP Connections and double-click to open the RFC destination name (such as JITTERBIT) configured as part of Creating an RFC Destination and described earlier on this page.

  4. Click the Connection Test button to verify connectivity between the SAP gateway and the SAP Event Listener:

    attachment

These are possible reasons for an unsuccessful connection test:

  • Missing Profile Name: If you receive an error related to a missing profile name, check to ensure the Event Details are included in the SAP Event Connection Properties section of the SAP Event Listener Configuration, restart the SAP Event Listener service, and perform the test again.
  • Unicode Settings: The connection test may fail if the Unicode settings on the RFC destination are not set properly. Correct the settings on the RFC destination, restart the Jitterbit SAP Event Listener service, and perform the test again.