Entering content frameProcedure documentation Port Type CPI-C: Linking an R/2 and R/3 System Locate the document in its SAP Library structure

The R/3 System logs on to the R/2 System to send or retrieve IDocs. The necessary logon data is maintained in the R/3 System under an RFC destination. The target system (R/2) and the technical communication attributes are maintained in the table TXCOM.

Maintaining the RFC destination

  1. To create an RFC destination, select Tools ® Administration ® Administration ® Network ® RFC destinations (transaction SM59). Position the cursor on R/2 connections and select Create.
  2. In the initial node of the IDoc interface go to the same place via IDoc ® RFC destination.

  3. Name the RFC destination (for example K50-Test ) and the connection type 2 (connection to R/2). Enter a description of the RFC destination. This data only has to be entered once before you can save the destination. The data is not relevant to the CPI-C connection. The following logon data, however, is important:
  4. · Client in the R/2 System

    · User and password in the R/2 System

    Save your entries.

    Note

    This transaction is called "Maintain RFC Destinations", but only the logon data (client, user name, password and logon language) is entered for port type CPI-C, not the target system itself. For this reason, the connection test for this transaction does not have to be successful. The actual name of the target system is read as a "symbolic destination" from table TXCOM.

  5. If you want the system to make a connection log when sending IDocs, then you must select the field Trace.

Maintaining entries in table TXCOM

  1. Choose Tools ® Administration ® Administration ® Network ® Maintain TXCOM (transaction SM54). Choose This graphic is explained in the accompanying text.
  2. Maintain the R/2 System name (for example, K50 ) as the destination. Enter the following parameters, in addition to the name:
  3. · Gateway host and gateway service

    · Log C ( = partner can be reached via CPI-C)

    You can determine the gateway host and service via the Structure link gateway monitor or the report RSPARAM.

  4. Save your entries.

Note

The "logical unit" (LU column) and the transaction program (TP column) are not read from TXCOM, but from the sideinfo file on the SNA-compatible gateway server.

Result

The R/3 System recognizes the R/2 System (TXCOM entry) and vice versa (logon data). Continue with

Configuring the CPI-C Port: Port Definition

Leaving content frame