SAP nodes can get SAP connection details from either the adapter component or a policy. By using a policy, you can change the connection details for adapters without the need to redeploy the adapters. To pick up new values when a policy is created or modified, you must restart the integration server where the adapter is deployed.
Use the SAP Connection policy to change connection details for an SAP adapter. The SAP node reads all connection properties from the adapter component that it is configured to use. If a policy exists that has the same name as the node's adapter component, the node uses the values that are defined in that policy to override the corresponding properties from the adapter. If any properties on the policy are set to an empty string, the values that are configured in the .inadapter or .outadapter file are used. The properties of the SAP policy are described in SAP Connection policy (SAPConnection).
To use a policy to change connection details at run time, complete the following steps.