It is the instance-specific components, which are known as
instance components. The static components are those components that are not
instance-specific. The classes can define the following components in ABAP
The attributes are internal data fields that can have any
ABAP data type within a class. The state of an object is determined by the
contents of its attributes. One kind of attribute is the reference variable.
The reference variables are also very important as they allow you to create and
address objects. Reference variables can be defined in classes, which allow you
to access objects from within a class.
The instance-specific state of an object is defined by the
contents of instance attributes. They can be declared by using the DATA
The contents of static attributes define the state of the
class that is valid for all instances of the class. The static attributes exist
once for each class. It is declared using the CLASSDATA statement. They are
accessible for the entire runtime of the class. All of the objects in a class
can access its static attributes. If you change a static attribute in an
object, then the change is visible in all other objects of the class.