SAP CLASS COMPONENT

Get Example source ABAP code based on a different SAP table
  


ARTICLE

CLASS - components
The components of the classes are defined in the visibility sections. The following declaration statements are possible for components:
TYPES , DATA, CLASS-DATA , CONSTANTS for data types and data objects
METHODS, CLASS-METHODS, EVENTS, CLASS-EVENTS for methods and events
INTERFACES for implementing interfaces and ALIASES for alias names for interface components

Note
All the components in a class are in one namespace. The name of a component must be unique to its type (data type, attribute, method, event, or alias name) within one class. The components of an implemented interface are marked with the prefix intf~ (name of the interface with interface component selector).