You can use the recording function to create test cases for transactions:
1. Enter a test case name in the CATT maintenance transaction initial screen and choose Record module.
2. Enter the transaction for which you want to record a test case, in the next dialog box.
Confirm your entries with
ENTER .You go to the initial screen of the transaction you want to record.

Specify the transaction recording
3. Make sure that the window size is set to the default by choosing
® Default size.
This ensures that recorded test cases run correctly in the background. This is necessary, e.g. for step loop fields whose length depends on the screen size.
4. Run the transaction as you want it to be tested later with the CATT test case.
5. After ending the transaction, you automatically go to the CATT maintenance transaction. A dialog box tells you that the recording is finished. Choose
6. You go to the CATT maintenance transaction attribute maintenance screen. Check the attributes and change them if necessary.
7. Choose Goto
® Functions to go to the Function editor.8. Enter additional
functions and save them. 9. Parameterize the test case.
Read the
You can also create test cases manually, as described in
Create test cases manually. 
You must confirm type ‘I’ system messages with ENTER before you can continue. This also applies to messages that only appear in the status bar.
If an OK code of type ‘T’ is entered on a screen of the transaction to be recorded, the recording terminates without an error message.