Escolar Documentos
Profissional Documentos
Cultura Documentos
What is DDIC ?
Acts as interface or a logical layer to the underlying database Also called as DDIC and ABAP Dictionary The ABAP Dictionary is completely integrated in the ABAP Development Workbench.
Table 1
Name
Address
Telephone
First Name
Surname
Town
Address
Numbers
ZIP
Town Name
Street
House No.
Maintenance of flights
Carrier : Flight number : F1
F4 Flight connection code Code, which defines a flight connection between two cities say 0400 Frankfurt-New York
ABAP Dictionary
Key Fields
Function Fields
Uses
Data Element
Uses
Domain
Domain
Describes the technical attributes of a field Domains are attached to Data Elements Defines a value range which describes the valid data values for all the fields which refer to this domain
Domain S_AIRPID
Data Element
Data Element describes the meaning of a domain in a certain business context.
Data Element
Data element contains primarily the field help(F1 documentation) and the field label in the screen. Information about the meaning of a table field or structure component can be assigned to a data element(Ex:Field Labels).
Technical Settings
Under Technical settings we specify the following :
Data class : In what physical area of the database should the table be stored. Size category : Determines size of next extent. Buffering : Should the records of the table be buffered ? Logging : Should all the data changes for this table be logged.
Data class
Database
Size Category
Logging
Structures
A structure is data type in dictionary Structure definition consists of group of components (fields) Does not have any physical storage in database Can be nested As a global data type in programs Can be reused in the definition of tables
Uses:
Includes
Structures can be included in tables or other structures to avoid redundant structure definitions.
Depth of Includes
Foreign Keys
Foreign Keys Enforce referential integrity Provide input help Create aggregate dictionary objects
Prerequisites: Primary key and foreign key field must share the same domain
Foreign Keys
Cardinality
1:1
Check table Foreign key table Check table
1:N
Foreign key table
Cardinality
1:C
Check table Foreign key table Check table
1 : CN
Foreign key table
Summary
ABAPDictionaryContinued.