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 formal parameters p1 p2 ... for subroutines.

The addition typing types a formal parameter p1 p2 ....The syntax of typing is described in Typing. Typing a formal parameter has the effect that when an actual parameter is passed, its type is checked against the typing. In addition, the typing determines 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.

Use VALUE to determine how to pass by values for a formal parameter p1 p2 .... Without VALUE, values are passed by reference.

With the structure addition, an obsolete form of typing can also still be used.


Note


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