Ansicht
Dokumentation

ABAPMETHODS_SHORTREF - METHODS SHORTREF

ABAPMETHODS_SHORTREF - METHODS SHORTREF

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

METHODS

Reference



Syntax

METHODS meth [ABSTRACT|FINAL]
             [FOR EVENT evt OF {class|intf}]
  [ IMPORTING {{VALUE(p1)|REFERENCE(p1)|p1} typing [OPTIONAL|DEFAULT def1]
               {VALUE(p2)|REFERENCE(p2)|p2} typing [OPTIONAL|DEFAULT def2]
               ... }
              [PREFERRED PARAMETER p] ]
  [ EXPORTING {{VALUE(p1)|REFERENCE(p1)|p1} typing
               {VALUE(p2)|REFERENCE(p2)|p2} typing
              ... } ]
  [ CHANGING  {{VALUE(p1)|REFERENCE(p1)|p1} typing [OPTIONAL|DEFAULT def1]
               {VALUE(p2)|REFERENCE(p2)|p2} typing [OPTIONAL|DEFAULT def2]
              ... } ]
  [ RETURNING {VALUE(r)} typing ]
  [ {RAISING exc1|RESUMABLE(exc1) exc2|RESUMABLE(exc2) ...}
  | {EXCEPTIONS exc1 exc2 ...} ].


Effect

Declares an instance method meth in the declaration part of a class or in an interface.

Additions

  • ABSTRACT
    Declares an abstract method that cannot be implemented in the same class.
  • FINAL
    Declares a final method that cannot be redefined in a subclass.
  • IMPORTING
    Defines input parameters p1, p2, ...
  • EXPORTING
    Defines output parameters p1, p2, ...
  • CHANGING
    Defines input/output parameters p1, p2, ...
  • typing
    Types the formal parameters.
  • OPTIONAL$|DEFAULT
    Defines optional input or input/output parameters either with or without the replacement parameters def1, def2, ...
  • PREFERRED PARAMETER p
    Declares a parameter p of exclusively optional input parameters as preferred parameters.
  • OPTIONAL$|DEFAULT
    Defines optional input or input/output parameters either with or without the replacement parameters def1, def2, ...
  • PREFERRED PARAMETER p
    Declares a parameter p of exclusively optional input parameters as preferred parameters.
  • EXCEPTIONS exc1 exc2 ...
    Defines non-class-based exceptions exc1, exc2, ...
    Defines non-class-based exceptions exc1, exc2, ...





ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 7133 Date: 20240426 Time: 084554     sap01-206 ( 59 ms )