ERP Integrator V2 - Online Help
ERP Integrator V2
Questions / Feedback?

SapConnectionType Property

Specifies how the connection is made to the SAP server.

Syntax

property SapConnectionType: TibisapquerySapConnectionTypes;



TibisapquerySapConnectionTypes = ( ctNetWeaver, ctClassic, ctClassicUnicode, ctSOAP, ctJavaConnector );

Default Value

ctNetWeaver

Remarks

Specifies how the connection is made to the SAP server.

This property specifies how the connection is made to the SAP server. The default value is ctNetWeaver (0). Not all values are applicable on all platforms. Please see the table below to determine which are applicable in your edition.

Connection Type WindowsUnix/Mac
ctNetWeaver (0 - default)X
ctClassic (1) X
ctClassicUnicode(2) X
ctSOAP (3) X X
ctJavaConnector (4) X (Java edition only) X (Java edition only)

Dependency Notes

If the component is not configured to use the SOAP interface, it will use the sapnwrfc.dll, librfc32.dll, librfc32u.dll, or the Java Connector (JCo) to connect to the SAP system. Although the Java Connector is only available when programming in Java on Windows.

The NetWeaver RFC SDK (sapnwrfc.dll) offers both a 32 bit and 64 bit version. Likewise, the SAP RFC SDK offers as 32 bit and 64 bit version of both a unicode (librfc32u.dll) and non-unicode (librfc32.dll) library.

The NetWeaver RFC SDK will be used if the SapConnectionType is set to ctNetWeaver (0). The following libraries from the NetWeaver RFC SDK must be available at runtime:

  • sapnwrfc.dll
  • icudt30.dll
  • icuin30.dll
  • icuuc30.dll
  • libicudecnumber.dll
  • libsapucum.dll
Note that the dll names may be different depending on the version of the SAP RFC SDK installed. The examples above are for version 3.0.

The non-unicode library will be used if the SapConnectionType is set to ctClassic (1). This simply requires that the librfc32.dll be placed in a location that is accessible at runtime. (0).

The unicode library will be used if the SapConnectionType is set to ctClassicUnicode (2). The following libraries from the SAP RFC SDK must be available at runtime:

  • librfc32u.dll
  • icudt30.dll
  • icuin30.dll
  • icuuc30.dll
Note that the dll names may be different depending on the version of the SAP RFC SDK installed. The examples above are for version 3.0.

The Java Connector (JCo) will be used if the SapConnectionType is set to ctJavaConnector (4). In order to use this, you must first add the sapjco3.jar file to your project.

The 32 bit and 64 bit versions do not require any special settings within the components. The only requirement is that your application target the same platform as the DLL.

This property is not available at design time.

Data Type

Integer

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0