Ansicht
Dokumentation

ABAPCLASS_SHORTREF - CLASS SHORTREF

ABAPCLASS_SHORTREF - CLASS SHORTREF

TXBHW - Original Tax Base Amount in Local Currency   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

CLASS

Reference



Syntax Forms

Declaration Part

CLASS class DEFINITION [INHERITING FROM superclass]
                       [ABSTRACT]
                       [FINAL]
                       [CREATE {PUBLIC|PROTECTED|PACKAGE|PRIVATE}]
                       [SHARED MEMORY ENABLED]
                       [OPEN FOR PACKAGE]
                       [FOR TESTING
                         [RISK LEVEL {CRITICAL|DANGEROUS|HARMLESS}]
                         [DURATION   {SHORT|MEDIUM|LONG}] ]
                       [[GLOBAL] FRIENDS [class1 class2 ...]
                                         [intf1 intf2 ...] ].
  [PUBLIC SECTION.
    [components]]
  [PROTECTED SECTION.
    [components]]
  [PACKAGE SECTION.
    [components]]
  [PRIVATE SECTION.
    [components]]
ENDCLASS.



Implementation Part

CLASS class IMPLEMENTATION.
  implementations
ENDCLASS.


Effect

Declares and implements a class class. In the declaration part, the components components of a class are declared in the visibility sections PUBLIC, PROTECTED, and PRIVATE SECTION, using ALIASES, $[CLASS-$]DATA, $[CLASS-$]METHODS, and $[CLASS-$]EVENTS. In the implementation part, all the concrete methods declared in the declaration part between METHOD and ENDMETHOD are implemented.

Additions

  • ABSTRACT
    Defines class as an abstract class, which cannot be instantiated.
  • FINAL
    Defines class as a final class from which subclasses cannot be derived.





Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 6150 Date: 20240420 Time: 081216     sap01-206 ( 46 ms )