ABAP Keyword Documentation → ABAP - Reference → Obsolete Language Elements → Obsolete modularization → Subroutines
FORM - DEFINITION, IMPLEMENTATION
Other versions: 7.31 | 7.40 | 7.54
FORM subr DEFINITION
[RAISING exc1|RESUMABLE(exc1) exc2|RESUMABLE(exc2) ...].
FORM subr IMPLEMENTATION.
In this variant of the statement
the definition of a subroutine
subr is shared between a declaration part and an implementation part:
FORM subr DEFINITIONdeclares the subroutine and its parameter interface. The meaning of the additions is the same as in
FORM. A subroutine declaration of this type is part of the global declaration part of a program.
The subroutine is implemented between the statements
FORM subr IMPLEMENTATIONand
ENDFORM. These statements define a processing block in the implementation part of the program.
This variant of defining a subroutine is not supported by all tools and should be avoided.
This translation does not reflect the current version of the documentation.