SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Obsolete Language Elements → Obsolete modularization → Subroutines →
FORM - DEFINITION, IMPLEMENTATION
Obsolete Syntax
FORM subr DEFINITION
[TABLES table_parameters]
[USING parameters]
[CHANGING parameters]
[RAISING exc1|RESUMABLE(exc1) exc2|RESUMABLE(exc2) ...].
FORM subr IMPLEMENTATION.
...
ENDFORM.
Effect
In this variant of the statement FORM the definition of a subroutine subr is shared between a declaration part and an implementation part:
This form of the definition of a subprogram is required if a subroutine of an encapsulated package is to be called from another program. In this case, the subroutine must be declared in a definition include. If the calling program is in a different package, the subroutine declared in the definition include has to be published explicitly in the package interface.