9
Lecture 3 The ABAP Data Dictionary BCO5647 Applications Programming Techniques (ABAP)

Lecture03 abap on line

  • Upload
    mkpatil

  • View
    968

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Lecture03 abap on line

Lecture 3The ABAP Data Dictionary

BCO5647 Applications Programming Techniques (ABAP)

Page 2: Lecture03 abap on line

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

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

4BCO5647

Accessing the ABAP Dictionary

Page 5: Lecture03 abap on line

5BCO5647

A table definition in the Dictionary

Page 6: Lecture03 abap on line

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

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

8BCO5647

SAP’s Flight Data Model

Page 9: Lecture03 abap on line

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.