Show TOC

Configuring Resource Adapters and JCA Connection Factories in NWALocate this document in the navigation structure

Use

You use a resource adapter and a connection factory that are provided in the SAP NetWeaver Administrator (NWA) as an alternative to configure specific policies of sender and receiver RFC communication channels. In the application resources, which you configure in SAP NWA, you provide concrete settings such as user credentials to connect to the business systems as well as the concrete location (host name and port number) of the business system in the system landscape directory.

Prerequisites

To configure application resources you must log on to the NWA with a user that is assigned to the NWA_SUPERADMIN role or to the group of administrators.

More information:

SAP NetWeaverSAP NetWeaver Administrator

Procedure
  1. Log on to the SAP NetWeaver Administrator.

  2. Choose Start of the navigation path  Configuration Management Next navigation step Infrastructure Next navigation step Application Resources End of the navigation path

    Alternatively, you can use the quick link /app-resources as follows:

    http://host:port/nwa/app-resources

    The Application Resources screen opens.

Configuring the Resource Adapter

Note

For inboundRA do not configure any properties apart from MaxReaderThreadCount , GatewayServer , GatewayService .

  1. From the Show dropdown menu, choose Resource Adapters option.

  2. Choose the resource adapter whose settings you want to use in the sender communication channel and configure it as follows.

  3. Choose the Properties tab and then configure the following properties:

    • In the ProgramID field, enter the program ID which you used when you created the RFC destination on the sender business system.

      More information: Configuring Communication Channel for a Sender IDoc Adapter (AAE

    • In the MaxReaderThreadCount field, enter the number of the servers to which you want to connect.

      Note

      You can enter a value of 1. However, for inboundRA you need to enter value between 5 and 10

    • In the SAPClient field, enter the client number of the sender business system.

    • Enter username and password in the provided fields to connect to the sender business system.

    • In the Language field, enter the ISO code of the language you want to use.

    • In the ServerName field, enter the host name of the sender gateway server.

      Note

      The sender system when it is configured in the default mode should use the same server details.

    • In the PortNumber field, enter the port of the sender gateway system.

      Note

      The sender system when it is configured in the default mode should use the same server details.

    • Add a new property with name BindingKey and enter the type of the IDoc adapter which you want to use.

      In this particular case, you use IDoc adapter (AAE) and you have to enter PI_AAE_IDOC .

      More information: Managing Resource Adapters

Configuring the JCA Connection Factory

  1. From the Show dropdown menu, choose JCA Connection Factories option.

  2. Choose the JCA connection factory which you want to use in the receiver communication channel to the receiver business system and configure it as follows.

  3. Choose the Configuration Properties tab and then configure the following properties:

    • In the SAPClient field, enter the client number of the receiver business system.

    • Enter username and password in the provided fields to connect to the receiver business system.

    • In the Language field, enter the ISO code of the language you want to use.

    • In the ServerName field, enter the host name of the receiver business system.

    • In the PortNumber field, enter the port of the receiver system.

  4. Save your changes.

    More information: Managing JCA Connection Factories

Creating a JCA Connection Factory

You use this task to create a connection factory fo providing the details in the Ack settings while configuring the sender and receiver communication channels in the Integration Builder.

More information: Configuring Communication Channel for a Sender IDoc Adapter (AAE

  1. From the Show dropdown menu, select the JCA Resources option.

  2. From the Resource List section, select outboundRA.

  3. In the Related JCA Connection Factories, select outboundRA_CF resource name .

  4. Choose the JCA Connection Factory Details option.

  5. In the Namespace tab page, enter a name for the factory in the JNDI Name field.

  6. Choose Save.

  7. Choose the Configuration Properties tab page and configure the following properties:
    Note If you do not find a specific property in the list, then choose Add New Property option and select the required, configuration property.
    • In the SAPClient field, enter the client number of the receiver business system.

    • Enter username and password in the provided fields to connect to the receiver business system.

    • In the Language field, enter the ISO code of the language you want to use.

    • In the ServerName field, enter the host name of the receiver business system.

    • In the PortNumber field, enter the port of the receiver system.

  8. Save your changes.

    More information: Managing JCA Connection Factories