SAP ABAP Data Element CATATYP (CATT - Type)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-TWB-TST-CAT (Application Component) CATT Computer Aided Test Tool
     SCAT (Package) Computer Aided Test Tools
Basic Data
Data Element CATATYP
Short Description CATT - Type  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CATATYP    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Type 
Medium 15 Type 
Long 20 Type 
Heading Typ 
Documentation

Definition

The CATT procedure type determines the way in which the procedure can be executed.

Possible values: - Meaning

Supplementary Documentation - CATATYP 0001

Notes for type C (CATT)

CATT objects of type C are used to test R/3 transactions automatically. The transactions usually run without user interaction. System messages can be checked and database updates tested. A log is created after every test.

CATT objects of type C can use all CATT functions.

Supplementary Documentation - CATATYP 0002

Notes for Type M (Manual)

CATT objects of type M are used to create test instructions which must be performed manually by a tester, as CATT object long text in a SAPscript editor.

The automatic CATT functions cannot use type M CATT objects.

Supplementary Documentation - CATATYP 0003

Notes for type F (function module test)

A test case can test a function module.

Supplementary Documentation - CATATYP 0004

Notes for Type R (Remote R/2)

Type R CATT objects are used to test R/2 transactions automatically. The transactions run without user interaction. System messages can be checked and database updates checked. A log is created after each test.

Type R CATT objects can use almost all CATT functions with the following restrictions:

  • FUN: the function module runs in R/3 but can call functions in R/2
  • CHETAB and SETVAR <tab>: for all tables which are not in ATAB, a function module to read the data must be defined in the table TC40B in R/2.
  • SET Cursor: function is not processed
  • SET/GET parameters: not available

Prerequisites

The R/2 test system must be at least Release 5.0 Correction G, and certain SAP Basis components must be installed:

  • BS2000:
    • 082 Remote Function Call
    • 083 Host communication with TCP/IP
    • 153 SAP inter-system communication
  • MVS and VSE systems:
    • 082 Remote Function Call
    • 081 Host communication with other LU 6.2 systems
    • 153 SAP inter-system communication

There must be an RFC link between the R/3 system and the R/2 test system. The R/2 user must be of type 'CPIC' and must have the appropriate authorizations.

The application help contains further information about creating test modules and test procedures for R/2 systems.

Supplementary Documentation - CATATYP 0005

Notes for Type S (System inst.)

Only for training purposes! The attribute screen is laid out for the special requirements of SAP training.

Supplementary Documentation - CATATYP 0006

CATT type X - External applications

A test module of type X contains one or more files.

File list

A list of file names can be displayed and edited in this screen, as well as the CATT attributes. The following functions are available:

  • Continue - Leave the file list and
    return to the attribute screen
  • Insert line - Insert an empty line in the list
    for entering an Internet address (URL)
  • Delete line - Delete a file from the list without
    affecting the file on the presentation server
  • Import - File transfer with dialog from
    a presentation server file
    to the CATT module
  • Export - File transfer with dialog
    from the CATT module to
    a presentation server file

By default, the first file (see below) is marked for execution. If there are more than one file, another can be chosen.

Import and export parameters can also be defined on the parameter screen.

CATT functions of Type 'X' which are maintained on the function screen are not executed.

Executing an external application from CATT

When executing such a module, all files are downloaded with WS_DOWNLOAD from the specified path. One of the files, which is appropriately marked, is executed with WS_EXECUTE. When the external program execution has begun, the CATT procedure passes control to the user. When the external application has finished, the user is prompted in a popup to 'Continue' the CATT procedure.
Note: CATT with an external application can not be executed in Batch.

Parameters for external applications

Parameters can be defined in the CATT module for communication with an external application.
Import parameters are downloaded into a text file and can be read by the external application. The text file is downloaded with WS_DOWNLOAD as the first of the external application files.
The external application can put export parameters in the text file which is uploaded after the execution of the external application by the CATT module. The parameters can then be processed further in CATT. The names of the CATT export parameters are downloaded with the import parameters.

Parameter file name

By default, the name CATSTART.TXT is used for the text file for passing parameters. If you want another file name, an import parameter of type X with the name &PARAMFILE must be defined in the CATT module. This parameter can contain the desired filename.

Parameter file structure

Each parameter has a text line in three parts :

1: Parameter type, 1-character, 'I' = Import, 'E' = Export
2: Parameter name, max. 12-character, without leading '&'
3: Parameter value, max. 132-character.

The 1st. part is separated from the 2nd. part by a space.
The 2nd. part is output as 12 characters. If the parameter name is shorter, spaces are output.
The 2nd. part is separated from the 3rd. part by ' = '.
When the export parameter is returned, spaces between the three parts can be omitted.
The total text line for a parameter can contain at most 148 characters.

CATT type X - External test tool

A test module of type X can also contain a test case for a test tool of an external manufacturer which uses the standardized CATT desktop interface. It can pass the import and export parameters of a CATT module and the binary data of the entire external test case in the format of the external test tool. The file list contains only one binary file.

This function can currently only be used in SAP-internal systems.

The use of the external test tool requires CATT application customizing settings in the SAP System.

Supplementary Documentation - CATATYP 0007

Notes for type L (referred test case)

The test case refers to an existing test case. Use this type to allow logically different test cases to link to one test case. The subobjects maintained for this test case (attributes, functions and parameters) are included in the referred test case.

History
Last changed by/on SAP  20110908 
SAP Release Created in