KGS SAP Connector


The KGS SAP Connector is an "OSGi bundle", which is delivered within our server products.

This bundle provides a multiconfiguration that allows different SAP systems to be addressed.

Configuration via WebGUI


Please refer to this article, for an instruction to access the WebGUI: Using the KGS Application Framework Web Console (WebGUI)

Please also refer to the Installation Guide of the SAP JCo Libs: Install SAP Java Connector (SAP JCo)

Main configuration

The Configuration Editor can be used to adjust the log level and create the working directory.

(Main → KGS SAP Connector)

SAP connection configuration

Separate configurations for each SAP system (RFC Connections) can be created and maintained via SAP Connections. A new SAP connection is installed via  and edited via .

(Main → KGS SAP Connector)

Configuration via configuration file (.cfg)


For general information about the .cfg file handling please refer to this article: KGS application configuration files (.cfg)

The revelant .cfg files for the SAP Connector are inside the sapconnector subfolder.

Main configuration

The file SAPConnectorConfig.cfg contains the parameters for the main configuration.

SAP connection configuration

Files like SAPConf.example.cfg contain the SAP connection specific configuration. (Here for the profile "example")

To create a SAP connection .cfg file either use the WebGUI or use the file SAPConf.example.cfg from the conf examples folder inside your product download.

Auto Bridge Installation

With the help of option "GenerateBridgeOnStartup", the bridge can be automatically installed if "PathToSAPJar" and "PathToSAPNativeLib" both are provided and valid.

Main - configuration parameters


ParameterDatatypeDescriptionDefault
DebugInt

Loglevel:

0 / 1: Errors only

2: Errors and warnings

3: Errors, warnings and info

4: All, including debug
4
WorkingDirectoryStringPath to the working directory/<servlet>/work
PathToSAPJarStringPath to the SAP Java libraryempty
PathToSAPNativeLibStringPath to the SAP Native library. (Hint: For Windows, it is usually a DLL filr. For Linux, it is an SO file.empty
GenerateBridgeOnStartupCheckbox / booleanIf checked, generates the bridge bundle on startup. This parameter is usually helpful for automatic deployment purposes.false


SAP Connections - configuration parameters


ParameterDatatypeDescriptionDefault
DescriptionStringDescription of the SAP System
SAP AS HostStringHost name or IP address of the SAP application server
SAP System NumberString

System Number of the SAP system


SAP ClientStringClient of the SAP System
SAP UserStringLogin username
SAP User PasswordStringUser password
SAP LanguageStringLogin language (e.g. EN)
Logon GroupStringGroup name of the SAP application server
SAP Gateway HostStringHost name or IP address of the SAP Gateway Server (Requires additionally "SAP AS Host" parameter)
SAP Gateway ServiceStringService number of the SAP Gateway Server

SAP Message Server Host

StringHost name or IP address of the SAP Message Server
SNC EnabledCheckbox / booleanUsing SNC on/offdeactivated / false