Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

How to use CATT to test functions modules?

Former Member
0 Kudos


I am trying to use CATT to test functions modules. After reading about it on, here is the procedure I tried to test a simple function module WRITE_MESSAGE which searches at concatenates messages from T100 –

1. Run transaction code SCAT

2. Enter a name for the test case: ZWRITE_MESSAGE

3. Test Case -> Record function module

4. A popup window appears titled “CATT: Record function module”, enter the function module name : WRITE_MESSAGE

5. Click the button “Record” to arrive at the screen “Catt : Maintain Functions Test Case ZWRITE_MESSAGE” (which is empty), but the popup window “CATT: Record function module” still remains, and there is no other choice but to click the button “Record” again

6. At the screen “Test Function module initial screen”, enter some import parameters : MSGID = ‘EU’, MSGNO = 178, MSGTYP = I

7. Run the test and a popup info window appears “Recording ended”

8. Click enter to arrive at the “Test Function module Result screen” to see the export parameter MESSG is correctly filled

9. Click return to “Test case attribute screen”

10. Click save, choose local object to receive message “Attributes saved”

Now I am stuck, how do I choose which comparisons are to be carried out?


Active Contributor
0 Kudos

Former Member
0 Kudos

Thanks Jayanthi, but the unfortunately the documentation mainly focuses on using CATT with transactions. I have found very little which describes how to test function modules with CATT

0 Kudos


Check this.These links focuses on function module.

Kindly reward points by clicking the stars nearer to replies,if you find it as useful.

Former Member
0 Kudos

OK, I found the solution -

On the screen 'Test Function module Result screen', these is tiny select button which I didn't notice.