SAP ME

Get Example source ABAP code based on a different SAP table
  


ARTICLE
• me ABAP_DATA_OBJECT

The self-reference me
Within the implementation of every instance method, an implicitly created local reference variable called ABAP_KEY 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.

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