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 can set the following properties in the SAP® plug-in configuration:

"General" tab

General

PropertyDescription
NameAny name under which this SAP® system appears in the connection project.
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 and the *.so files for Docker here.
Connection Type

Select the desired login method:

  • Direct login
  • Load Balancing

Direct login:

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

Load balancing:

!

PropertyDescription
Message ServerName or IP of the SAP® message server.
Logon groupLogon group of the SAP® system.
System numberNumber of the SAP® system.
ClientClient (company code for the SAP® user).

"Security" tab

Basic Authentication

PropertyDescription
Login method
  • Basic Authentication
  • Secure Network Communications (SNC)

Basic Authentication:

PropertyDescription
User NameUser name for logging on to the SAP® system.
PasswordPassword for logging on to the SAP® system.

Secure Network Communications (SNC):

SNC

Please contact Support if you want to use sapcrypto.dll.

note

The sapcrypto.dll file is not provided by inray.

PropertyDescription
User nameUser name for logging on to the SAP® system.
PasswordPassword for logging on to the SAP® system.
LoginUse your Windows user to log on to the SAP® system.
PropertyDescription
Own SNC nameName in the format p:CN=... as it appears in the issued certificate.
Name of SNC partnerEntry of 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 login
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 display 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, etc. The language you want to use must be available on the SAP system.
IDoc CultureSelect the IDoc language (culture) German or English to prevent a crash if an instance in the SAP® plugin contains an invalid IDoc culture. The date format is different, for example: February 1 in German is 01.02.2018, in English it is 02.01.2018

Register RFC triggers as

PropertyDescription
UnicodeRegister RFC triggers as Unicode
Non-UnicodeRegister RFC triggers as non-Unicode

If you use SAP Netweaver, the Unicode setting must always be activated. If you use the RFC protocol, the encoding depends on the librfc32 file. This exists in two versions: one without Unicode (librfc32) and one with Unicode (librfc32u).

The target in SAP transaction SM59 must also be set to Unicode/No Unicode, depending on what has been set in the router and which library is used.

"Advanced" tab

!

PropertyDescription
IDocHandling
  • Template from the SAP® system to be used

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

    • Only the segments are transferred, but these are empty.
Use additional process for receiving RFC calls and IDocsIf this checkbox is selected, the OPC Router will not stop in the event of an error in the SAP trigger (RFC or IDoc) and will continue to operate.

You can use the "Test" button to check whether your connection is successful.

note

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

Adjusting the port used

By default, the OPC Router uses port "33_<system-nummer>_" to communicate with the SAP system, e.g., "3301" if the system number = 01 is set. 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 copy).
  3. Change or add to the entry "sapgw00", specifying the port number in the format "XX00", e.g., "3600".
sapgw00 <portnummer>/tcp
  1. Save the file.

The OPC Router will then use the specified number.