Ansicht
Dokumentation

ABENMETHOD_CALLS_STATIC - METHOD CALLS STATIC

ABENMETHOD_CALLS_STATIC - METHOD CALLS STATIC

CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

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 form of static method call.

Obsolete variant of the standalone call:

System Fields

Each method call sets the system field sy-subrc to 0 in the moment the method is called. Handling non-class-based exceptions can change this value.

Note

The static method call described here must not 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

Catchable Exceptions

CX_SY_NO_HANDLER

CX_SY_REF_IS_INITIAL

  • Cause: Reference variable is initial
    Runtime Error: OBJECTS_OBJREF_NOT_ASSIGNED





ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2438 Date: 20240420 Time: 010844     sap01-206 ( 31 ms )