Download - Lecture03 abap on line
![Page 1: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/1.jpg)
Lecture 3The ABAP Data Dictionary
BCO5647 Applications Programming Techniques (ABAP)
![Page 2: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/2.jpg)
2BCO5647
Readings & Objectives
Readings
Matzke Chapter 2Section 2.1
Objectives
This lecture will
Review the definition and purpose of the ABAP Dictionary
Explore ways to access the ABAP Dictionary
Examine ABAP Dictionary objects: Transparent Tables, Data Elements,Domains, Check Tables
Consider the importance of the ABAP Dictionary in relations to writing anABAP program.
![Page 3: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/3.jpg)
3BCO5647
The ABAP Dictionary
The ABAP Dictionary allows you to define data objects such as tables andstructures.
A transparent table in the dictionary has a one-to-one relationship with a tablein the database.
Transparent Table
![Page 4: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/4.jpg)
4BCO5647
Accessing the ABAP Dictionary
![Page 5: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/5.jpg)
5BCO5647
A table definition in the Dictionary
![Page 6: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/6.jpg)
6BCO5647
Basic Dictionary Objects
Tables are made up of rows containing one or more fields.
When a field is defined its data type is determined by reference to a data element. A dataelement stores semantic properties – field label and online documentation (F1 help). A data element also references a domain.
A domain contains technical properties - data type/length.
Data elements and domains are reusable
![Page 7: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/7.jpg)
7BCO5647
Data Elements & Domains
z_phonef
Label: fax number
z_phonew
Label: work number
z_phoneh
Label: home number
zphone
type: char
len: 12
phone_w
phone_f
phone_h
Customer Table Data Domain fields Elements
![Page 8: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/8.jpg)
8BCO5647
SAP’s Flight Data Model
![Page 9: Lecture03 abap on line](https://reader036.vdocuments.mx/reader036/viewer/2022081821/54b4b17a4a795939648b4579/html5/thumbnails/9.jpg)
9BCO5647
The ABAP Dictionary - Summary
The ABAP Dictionary is the central facility in the SAP system where you cancreate and maintain tables and other objects.
To create a table, you first need domains and data elements. Domains providethe technical characteristics of a field: data elements provide the fieldlabels and F1 help. Both are reusable.