Skip to content

Commit ae92105

Browse files
Update form-routine.md
1 parent 764e7e1 commit ae92105

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

docs/checks/form-routine.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
1-
# code pal for ABAP
2-
31
[code pal for ABAP](../../README.md) > [Documentation](../check_documentation.md) > [FORM Routine Check](form-routine.md)
42

53
## FORM Routine Usage Check
64

75
### What is the Intent of the Check?
86

9-
`FORM` Routines are sub-routines in procedural programming. With the release of Object Oriented ABAP this syntax became obsolete.
7+
This check searches for the usage of FORM Routines (procedural programming) since with the release of Object Oriented ABAP this syntax became obsolete.
108

119
### How does the check work?
1210

1311
This check searches for the usage of the `ENDFORM` statement.
1412

15-
### Which attributes can be maintained?
16-
17-
![Attributes](./imgs/form_routine_usage.png)
18-
1913
### How to solve the issue?
2014

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

2317
### What to do in case of exception?
2418

25-
You can suppress Code Inspector findings generated by this check using the pseudo comment `"#EC CI_FORM`.
26-
The pseudo comment must be placed right after the `ENDFORM`.
19+
In exceptional cases, you can suppress this finding by using the pseudo comment `"#EC CI_FORM` which should be placed right after the `ENDFORM`:
2720

2821
```abap
2922
FORM my_form.

0 commit comments

Comments
 (0)