Creating Destinations

Use

The AS Java provides the function to be called from the server. This is done by registering the server as an RFC destination. This registration is done using the JCo RFC Destinations.

To parse the function calls from the Web AS correctly, the SAP JCo (Java Connector) needs a repository, which must be created in the JCo RFC Destinations along with the new destination.

Procedure

  1. On the initial page, choose Create.
  2. On Step 1, enter a name for the destination and choose Next.

    The name must be unique.

  3. On Step 2, enter the following and choose Next:
    • Gateway Host

      The Gateway Host is the host as configured in Configuration of RFC Connections (transaction code SM59). By default, it is the same as the Application Server Host.

    • Gateway Service

      The Gateway Service  is the service as configured in Configuration of RFC Connections (transaction code SM59). By default, it is the system number of the configured Application Server Host.

    • Server Count

      The number of simultaneously running servers.

  4. On Step 3, enter the Application Host, the System Number, the Client number and choose Next.
  5. On Step 4, enter the User and the Password and choose Next.
  6. On Step 5, choose if you want to log using a Secure Network Connection (SNC).

    If you select Use SNC, all input fields become active.

    For more information, see Configuring an RFC Destination to use a Secure Network Connection (SNC)

  7. (optional) On Step 6, enter the following:
    • The language code.
    • If you select Local,  the system runs the servers only on one JEE 5 instance, otherwise, it runs servers on each server instance.
    • If you select Trace, the system activates the RFC traces.
  8. On Step 7, the system displays a summary of your entries. To confirm your entries, choose Finish.

    The system verifies your entries.

Result

If you perform successfully the procedure above, the connection appears on the initial screen as Running, otherwise, the connection appears as Stopped.