Anda di halaman 1dari 2

How to use CATT

1. Enter the transaction code: scat


2. Enter a name in the field TEST CASE
3. Click on TCD (Record Transaction)
4. Enter the transaction code that you want to record
5. Press F7
6. Click Record
7. NOTE: When entering your data it is important that you do not press ENTER. Rather click on the
green check mark in the top left corner of your screen to continue.
8. Do the necessary entries in the transaction and save your work when you have finished entering
the data.
9. Press BACK until the dialog box pops up then you click END RECORDING.
10. The Test Case Attribute screen is displayed. Click on SAVE.
11. Another popup dialog box appears named Create Object Directory Entry. Click on Local Object.
12. Message displayed ATTRIBUTES SAVED.
13. Press BACK until you enter the initial screen. Another popup dialog box appears asking whether
you want to save or not. Click YES.
14. After it was saved, click on CHANGE (make sure you entered the test case).
15. The screen MAINTAIN FUNCTIONS appear and you double click in the FUNCTION dialog box in
the column FUNCT.
16. The screen Function Details TCD is displayed. Click on FIELD LIST.
17. You look for the fields that you have maintained previously in the transaction. If you do not see the
fields that you have maintained click on NEXT SCREEN.
18. The fields where you have maintained the data you select and you delete the information in that
field and replace it with an Ampersand ( & ).
19. Press NEXT SCREEN until you there is no fields to change.
20. Click on BACK (F3) until you can save. At the screen MAINTAIN FUNCTIONS you can save.
Press Back (F3) until you arrive at the initial screen.
21. On the initial screen, on the menu bar, select GOTO VARIANTS EXPORT DEFAULT
22. A popup dialog box will appear named TRANSFER TO A LOCAL FILE. Here you specify where
you save your file. A default directory is already in place for you. Press TRANSFER.
23. Now out of SAP for now. Go to the file where you have saved the file. The file is saved as a text
file.
24. NOTE: You should have Microsoft Excel to do the following. The file’s name will be the name that
you have given the test case. Right click on that file and choose OPEN WITH… , then you choose
Microsoft Excel.
25. Click between the column letters to resize the fields. You can enter the data in the columns
where you have specified to do the changes.
26. After you have entered the data click on SAVE. Click YES if a popup box appears. Close the file.
Another popup box appears and you click on YES.
27. The SAVE AS dialog box appears and you make sure that you save your file as of type TEXT
(TAB DELIMITED). If it complains that the file already exists, still click on YES. Another popup box
appears and you click on YES.
28. Now, back to SAP again.
29. Enter your test case (if it is not already displayed) and click EXECUTE (F8).
30. The screen EXECUTE TEST CASE will appear. In the dialog box LOG TYPE you can select one
of the three options, but for now leave it at LONG. In the PROCESSING MODE dialog box you
select ERRORS to display the mistakes or errors that occurred while it executes the file. Then at
the VARIANTS dialog box, choose EXTERNAL FROM FILE. Click on CHOOSE. You then select
the file that you have maintained and click OPEN.
31. Then click on EXECUTE (F8).
32. The log will be displayed to show you that the data has been entered. Errors will automatically be
displayed in red. You can then go see whether your data has been maintained that you specified
in the text file.

PLEASE NOTE: Use transaction code SCC4 to switch on the CATT ALLOWED setting

Anda mungkin juga menyukai