SAP NEWS-40-DICTIONARY-TYPES
Get Example source ABAP code based on a different SAP table
ARTICLE
Data Types in the ABAP Dictionary for Release 4.0
General
Up until now the administration and maintenance of data types in the ABAP programming language and in the ABAP Dictionary were not unified.
For Release 3.0 the type concept in the ABAP programming language has been greatly enhanced. Elementary and structured data types can now be independently defined. Structured data types can be further subdivided into structures and internal tables. Structure components and internal table line types can take on any data type desired, which makes the definition of extremely complex data types possible. However, if you completely split a complex data type into its component parts, you should always end up with elementary ABAP data types.
ABAP data types and Dictionary data types previously only genuinely corresponded to one another if they were structures with elementary components. The ABAP data type 'structure' corresponded to the structure of database tables in the Dictionary and the structure of independent structures. From ABAP programs you could refer to database tables and Dictionary structures using the
Description of functionality
The following sections describe which Dictionary data types correspond to individual ABAP dtat types and how they are addressed in ABAP:
Elementary Types
Elementary data types in ABAP correspond to the data elements that were up to now only found in the ABAP Dictionary. From Release
Structured types
Structures in ABAP correspond to the structures that up to now were only found in the ABAP Dictionary. From Release
Table types
From Release
Database tables
In addition to managing data types centrally, the most important task of the ABAP Dictionary is still database table administration. The Dictionary describes from which elementary types the structured type of a database table's data record has been constructed. As in the past, you will still be able to use the addition
What's next?
In the future, SAP plans to allow for the central definition of constants in the ABAP Dictionary, a process which, at this time, can only be undertaken with the aid of type groups. Additionally, a
comprehensive bundling concept will make type group encapsulation generally available throughout the system.