Using CATT for R/2 test cases 

Use

Remote R/2 test type 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.

Remote R/2 test cases have all CATT functions. They are maintained in CATT extended mode.

The following restrictions apply:

FUN

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

CHETAB

SETVAR <tab>

All tables that 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:

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 Remote R/2 test cases (test modules) to test individual transactions.
  2. Assemble these simple test cases into procedures. Create Remote R/2 test cases that use the test modules in a meaningful sequence. You can create transaction sequences that correspond with your business processes.
  3. Save the test case.
  4. Create test case variants.
  5. Manage the test case in the Test Organizer.
  6. Run the test case and analyze the log.