Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1022 Bytes

form-routine.md

File metadata and controls

29 lines (17 loc) · 1022 Bytes

code pal for ABAP > Documentation > FORM Routine Check

FORM Routine Usage Check

What is the Intent of the Check?

This check searches for the usage of FORM Routines (procedural programming) since with the release of Object Oriented ABAP this syntax became obsolete.

How does the check work?

This check searches for the usage of the ENDFORM statement.

How to solve the issue?

Use classes and methods instead. Methods are similar to subroutines and can be used for modularization.

What to do in case of exception?

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.

Further Readings & Knowledge