Stefanos Moschidis - SAP Certified Technical Consultant - How to test a Function Module with CATT
Further reading in the SAP Library on the links
http://help.sap.com/saphelp_46c/helpdata/en/d7/e21a50408e11d1896b0000e8322d00/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/b3/410b37233f7c6fe10000009b38f936/frameset.htm
Or through the path Basis Components -> Computer Aided Test Tool (BC-CAT)
A very good example of CATT use on the link http://www.stfx.ca/people/mmolinar/INFO347/CATT_Made_Easy.doc