From R/3 to R/2 

Purpose

An ABAP program in an R/3 System uses an RFC or CPI-C call to start an ABAP program in an R/2 System on an MVS/VSE host, and exchanges data with this program.

The SAP Gateway builds connections to the R/2 host via LU6.2 using services of the SNA communication subsystem. Several communications requests can be processed via one SAP Gateway.

Prerequisites

With this constellation, you must note the following guidelines:

For more details on the RFC interface, refer to the documentation Remote Communications.

For details on the configuration of TXCOM, refer to the relevant topic in the following documentation:

For details on the configuration of TXCOM, refer to the relevant topic in the following documentation:

BC SAP Communication: Configuration

Process flow

Once the above requirements have been met, select the target system with the Transaction SM59.

For details on CPI-C calls, refer to the topic CPI-C Implementation in ABAP.