Ansicht
Dokumentation

ABENTYPES_AND_OBJECTS - TYPES AND OBJECTS

ABENTYPES_AND_OBJECTS - TYPES AND OBJECTS

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Data Types and Data Objects

This section describes the declaration of data types and data objects.

Data Types

Data types are templates for creating data objects. Data types can be defined independently in the ABAP program or in the ABAP Dictionary. Data types can also be non-independent as properties of data objects. Data types do not use any memory space for work data but may require memory for administrative information.

Data Objects

A data object is an instance of a data type and occupies as much memory space as its type or content specifies. An ABAP program only works with data that is available as content of data objects. Data objects are created either implicitly as named data objects, or explicitly as anonymous data objects using CREATE DATA.

Data Types of Data Objects

Data objects can be declared by reference to a non-generic data type of the same ABAP program or from ABAP Dictionary. In this case, the data type determines the technical attributes of the data object completely. A data object can also be constructed in the ABAP program without completely specified type definitions. The data type of a data object of this type is always complete, and does not exist independently, but rather as a property of the data object and is called a bound data type.

Note

The data types of all class attributes belong to the static properties of a class. A LIKE addition enables the visible class attributes to be referenced without first creating an object using the class component selector or reference variables

Declaration Statements






ROGBILLS - Synchronize billing plans   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2141 Date: 20240425 Time: 225458     sap01-206 ( 46 ms )