SAP JCo 2 server configuration
In the element <jcoServer> of the X4config.xml you can configure the SAP Java Connector settings for the X4 Server.
Note:
Beginning with the X4 Server revision 27282 the element <jcoServer> 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.
Element <jcoServer>
<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. |
<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. |
Element <sapadapter>
Within the element <sapadapter>, which is a following sibling of the element <jcoServer> in the X4config.xml, you can configure the default connection settings for the SAP Connector (JCo 2). These will be used as 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. |