Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Calling and leaving program units →  Calling Processing Blocks →  Calling Procedures →  Method Calls 

Static Method Calls

There are two types of static method call, standalone static method calls and functional static method calls. (Method chainings are a special type of static method call.)

The following is an obsolete variant of the standalone call:

Other versions: 7.31 | 7.40 | 7.54


Note

The static method call described here is not to be confused with the call of static methods. A static method call is the static specification of an instance method or a static method. In addition, there is the dynamic method call, for which the methods are specified dynamically.

Exceptions

Handleable Exceptions

CX_SY_NO_HANDLER

CX_SY_REF_IS_INITIAL

  • Cause: Reference variable is initial
    Runtime error: OBJECTS_OBJREF_NOT_ASSIGNED

Continue

meth( ... ) - Standalone Method Call

meth( ... ) - Functional Method Call

... meth1( ... )->meth2( ... )->... - method chaining

meth( ... ) - Parameter Passing