Chapter 4 (Data Objects)
Chapter 4 (Data Objects)
Chapter 4 (Data Objects)
• Data objects are fundamental elements that store and manage data within a
program. Data objects represent pieces of information and can take various
forms.
Common data objects used in SAP ABAP
Variables Variables are used to store and manipulate data within
a program. They can be of various data types, such as
integers, strings, dates, or user-defined types.
Variables are essential for performing calculations and
holding temporary data during program execution.
Internal Tables Internal tables are data structures used to store and
manage data in memory. They are similar to arrays in
other programming languages and are often used for
data processing and manipulation
• Elementary constants
• Complex constants
• Reference constants
Elementary Constant Type
• Syntax:
CONSTANTS constant_pointer TYPE REF TO object_name VALUE IS
INITIAL.