code pal for ABAP > Documentation > FORM Routine Check
This check searches for the usage of FORM Routines (procedural programming) since with the release of Object Oriented ABAP this syntax became obsolete.
This check searches for the usage of the ENDFORM
statement.
Use classes and methods instead. Methods are similar to subroutines and can be used for modularization.
In exceptional cases, you can suppress this finding by using the pseudo comment "#EC CI_FORM
which should be placed right after the FORM
declaration:
FORM my_form. "#EC CI_FORM
" Form content
ENDFORM.