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 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 configure only the following properties: 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.

  3. In the Resource Details section, select the Properties tab page 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 page 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 the connection factory which you create in this section to provide Ack settings when you configure 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, choose JCA Resources option.

  2. From the Resource List, select SAPJavaResourceAdapter15.

  3. In the Resource Details section, under the Related JCA Connection Factories select the eis/SAPJRAFactory resource.

  4. Choose Copy and Add New JCA Connection Factory.

  5. In the New JCA Connection Factory Creation section, enter a name for the factory in the JNDI Name field.

  6. Choose Save.

  7. Select the Configuration Properties tab page and configure the following properties:
    Note If the configuration properties are not available in the list, then choose Add New 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