SNA Subsystem Platforms on R/2

An R/2 ABAP program on an IBM host can start the following target programs via a communications program (on the computer with the SNA subsystem):

Depending on the DC system you are implementing on the R/2 host, you will need one of the two R/2 communications programs provided by SAP:

To use several target systems, you must declare the communications program to the SNA software by the different transaction program names (TP names) via Softlinks. The XCOM table on the R/2 host must contain the respective TP name.

If your R/2 System runs under BS2000, you start the target program as described in BS2000 Systems.

The process is as follows:

  1. The R/2 ABAP program reads the TP name in the XCOM table and, under this name, starts the communications program on the SNA computer.
  2. The communications program sets up a conversation with the SAP Gateway (CPI-C Handler).
  3. The SAP Gateway starts the actual target program. The computer on which it is located does not have to be known in the SNA network.

The communications program merely passes on the data during the CPI-C dialog.

You can use the communications programs gwhost and gwims to access computers not known in the SNA network, from an R/2 System on an IBM host.

The sideinfo side information table must be located on the platform with the SNA subsystem - the same platform as the communications program. In it you must define the following parameters:

DEST

Symbolic name of the target system (up to 8 characters)

GWHOST

Computer with the SAP Gateway

GWSERV

SAP Gateway service

PROTOCOL

Protocol type I or E

I: R/3 is the partner system

E: An external program is the partner system

LU

Computer, on which R/3 or the external program is running

TP

SAP dispatcher or external partner program

Target System: R/3

An ABAP program on an IBM R/2 host communicates with an ABAP program of an R/3 System via the corresponding communication program. This is known to the SNA host under another name (example: gwbin).

The following table shows how the parameters in the sideinfo table on the SNA computer must be defined:

DEST=gwbin
GWHOST=is0001
GWSERV=sapgw00
PROTOCOL=I
LU=hs0011
TP=sapdp53

Target System: Non-SAP System

An ABAP program on an IBM R/2 host communicates with a program written in C in an external system via the corresponding communications program. This is known to the host under another name (example:gwforext).

The following table shows how the parameters in the sideinfo table on the SNA computer must be defined:

DEST=gwforext
GWHOST=is0001
GWSERV=sapgw00
PROTOCOL=E
LU=iw10004
TP=rcvcpic