SAP ABAP Data Element CRR_TFW_D_TABLES_ST (Number of Test Tables for Static Test)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-UPG-TLS (Application Component) Upgrade Tools
     SCRR_TST (Package) CRR
Basic Data
Data Element CRR_TFW_D_TABLES_ST
Short Description Number of Test Tables for Static Test  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CRR_TFW_DOM_TABLES_ST    
Data Type NUMC   Character string with only digits 
Length 2    
Decimal Places 0    
Output Length 2    
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 Number 
Medium Circles 
Long 28 Number of Circles 
Heading  
Documentation

Definition

This program offers divers test functionalities for the so called Iterative Shadow Upgrade. Each test will perform write operations like insert, update and delete on specific data base tables. Mark desired test functionalities and press F8. All test functions are independent and can be activated without interfering each other. Some test function will stop automatically, some others will stop only if you click on the "STOP" icon. Alternatively you can delete the contents of data base table CRR_TFW_CSWITCH.

Keep check box "Testrun without checks" activated as long as no check between original system and shadow system are possible

&Test Functions&

Simple Change

This test function can run in a single dialog mode or in up to 10 parallel batch processes. In the latter case a job name must be supplied under which the processes can easily be recognized in transaction SM37. Program RCRR_TFW_SIMPLE_CHANGE is submitted. There data base tables CRR_TFW_01_01 until CRR_TFW_01_10 are used for write operations. These data base tables consist of almost all predefined SAP data types. In a loop records are deleted, created, updated and committed. Stop this process using table CRR_TFW_CSWITCH (see DEFINITION above).

Data Base Lock (select...for Update)

Once some testdata is inserted in data base table crr_tfw_05. One process holds a lock with a select single for update and waits up to 10 seconds until the lock is finally released with an update command. The process is the finished. There are 4 other processes that repeat this procedure until every process ended with an update command

Pool Table

One background process (program = RCRR_TFW_POOL_TABLE) is started that deletes, inserts, updates and commits some data base records

Stop this process using table CRR_TFW_CSWITCH (see DEFINITION above).

To run this test function it is necessary to

1. activate the code in program RCRR_TFW_POOL_TABLE by removing the stars

2. manually create

2.1 pool with

name=CRRPOOL

field name         key         Dtyp         length

tabname,         yes         char        10

varkey        yes        char        110

dataln                    int2        5

vardata                raw        3800

2.2 pool table with

field name         key         Data Element     Data Type         length        Decimals

MANDT        yes        MANDT

KEYFIELD        yes        NUMC10

FIELD_01                TEXT20

ANSCHRIFT                TEXT20

GEBJAHR                NUM4

FIELD_DATS                        DATS            8

FIELD_DEC                            DEC            21        4

FIELD_FLTP                        FLTP            16        16

FIELD_TIMS                            TIMS            6       

FIELD_INT4                            INT4            10

Cluster Table

One background process (program = RCRR_TFW_CLUSTER_TABLE) is started that deletes, inserts, updates and commits some data base records

Stop this process using table CRR_TFW_CSWITCH (see DEFINITION above).

To run this test function it is necessary to

1. activate the code in program RCRR_TFW_CLUSTER_TABLE by removing the stars

2. manually create

2.1 pool with

name=CRRPOOL

field name         key         Dtyp         length

tabname,         yes         char        10

varkey        yes        char        110

dataln                    int2        5

vardata                raw        3800

2.2 pool table with

Enqueue Lock

Program rcrr_tfw_dblock is started 3 times in parallel and in background. One process holds an enqueue lock on table crr_tfw_02 for up to 30 seconds. Two other processes wait until the lock holder has finished

This process stopps automatically. This test functionality shall only be used if a temporary load is required.

Dependencies

Example

It is recommended to run the following transactions in seperate windows:

- SM50

- SM37 in case of parallel batch processing

- SE16 with table CRR_TFW_CSWITCH. Delete its contents in case you want to stop any batch processes that were started with this test framework

History
Last changed by/on SAP  20140117 
SAP Release Created in 731