ABAP Keyword Documentation → ABAP - Reference → Declarations → Declaration Statements → Data Types and Data Objects → Types and Objects - Overview → Details of Special Data Types or Data Objects → Reference Types
Object References
Object references can point to instances of
classes. The static type of their reference variables is either a class or an interface. You can
use both types to generate objects with the statement CREATE OBJECT
.
- Class reference variables allow access to all visible components of a class.
- Interface reference variables restrict the view of the interface components of a class.
Object references are always heap references.
Other versions: 7.31 | 7.40 | 7.54
Note
For more information, see Object References.