Show TOC

Function documentationConnection Types Locate this document in the navigation structure


Each destination has a Connection Type field that indicates the system connection type:

  • R/2 Connections (Type 2)

    Type 2 entries indicate R/2 systems. No further specification is required. When you create a type 2 entry, therefore, you only need to specify the host name. All communications information is already stored in the background info table in the SAP Gateway host. If you want, you can also specify logon information.

    Note Note

    You need an SAP Gateway of release 640 or lower to communicate with R/2 systems. R/2 connections are no longer supported from SAP Gateway release 700 and higher.

    End of the note.
  • ABAP Connections (Type 3)

    Type 3 entries indicate ABAP systems. When you create a type 3 entry, you need to specify the host name and communication service (system number). If you want, you can also specify logon information. You can also have the option of activating load balancing.

    Note Note

    You can specify an application server from the ABAP message server. The application server is then determined according to the load-balancing process. This applies to RFCs between two ABAP systems and to RFCs between an ABAP system and an external system.

    End of the note.
  • Internal Connections (Type I)

    Type I entries indicate ABAP systems connected to the same data base as the current system. These entries are pre-defined and cannot be modified. The entry names are the same as those used in the SAP Message Server (transaction SM51).

    Example entry name: hs0010_K11_24

    • hs0010=host name

    • K11=system name (database name)

    • 24=TCP-service name

  • Logical Destinations (Type L)

    Instead of indicating a system connection, type L (logical) entries refer to a physical destination. Type L destinations can also refer to other type L entries. A type L entry uses the information in the reference entry and adds further information of its own. Normally, the reference entry contains the host information, while the type-L entry contains logon data. You can also specify a user name, a password, a logon language or a client.

    A type L entry can refer to other type L entries.

    Example entry name: K11_SD or K11_01

    • K11=name of RFCDES entry for ABAP system K11

    • SD or 01: For the fields User='SD_INPUT' or client='001'

  • Connections via ABAP Driver (Type X)

    Type X entries indicate systems where device drivers in ABAP have been specially installed. When you create a type X entry, you need to specify the name of the ABAP device driver.

  • TCP/IP Connections (Type T)

    Type T destinations are connections to external programs that use the RFC library to receive RFCs. The activation type can be either Start or Registration.

    If it is Start, you need to specify the host name and the path name of the program that you want to start.

    Activation Type Start

    The communication method depends on how you select the program location:

    • Explicit host

      In this case, the program is started either by the default gateway for the system or by the explicitly specified gateway (gwrd) via remote shell. Ensure that the computer with the gateway process can access the specified computer by entering etc/ping <Hostname>.

      If you want to start a program on another computer using the remote shell, the target system must meet certain conditions.

      • The user ID of the gateway process must exist, and the user’s directory must contain a file called .rhosts.

      • The .rhosts file must contain the name of the calling computer.

        To check this, log on to the computer containing the gateway process with the appropriate user ID and enter the command: remsh <host name> <program name>. The <host name> and <program name> must be the same as in SM59. (If you call an RFC server program without any parameters, the RfcAccept call always returns an error code (RFC_HANDLE_NULL), and the program terminates immediately.)

    • Application Server

      When choosing Application server and specifying your program, you can start the program from the SAP application server.

      First, ensure that the program can be accessed from the SAP application server and that the SAP application server has the authorization to start the program.

      To check this, log on with the user ID of the SAP application server (e.g. c11adm). If possible, change to the working directory of the SAP application server (/usr/sap/.../D.../work) and try to start the RFC server program manually from there. (If you call an RFC server program without any parameters, the RfcAccept call always returns an error code (RFC_HANDLE_NULL), and the program terminates immediately.)

    • Front-End Workstation

      When choosing Front-end workstation and specifying your program, you can start the program from the SAPGUI.

      Ensure that you can access the program with SAPGUI.

      Ensure that SAPGUI has the authorization to start the program.

      To check this, simply call the RFC server program in your environment.

      The function call can also be transactional (CALL FUNCTION... IN BACKGROUND TASK DESTINATION...).

    Activation Type Registration

    If you choose activation type Registration, you have to specify a registered RFC program. You can use an SAP gateway to register an RFC server program under this ID and then wait for RFC calls from other SAP systems.

    Example entry name: SERVER_EXEC

  • CMC Connections (Type M)

    Type M entries are asynchronous RFC connections to ABAP systems via CMC (protocol X.400).

  • SNA/CPI C Connections (Type S)

    Type S corresponds to type 2 and uses IBM’s System Network Architecture (SNA) as its destination.

  • HTTP Connection to External Server (Type G)

    With this connection type, you can choose between the following logon procedures:

    • No logon. The server program does not require you to enter a user or password.

    • Basic Authentication. The server program requires you to enter a user and password. Basic Authentication is a standard HTTP authentication method. When the user logs on to the target system, a user ID and a password are provided for authentication. This information is then transmitted across the HTTP connection to the server, in the form of a base64 encoded string in a header variable.

    • SSL Client Certificate. If you use client certificates for the authentication, the client authentication is performed using the Secure Sockets Layer (SSL) protocol. In this case, you also have to select the SSL client PSE of the Application Server, which contains the certificate that is to be used for the authentication. The target system must treat the system that issues the client certificate as a "Trusted" system.

      Note Note

      To define which type of SSL client is used, call the security transaction STRUST. (See also

      Using the Trust Manager).

      End of the note.
  • HTTP Connection to an SAP System (Type H)

    This connection type also offers several options for authentication in the target system.

    The settings on the Technical Settings and Special Options tab pages are identical to those of connection type G. On the Logon/Security tab page, connection type H has additional logon processes compared to connection type G. As with the external server, you can (de)activate SSL and specify an authorization.

    As the destination system is an SAP System, you can set the client and language for the logon as well as the user name and password. If you check Current User, you have to specify the password again.

    The options available for the authentication are Basic Authentication, SAP Standard, SAP Trusted System, and SSL Client Certificate.

    • HTTP Basic Authentication: Logon with user and password

    • SAP Standard: This procedure uses an RFC logon procedure. Here, the RFC Single Sign-On procedures within a system also apply. The same SAP user (client, language, and user name) is used for logon.

    • SAP Trusted System: Trusted RFC logon to another SAP System (see: Maintaining Trust Relationships between SAP Systems).

    • SSL Client Certificate: The SSL protocol enables you to use client certificates for the logon.

More Information

You can find a detailed description of parameter maintenance in transaction SM59 under: