Skip to main content
Version: 5.5

SAP® Plug-in

note

Note: If you want to use load balancing, you need an Enterprise license.

You configure the following properties in the SAP® plug-in configuration:

"General" Tab​

General

PropertyDescription
NameAny name under which this SAP® system appears in the connection configuration.
Client Protocol

SAP driver used by the OPC Router for communication. Select the client protocol from the drop-down menu:

  • RFC Protocol
  • NetWeaver RFC Protocol
Client LibrariesAdd the *.dll files for Windows here and the *.so files for Docker.
Connection Type

Select the desired authentication method:

  • Direct Authentication
  • Load Balancing

Direct login:

PropertyDescription
Host/IPServer (name or IP) hosting the SAP® application system. Explicit login to a system is required (no load balancing).
System NumberNumber of the SAP® system.
ClientClient (company code for the SAP® user).

Load Balancing:

PropertyDescription
Message ServerName or IP address of the SAP® message server.
Log-on GroupLog-on group of the SAP® system.
System NumberNumber of the SAP® system.
ClientClient (company code for the SAP® user).

"Security" tab​

Basic Authentication

PropertyDescription
Authentication Methods
  • Basic Authentication
  • Secure Network Communications (SNC)

Basic Authentication:

PropertyDescription
UsernameUsername for logging in to the SAP® system.
PasswordPassword for logging in to the SAP® system.

Secure Network Communications (SNC):

SNC

Contact Support if you want to use sapcrypto.dll.

note

The sapcrypto.dll file is not provided by inray.

PropertyDescription
UsernameUsername for logging in to the SAP® system.
PasswordPassword for logging in to the SAP® system.
LoginUse your Windows username to log in to the SAP® system.
PropertyDescription
Own SNC NameName in the format p:CN=... as found in the issued certificate.
Name of the SNC PartnerEntry for the SNC partner in the format: p:CN=...
SNC library pathThe SNC library path can be configured here. It can be selected in a dialog box after clicking the ‘…’ button.
Use Single Sign-OnFull access to all systems with a single sign-on
Security LevelSelect the security level from the drop-down menu, e.g., Maximum or Standard.
Authentication methodChoose between NTLM authentication or Kerberos5 authentication.
Security certificateSelect a security certificate from the drop-down list. Use the plus sign to add another certificate, and the minus sign to remove one. Another button allows you to view the properties of an existing certificate.

“Language and Code Pages” tab​

Language and Code Pages

PropertyDescription
LanguageEnter the language you want to use here. For example, “de” stands for German, “en” for English, and so on. The language you want to use must be available on the SAP system.
IDoc CultureSelect the IDoc language (Culture) as German or English to prevent a crash if an instance in the SAP® plugin contains an invalid IDoc culture. The date format differs, for example: February 1 is written as 01.02.2018 in German and 02.01.2018 in English

Register RFC Trigger as

PropertyDescription
UnicodeRegister RFC Trigger as Unicode
Non-UnicodeRegister RFC Trigger as Non-Unicode

If you are using SAP NetWeaver, the Unicode setting must always be enabled. If you are using the RFC protocol, the encoding depends on the librfc32 file. There is one version without Unicode (librfc32) and one with Unicode (librfc32u).

The target in the SAP transaction SM59 must also be set to Unicode or Non-Unicode, depending on the router settings and which library is being used.

“Advanced” tab​

PropertyDescription
IDocHandling
  • Specifies whether a template from the SAP® system should be used

    • The default values from the SAP system are displayed here, as defined in the segments.
  • Create empty IDoc

    • Only the segments are transferred, but they are empty.
Use an additional process for receiving RFC calls and IDocsIf this checkbox is selected, the OPC router will not stop and will continue to run even if an error occurs in the SAP trigger (RFC or IDoc).

You can use the “Test” button to verify that your connection is successful.

note

Note: To use the preferred settings of the SAP user, the OPC Router requires read access to the SAP table USR01

Configuring the Port Used​

By default, the OPC Router uses the port “33_<System-Nummer>_” to communicate with the SAP system—for example, “3301” if the system number is set to 01. If the SAP® system uses a different port and the SAP® GUI is not installed, the port must be adjusted:

  1. Create a backup copy of the file C:\Windows\System32\drivers\etc\services.

  2. Open the file C:\Windows\System32\drivers\etc\services with a text editor (not the backup copy).

  3. Modify or add the “sapgw00” entry, specifying the port number in the “XX00” format, for example, “3600.”

    sapgw00 <port>/tcp
  4. Save the file.

The OPC Router will then use the specified number.