
In class pools and function pools, ABAP Unit tests should be defined and edited in a separate include.
In ABAP classes, the system stores ABAP Unit test classes by default in the ...CCAU include.
In function groups, test classes are stored in the ...T99 include.
Here is how to create an include for ABAP Unit test classes and how to display and edit your test classes in the source code-based editor.
Function group: From the Function Builder screen (for maintaining the signature of a function module), choose .
Class: From the Class Builder, choose
You can also use the ABAP Unit Wizard to create the include automatically.
In executable programs, you can simply add local ABAP Unit test classes at the end of the program source code.