Types and Constants in Classes

Types

Use the TYPES statement to define any number of your own ABAP data types within a class. Types are not instance- specific - they are available once and once only for all the objects in the class.

Constants

Constants are special static attributes, whose values are specified when they are declared and which cannot be changed later. Use the CONSTANTS statement to declare constants. Constants are not instance-specific - they are vailable once and once only for all the objects in the class.