Ansicht
Dokumentation

ABAPFORM_PARAMETERS - FORM PARAMETERS

ABAPFORM_PARAMETERS - FORM PARAMETERS

General Material Data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

FORM, parameters

Short Reference



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

Effect

Defines 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.






General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2040 Date: 20240623 Time: 203557     sap01-206 ( 29 ms )