Installation and Upgrade > Windchill ESI > Installing and Configuring Windchill ESI in an SAP Environment > Windchill ESI Preferences, Distribution Target Attributes and Global Variable Groups > Global Variable Groups > Global Variables for Adapter Instances
  
Global Variables for Adapter Instances
Adapter instance global variables belong to the global variable group named ESISAPAdapter. These can be further categorized by their usage parameters, as described below.
SAP connection parameters: These parameters are needed to connect to the SAP system:
Username
Password
ApplicationServer
Client
System number
Adapter JMS transport parameters: These parameters are needed to ensure communication between the Process Engine and the Adapter for some of the BAPI/RFCs.
JMSProviderURL
JMSProviderContextFactory
Adapter log file parameters:
LogFileCount
LogFileSizeLimit
Adapter client connection parameters:
MaxConnections
MaxReconnectionAttempts
ReconnectionAttemptsNumber
ReconnectionAttemptsInterval
The following table describes the global variables that make up this Adapter Instance Global Variable Group.
Global variable name
Description
Possible Values and Windchill ESI Defaults
ApplicationServer
The application server connection string of the distribution target.
The valid values for the application server string when making one of the following connections:
Through a firewall or an SAP router:
/H/<SAP Router>/S/<SAP Router Service>/W/<Password>/H/<Target Application Server>
where:
<SAP Router> is the IP address or name of the SAP router.
<SAP Router Service> is defaulted to 3299.
<Password> indicates the password for the connection between the predecessor and successor on the route and is also optional. The default is "" that is, no password.
<Target Application Server> is the IP address or name of the SAP application server.
* 
A relevant entry should be maintained in the route permission table for the application server. Standard entries in a route permission table appear as follows: P/S/D <source-host> <dest-host> <dest-serv> <password>
where:
<source-host> and <dest-host> could be SAP Routers.
For more information on SAP router string, refer to SAP help at http://help.sap.com.
On the same network:
Enter the IP address or the application server name of the SAP server:
<Target Application Server>
SystemID
The Windchill PDMLink identifier for the System ID attribute of the distribution target. This value appears in the value of Destination element sent in the response message from Windchill as in <SystemID>.< Client>
* 
This value is case sensitive as is the value that Windchill PDMLink sends.
For SAP systems, this is typically a three-character string. This variable is used in the TIBCO Rendezvous subject name when publishing messages to the TIBCO Adapter for ECC instances. The ESI distribution target System ID value sent in the ESIResponse message by Windchill PDMLink must match the System value set in the corresponding TIBCO Adapter for ECC instances to ensure successful publishing of messages to the adapter instances and ultimately to SAP.
Client
The client number of the distribution target.
Value is the three-digit client number of the distribution target. This variable is used in the TIBCO Rendezvous subject name when publishing messages to the TIBCO Adapter for ECC instances. The ESI distribution target client value sent in the ESIResponse message by Windchill PDMLink must match the Client value set in the corresponding TIBCO Adapter for ECC instances to ensure successful publishing of messages to the adapter instances and ultimately to SAP.
CommitExpiry
Session Timeout in milli seconds for SAP “Commit Required” BAPIs.
360000
SystemNumber
The system number of the distribution target.
This is a two-digit integer value.
Username
The username used to log onto the distribution target.
This value could be any string. Default user name is: ESISYS.
Password
The password used to log onto the distribution target.
Value could be any string.
Locale
The locale of the distribution target. Determines the subject name the adapter is listening on.
* 
The Locale value must match the value specified for the JMS header property com_infoengine_locale that gets sent withWindchill ESI response.
The following are the ISO standard locale values. Default is en_US
Following are valid locale values :Language / Country / Locale Encoding Value
English / United States / en_US
English / United Kingdom / en_GB
French / France/ fr
German / Germany / de
Italian / Italy/ it
Spanish / Spain/ es
Japanese / Japan/ ja
Chinese Simplified / China (PRC) / zh_CN
Chinese Traditional / Taiwan / zh_TW
Korean / Korea / ko
Brazilian Portuguese / Brazil / pt_BR
This variable is used in the TIBCO Rendezvous subject name when publishing messages to the TIBCO Adapter for ECC instances. The com_infoengine_locale JMS header property value sent in the ESIResponse message by Windchill PDMLink must match the Locale value set in the corresponding TIBCO Adapter for ECC instances to ensure successful publishing of messages to the adapter instances and ultimately to SAP.
MaxConnections
The number of SAP connections in the client connection. This option is used to configure the maximum number of threads in the adapter instance.
By default, it is set to 5. A maximum of 99 connections is allowed.
ReconnectionAttemptsNumber
Number of Reconnect Attempts before suspending impacted service(s). In other words, it is the number of times the connection management process tries to connect to the application before the listener for a subscription or a one-way Request-Response Invocation service is suspended.
The default value for this field is 1.
MaxReconnectionAttempts
Maximum number of Reconnect Attempts - the maximum number of times the adapter will retry to establish a connection to the SAP ECC system.
By default, it is set to 1. This has to be greater than or equal to the value specified for the global variable ReconnectionAttemptsNumber. For the adapter to keep retrying forever, set the value to -1.
ReconnectionAttemptsInterval
Interval between Reconnect Attempts (milliseconds) The time interval between two successive retries, in milliseconds.
The default value is 30000 ms.
LogFilesizeLimit
Maximum size of the log file, in bytes.
Default is 3000000. Maximum is 2147483647 bytes.
LogFileCount
The number of Adapter Log files to be generated viz., the number of roll over files.
Default is 3.
JMSProviderURL
JMS Provider URL to connect to the EMS server by Adapter JMS transport.
Default is set to: tcp://<<EMSservername>>:7222