Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete modularization →  Subroutines →  FORM 

FORM - parameters

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

... { VALUE(p1) | p1 } [typing|structure]
    { VALUE(p2) | p2 } [typing|structure]
    ...

Effect

Definition of the formal parameters p1 p2 ... for subroutines.

The addition typing types a formal parameter p1 p2 .... The syntax of typing is described in Typing. The typing of a formal parameter causes the data type to be checked against the typing when an actual parameter is passed. In addition, the typing specifies at which operand positions the formal parameter can be used in the subroutine. If no explicit typing is specified, a formal parameter is typed with the fully generic type any.

VALUE can be used to specify how values are passed for a formal parameter p1 p2 .... If VALUE is not specified, values are passed by reference.

The addition structure can also be used to implement an obsolete form of typing.


Note

Without an explicit typing, a formal parameter is typed implicitly with the fully generic type any.