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.
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:
Log on to the SAP NetWeaver Administrator.
Choose
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
For inboundRA configure only the following properties: MaxReaderThreadCount, GatewayServer, GatewayService.
From the Show dropdown menu, choose Resource Adapters option.
Choose the resource adapter whose settings you want to use in the sender communication channel.
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.
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.
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.
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
From the Show dropdown menu, choose JCA Connection Factories option.
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.
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.
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
From the Show dropdown menu, choose JCA Resources option.
From the Resource List, select SAPJavaResourceAdapter15.
In the Resource Details section, under the Related JCA Connection Factories select the eis/SAPJRAFactory resource.
Choose Copy and Add New JCA Connection Factory.
In the New JCA Connection Factory Creation section, enter a name for the factory in the JNDI Name field.
Choose Save.
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.
Save your changes.
More information: Managing JCA Connection Factories