Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 736 Bytes

empty-procedure.md

File metadata and controls

25 lines (14 loc) · 736 Bytes

code pal for ABAP > Documentation > Empty Procedure Check

Empty Procedure Check

What is the Intent of the Check?

This check searches for empty methods, forms and modules.

How does the check work?

The check highlights all empty code statements. Comments and Pragmas are also classified as "empty".

How to solve the issue?

Remove the empty code blocks if they are not needed.

What to do in case of exception?

In exceptional cases, you can suppress this finding by using the pseudo comment "#EC EMPTY_PROCEDURE which should be placed right after the ENDMETHOD statement:

METHOD method_name.

ENDMETHOD. "#EC EMPTY_PROCEDURE