Upload
mkpatil
View
968
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
Lecture 3The ABAP Data Dictionary
BCO5647 Applications Programming Techniques (ABAP)
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.
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
4BCO5647
Accessing the ABAP Dictionary
5BCO5647
A table definition in the Dictionary
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
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
8BCO5647
SAP’s Flight Data Model
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.