ABAP Keyword Documentation → ABAP - Reference → Declarative statemnts → Typing
typing Addition
Other versions: 7.31 | 7.40 | 7.54
Syntax
... generic_type | complete_type ...
Effect
The addition typing
is part of the definition of formal parameters and field symbols in the statements:
The addition allows a generic typing with generic_type
and a complete typing with complete_type
.
In positions where the addition typing
is not necessary, implicit typing
with the generic type any
takes place (if no typing is specified explicitly).
Notes
- In classes, the formal parameters of methods or events and field symbols must be typed explicitly. The formal parameters of methods or events of global classes and the formal parameters of function modules are typed in Class Builder or Function Builder. For a typing of system wide visible public interface parameters to be carried out in Function Builder or Class Builder, only the types in ABAP Dictionary may be used.
- For more on the typing of parameters of function modules, see function module interface.