Using CATT for R/2 test cases 

Use

Type R test cases are used to test R/2 transactions automatically. The transactions run without user interaction. You can check system messages can and test database changes. All tests are logged.

Type R test cases can use all CATT functions, with the following restrictions:

FUN

The function module runs in R/3 but it can call function modules remotely in R/2

CHETAB

SETVAR <tab>

All tables which are not in ATAB must have a data read function module in the R/2 table TC40B.

SET cursor

Has no effect

SET/GET parameters

Not available

Prerequisites

The R/2 test system must be Release 5.0G or later and the following SAP Basis components must be installed:

· BS2000:

- Remote Function Call

- Host communication with TCP/IP

- 153 SAP host link

· MVS and VSE systems:

- Remote Function Call

- Host communication with other LU 6.2 systems

- 153 SAP host link

There must be an RFC connection between the R/3 system and the R/2 test system. The R/2 user must be type ‘CPIC’ and must have the necessary authorizations.

Procedure

  1. Create simple type R test cases (test modules) to test individual transactions.
  2. Assemble these simple test cases into procedures. Create type R test cases which use the test modules in a meaningful sequence. You can create transaction sequences which correspond with your business processes.
  3. Save the test case.
  4. Create test case variants.
  5. Manage the test case in the Test Workbench.
  6. Run the test case and analyze the log.