Show TOC

CPI-C Port Type: Maintaining the Port DefinitionLocate this document in the navigation structure

Procedure

Some of the parameters must be configured in accordance with the R/2 System communication system ("DC system") (CICS, IMS under MVS/VSE or UTM under BS2000). Examples of these are provided below:

  1. Choose Start of the navigation path SAP Menu Next navigation step Tools Next navigation step IDoc Interface/ALE Next navigation step Administration Next navigation step Runtime Settings Next navigation step Port Maintenance (WE21) End of the navigation path.

  2. Position the cursor on CPI-C and choose .

  3. Enter a name and define the port. Configure the following CPI-C parameters:

    • RFC destination

      (for example K50 Test) with the logon data for the R/2 System.

    • Host destination

      TXCOM entry with the technical communications data (for example K50).

    • Buffer size

      Length of the CPI-C data buffer (in bytes) which is transmitted with a SEND or RECEIVE command. The maximum value is 8191 bytes.

    • Number buffer

      Specifies the number of SEND commands transmitted before a RECEIVE command is sent, according to the IDoc CPI-C protocol. A SEND command corresponds to one buffer.

    • Character string in R/2

      This entry is essential to ensure that the data stream is converted correctly.

    • Transmission modes in accordance with the CPI-C protocol. See the examples provided below. The exact meaning of the following parameters is explained in the R/2 manual, S53.2 (description of the CPI-C Interface):

      • Synchronous transmission mode

        If you choose synchronous transmission mode, the number of buffers parameter is no longer evaluated.

      • Send acknowledgment of receipt

        The R/2 System must send a confirmation after data transfer. This confirmation does not correspond to a status confirmation, therefore no new status is assigned.

      • Connection terminated by R/2

  4. Define an additional option for status confirmation ( status report) for the R/2 System:

    Specify whether the status records are to be sent to the R/2 System immediately when an IDoc is received, later (that is, scheduled using a report), or not at all.

Result

The transmission parameters are now set. You must still schedule reports for IDoc inbound processing and for subsequent status confirmations for the R/2 system. For more information, see CPI-C Port Type (Inbound Processing): Scheduling Reports.

Example

CICS Data Communication System (MVS/VSE Operating System)

The selected CPI-C data buffer should be as large as possible (at least 4 KB). The product of the buffer size and the number of buffers must be significantly less than the 32 KB CICS dialog buffer. Therefore a number buffer between 3 and 6 is used (example: 4 KB x 6 = 24 KB).

For performance reasons, you should not activate the synchronous transmission mode.

IMS Data Communication System (MVS/VSE Operating System)

Depending on the size of the IMS message queue, the length of the CPI-C data buffer should not exceed 1 - 1.5 KB.

Always activate the following transmission options under IMS:

  • Synchronous transmission mode

  • Send acknowledgment of receipt

  • Connection terminated by R/2

UTM Data Communication System (BS2000 Operating System)

The CPI-C data buffer size should be between approximately 5 KB and the maximum value (8191 bytes). There are no constraints concerning the size of the dialog buffer.