Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Predefined types, data objects, and functions →  Predefined Data Objects 

The self-reference me

Within the implementation of every instance method, an implicitly created local reference variable called me is available, which points to the instance in which the method is currently being executed. me is treated like a local constant, that means the value of me cannot be altered in an instance method. The static type of me is the class in which the instance method is implemented.

Other versions: 7.31 | 7.40 | 7.54


When an object is created, me also points to the instance of the generated subclass when an instance constructor of a superclass called using super->constructor is being executed. In the instance constructor of the superclass, or in methods that have been called by the instance constructor, specifying me-> in the method call has no effect. Instead, the method implementations of the superclass are always called.