Skip to main content
Skip table of contents

SAP JCo 2 Server Configuration

In the <jcoServer> element of the X4config.xml, you can configure the SAP Java Connector settings for the X4 Server.

Note:

As of the X4 Server revision 27282, the <jcoServer> element has an altered structure: IDoc handlers and Function handlers have been outsourced in the JCo 2 Server Properties, see Properties for the JCo 2 server. Moreover, is now possible to specify multiple properties files and function block/method definitions within the X4config.xml to allow connections to multiple SAP systems.

If multiple properties files and function block/method definitions are specified, their assignment takes place based on the order, i. e. the first JCo Server properties file in <propertiesURL> is assigned to the first function blockmethod definition in <methodsURL>, the second JCo Server properties file to the second function block/method definition, etc.

<jcoServer> Element


<propertiesURL>

URL to a properties file containing the JCo 2 Server settings; Beginning with X4 Server Version 4.2, you can specify multiple URLs to different properties files separated by semicolons

Possible values: Any valid URL (e. g.file:///C:/X4/X4DB/0/jco_server_settings.prop)

<methodsURL>

URL to an XML document containing the assignment of function modules/methods and the corresponding processing process in the X4 Server; Beginning with X4 Server Version 4.2, you can specify multiple URLs to various configuration documents separated by commas

Possible values: Any valig URL (e. g. file:///C:/X4/X4DB/0/jco_method_def.xml)

<sapadapter> Element

In the <sapadapter> element, which follows the <jcoServer> element in the X4config.xml, you can configure the default connection settings for the SAP Connector (JCo 2). These will be used as the fallback configuration.

<propertiesURL>

URL to a properties file containing connection settings that are used when the SAP Connector (JCo 2) does not find any settings.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.