SAP JRA Configuration: Procedure

Procedure

To configure the SAP JRA, proceed as follows:

  1. Open NW Administrator in a browser window by entering the URL http://<Servername>:<Portname>.

  2. Log on to the SAP NetWeaver Administrator.

  3. Choose the SAP NetWeaver Administrator link.

  4. On the upper menu bar, choose the Start of the navigation pathConnection Management Next navigation step Infrastructure ManagementEnd of the navigation path and Application Resources links.

Server Configuration

The server functionality of the SAP Java Resource Adapter receives calls from an AS ABAP and forwards them to the Message Driven Beans that are registered for this JRA instance.

For the server configuration, proceed as follows:

  1. In the Application Resources area upper selection field ("Show"), choose All Resource Adapters .

  2. Select a suitable resource adapter. The SAPJavaResourceAdapter15 instance is always available.

  3. Maintain the required values in the Properties area. The following values however must be maintained :

    • MaxReaderThreadCount =<Number of servers that can receive calls>

    • ProgramID =<Program ID as defined in transaction SM59>

    • GatewayServer = <Name of Gateway Server> (only required if the client was configured for Load Balancing or if dealing with an external (non-SAP) client).

  4. Once you have made all the required settings, choose Save .

Client Configuration

Configuring Existing Connection Factory

Proceed as follows when configuring an existing Connection Factory :

  1. In the upper selection field (" Show "), choose All Connection Factories .

  2. Select a suitable Connection Factory ( eis/SAPJRAFactory is delivered as standard).

  3. In the Configuration Properties area, define the required parameters for client calls.

    • SAPClient=XXX

    • UserName=<username>

    • Password=<password>

    • ServerName=<name of target machine>

    • PortNumber=XX

    • Once you have made all the required settings, choose Save .

    Cloning the Connection Factory

    If you want to create (clone) a new Connection Factory for another destination, follow the steps below:

    1. Choose All JCA Resources in the Show <All Resources> selection menu.

    2. Choose Start of the navigation pathSAPJavaResourceAdapter15 Next navigation step  Dependent JCA Connection Factories End of the navigation path

      Copy & Add New JCA Connection Factory.

    3. Enter a JNDI name for your new Connection Factory , for example, system name 'BCE'.

    4. Save your entries.

More Information

For detailed information on SAP JRA Programming, see:

  • SAP JRA Development Guidelines (EN)