IBM App Connect Enterprise, Version 11.0.0.2 Operating Systems: Windows, Linux


Changing connection details for SAP adapters

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.

Before you begin

About this task

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).

Procedure

To use a policy to change connection details at run time, complete the following steps.

  1. Use the Policy editor in the IBM® App Connect Enterprise Toolkit to create a policy and select SAP Connection as the policy type (see Creating policies with the IBM App Connect Enterprise Toolkit).
  2. Ensure that the name of the policy is the same as the name that is specified by the Primary adapter component property on the SAPInput or SAPRequest node. Specify the name of the policy project and the policy on the message flow node in the format {policyProjectName}:PolicyName.
  3. Set the appropriate properties in the policy for the settings that you want to use at run time.

    The default value for most properties in the policy is an empty string, which indicates that behavior is controlled by the .inadapter or .outadapter file for those properties. For more information, see SAP Connection policy (SAPConnection).

  4. Deploy this policy before you start the associated message flow.

ac66170_.htm | Last updated 2018-11-02 14:45:30