ABAP Keyword Documentation →  ABAP − Reference →  Calling and leaving program units →  Calling Processing Blocks →  Calling Procedures →  Method Calls →  Static Method Calls →  meth( ... ) - Standalone Method Call → 

super->meth( ... )

Short Reference

Syntax

... super->meth
  | super->constructor ... .

Alternatives:

1. ... super->meth ...

2. ... super->constructor ... .

Effect

This special form of specifying methods statically can be used in methods of subclasses to call the implementation of a method with the same name in the direct superclass. The superclass is addressed using the pseudo reference super.

Alternative 1

... super->meth ...


Effect

Can be specified in the redefinition of the method meth in the implementation of a subclass and calls the implementation of the method meth in the direct superclass.

A method call super->meth can be used in the same operand positions and in the same syntax forms as oref->meth. The same rules apply to the passing of parameters.

Alternative 2

... super->constructor ...


Effect

Must be specified in an instance constructor implemented in a subclass to call the instance constructor of the direct superclasses. The following restrictions apply before the superclass constructor is called:

After the superclass constructure has been called, the self-reference me-> can be used and instance components can be accessed.

The superclass constuctor can be called using super->constructor only as a standalone statement.

Notes