Basic Types in ABAP Dictionary

The basic types in the ABAP Data Dictionary (DDIC) are the fundamental data types that are used to define the structure and organization of the database objects in the SAP system. These basic types include:

1. Character Strings

Character strings are used to represent text or alphanumeric data in the SAP system. In the DDIC, character strings are defined by a data type called “Character” or “String”. The “Character” type is a fixed-length string, while the “String” type is a variable-length string. The “Character” type is defined with a specific length, such as 10 characters, while the “String” type is defined with a maximum length, such as 255 characters.

2. Integers

Integers are used to represent whole numbers in the SAP system. In the DDIC, integers are defined by a data type called “Integer”. The “Integer” type is a signed or unsigned whole number and is defined with a specific length, such as 4 bytes or 8 bytes.

3. Floating Point Numbers

Floating point numbers are used to represent decimal numbers in the SAP system. In the DDIC, floating point numbers are defined by a data type called “Floating Point Number” or “Real”. The “Floating Point Number” type is a signed or unsigned decimal number and is defined with a specific length, such as 4 bytes or 8 bytes. The “Real” type is a single-precision floating-point number, with a length of 4 bytes.

4. Dates

Dates are used to represent dates in the SAP system. In the DDIC, dates are defined by a data type called “Date”. The “Date” type is a date representation that includes the year, month, and day, and is stored as a 4-byte binary value.

5. Time Stamps

Time stamps are used to represent dates and times in the SAP system. In the DDIC, time stamps are defined by a data type called “Time Stamp”. The “Time Stamp” type is a date and time representation that includes the year, month, day, hour, minute, and second, and is stored as an 8-byte binary value.

6. Currency Amounts

Currency amounts are used to represent monetary values in the SAP system. In the DDIC, currency amounts are defined by a data type called “Currency”. The “Currency” type is a signed or unsigned decimal number that is used to represent monetary values and is defined with a specific length and number of decimal places, such as 13 bytes with 2 decimal places.

These basic types provide the foundation for defining the structure and organization of the database objects in the SAP system. By using these basic types, you can define the individual data elements, such as fields in a database table, and the underlying data representation for these elements.

What is SAP ABAP Data Dictionary (DDIC)?

DDIC is the central storage area that allows users to maintain the repository of objects related to the particular database and contains the central description of all the data used in the SAP system without any redundancy. The data in the DDIC is integrated, consistent, and secured. 

Similar Reads

What is the ABAP Data Dictionary?

ABAP Data Dictionary, also known as DDIC, is a central repository in the SAP system where all the metadata related to the database objects are stored. The DDIC is used to manage and maintain the definitions of the database objects such as tables, views, structures, data elements, domains, and search helps....

Basic Types in ABAP Dictionary

The basic types in the ABAP Data Dictionary (DDIC) are the fundamental data types that are used to define the structure and organization of the database objects in the SAP system. These basic types include:...

Dictionary Tasks

The ABAP Data Dictionary (DDIC) performs several key tasks in SAP, including:...

ABAP Dictionary 3 Levels

The ABAP Data Dictionary has three levels:...

Aggregated Objects of ABAP Dictionary

Aggregate objects in SAP ABAP Data Dictionary (DDIC) are objects that are created by grouping other DDIC objects together. The purpose of aggregate objects is to provide a higher level of abstraction and encapsulation of the underlying objects, making it easier to manage and reuse data definitions.There are several types of aggregate objects in ABAP DDIC, including tables, views, search help and lock objects. Each type of aggregate object serves a specific purpose and has its own unique characteristics. For example, tables are used to store data in the SAP system, views provide a consolidated view of data stored in one or more tables, and domains define the data type and rules for a specific field in a table. Each of the aggregated objects is explained in detail below:...