Skip to main content
An is a data container that is used to exchange information between SAP and another process that can understand the syntax and semantics of the data. The connector supports sending and receiving IDoc files to and from a variety of SAP systems. You can also use it to translate IDocs without needing to connect to SAP.

Key Capabilities

  • Comprehensive SAP IDoc integration supporting multiple connection methods (NetWeaver RFC SDK, Classic RFC SDK, JCO, and SOAP)
  • Bidirectional data exchange with support for raw IDoc and IDoc XML formats
  • Automatic schema refresh and validation with control record header management for multi-SAP-system routing

Overview

IDoc connectors can connect to SAP using the following methods: Windows
  • NetWeaver RFC SDK
  • Classic RFC SDK
  • Classic RFC SDK with Unicode support
  • SOAP (send-only)
Java
  • Java connector (JCO)
  • SOAP (send-only)
IDoc connectors can send, receive, and translate files formatted either as raw IDoc or as IDoc XML.

Prerequisites

If you are using the connector in Send or Receive mode, you must have a live system and a clear network path to that system from . You also need to install the necessary dependencies on your machine. Follow the instructions below for your connection type.
If you are using the connector in Translate mode, these prerequisites are not required.

Using NetWeaver RFC SDK

The following libraries from the NetWeaver RFC SDK must be placed into the www\\bin\\x64 folder (www\\bin\\x86 on 32-bit operating systems):
  • sapnwrfc.dll
  • icudt30.dll
  • icuin30.dll
  • icuuc30.dll
  • libicudecnumber.dll
  • libsapucum.dll
  • The .dll names might be different based on the version of the SAP RFC SDK you have installed. The examples above are for version 3.0.
  • You need to add the sapgw00 service to your listed services for the NetWeaver SDK connection to work on your client machine. You can add it to the services file at C:\\Windows\\System32\\drivers\\etc\\services.

Using Classic RFC SDK

The non-Unicode library does not require anything other than librfc32.dll. Place librfc32.dll into the www\\bin\\x64 folder (www\\bin\\x86 on 32-bit operating systems).
These libraries are provided in both x86 and x64, so you must use the same platform that the process is using. If the application is running on a 64-bit version of Windows, the process is 64-bit.

Using Classic RFC SDK with Unicode Support

The following libraries from the SAP RFC SDK must be placed into the www\\bin\\x64 folder (www\\bin\\x86 on 32-bit operating systems):
  • librfc32u.dll
  • icudt30.dll
  • icuin30.dll
  • icuuc30.dll
  • The .dll names might be different based on the version of the SAP RFC SDK you have installed. The examples above are for version 3.0.
  • These libraries are provided in both x86 and x64, so you must use the same platform that the process is using. If the application is running on a 64-bit version of Windows, the process is 64-bit.

Using the Java Connector

To use the Java connector, add sapjco3.jar to the lib folder of your Java servlet container.

Using SOAP

SOAP can only be used to send IDocs to SAP. You must use a different connection type to receive IDocs from SAP.
This requires enabling SOAP connections on the SAP system.

Add a Connection

To allow to send or receive SAP data, you must first establish a connection to SAP. You have two ways to establish this connection:
  • Add a connector to your flow. Then, in the Settings tab, click Create next to the Connection drop-down list.
  • Open the Settings page, then open the Connections tab. Click Add, select , and click Next.
  • The login process is only required the first time the connection is created.
  • Connections to can be re-used across multiple connectors.

Enter Connection Settings

After opening a new connection dialogue, give it a Name, then complete the other options.

Host Configuration

Settings related to establishing the connection to the SAP system.

Client Authentication

Settings related to authenticating against the SAP system.

Language Settings

Settings related to communication language.

Gateway

Settings related to communicating with SAP through a gateway.

Logon Load Balancing

Settings related to logging in to the SAP system as a group to enable load balancing.

Secure Network Communications (SNC)

Settings related to using an external security product to enhance the SAP connection security. Click Test Connection to ensure that can connect to SAP with the provided information. If an error occurs, check all fields and try again. Click Add Connection to save your changes.
Establishing a connection is not required if you are translating an IDoc.

Settings Tab

Select an Action

When you add an connector to a flow, you must choose the action that the connector should perform. The Settings tab then updates to display the relevant options. The following table outlines the available actions. Click the links in the table to access the specific settings for each action.

Automation Tab

Automation Settings

Settings related to the automatic processing of files by the connector.

Performance

Alerts Tab

SLAs Tab

Advanced Tab

Logging

Other Settings

Logs Tab

Establishing a Connection

Configuring Services

In addition to the prerequisites described above, you must add the following services to %WINDIR%\\system32\\drivers\\etc\\services, or /etc/services if your system is running Linux or Mac OS X. If SAP NetWeaver is already installed on the machine, no further action is required.

Logging on to SAP

The following settings are required to connect with your SAP system.

Gateway

When connecting to SAP via a gateway, use the options in the Gateway section of the Advanced tab.

Load Balancing

To log on via load balancing, set the properties in the Logon Load Balancing section of the Advanced tab.

Secure Network Communications (SNC)

To enable secure network communications, check the Enable SNC box in the Secure Network Communications (SNC) section of the Advanced tab. Set SNC Library to the .dll of the SNC library you want to use to connect with SAP.

Macros

Examples