Available SAP Test Programs 

Definition

The following test programs are available:

Test programs

Programs

Programs Written in C

ABAP programs

Calling

ccpict1

acpict1

Callable

ccpict2

acpict2

Use

The test programs undertake CPI-C communication.

Each calling program (C or ABAP) can call one of the callable programs (C or ABAP).

These test programs therefore let you check program-to-program communication for all constellations.

ABAP test programs in R/2:

The SAP test programs are delivered with the CPI-C development libraries. The ABAP programs are directly available in new Releases of R/2 Systems. Otherwise you must upload these programs in your R/2 System.

Structure

There are some special features for ABAP programs and programs written in C.

Programs Written in C

The names of the C programs end with t or s. These letters specify which protocol the communication is based on.

ccpict1s

SNA is the protocol

ccpict1t

TCP/IP is the protocol

You must create a side info file in your work directory before starting the calling C program (see section "Side Information Tables" in the documentation BC - SAP Communication: Configuration).

The calling C program records the program activities on the screen (stdout). The C program called creates the trace file cpict2t.trc .

You can activate the CPI-C trace function before the start of the calling C program as follows:

Program-to-program communication normally takes place via the SAP gateway. You do not need the SAP gateway if the platform of each partner program supports the SNA protocol LU6.2. This is possible with the following constellations:

Here, use the SNA-specific C programs.

ABAP programs

Both the calling and callable ABAP programs can be found in an R/2 or R/3 System.

The calling ABAP program records the program activities on the screen.