background image

BC030_2.03.1

ABAP Dictionary Objects

background image

BC030_2.03.2

Objectives

The participants will be able to:

Access the ABAP Dictionary

Discuss the Basic Objects of the ABAP 
Dictionary

Define and create a Table, Data Element, 
and Domain

background image

BC030_2.03.3

Accessing the ABAP Dictionary

Data

Dictionary

background image

BC030_2.03.4

Table C

Table B

Table A

Data Element 1

Data Element 2

Domain

Domain

Basic Objects of the ABAP 

Data Dictionary

background image

BC030_2.03.5

Tables

TABLE KNA1

TABLE KNA1

(Customers)

(Customers)

Name 1 ORT01

MANDT KUNNR

Table:  KNA1

Table:  KNA1

Table:  KNA1

Table:  KNA1

background image

BC030_2.03.6

Create a Table

background image

BC030_2.03.7

Create a Table

Enter a Delivery 
Class

Table maintenance allowed 
checkbox

Enter a Short 
Text

background image

BC030_2.03.8

Domain Concept

Data Element 1

Data Element 2

Domain

Domain

background image

BC030_2.03.9

Table B

Table A

Data Element 1

Data Elements

background image

BC030_2.03.10

Pre-Defined Data Elements

background image

BC030_2.03.11

Create a Data Element

Enter a Short 

Text

Enter a 
Domain

background image

BC030_2.03.12

Create a Data Element

background image

BC030_2.03.13

Data Element Documentation

background image

BC030_2.03.14

Domains

Table A

Table A

Data Elements

Data Elements

Domain

Domain

background image

BC030_2.03.15

Characteristics of Domains

Table A

Table A

Data Elements

Data Elements

Domain

Domain

background image

BC030_2.03.16

Allowed Values

Value Table

Domain

Domain

Domain

Domain

January
February
March

    .

    .

    .

    .

    .

    .

    .
December

background image

BC030_2.03.17

valid

values

invalid

values

Benefits of Using Allowed 

Values

background image

BC030_2.03.18

Create a Domain

Enter a Short 

Text

Enter a Data 
Type

Enter the number of 
characters allowed for 
this Domain

background image

BC030_2.03.19

Create a Domain

Activate 
Icon

Assign a Value 
Table

Assign Single 
Values

Assign Interval 
Values

background image

BC030_2.03.20

Add Fields

Add Data Element 
“ZXXFIRSTNAME”

Enter the Field Name 
“FIRSTNAME”

Check the Primary Key 
Checkbox

background image

BC030_2.03.21

Maintain Technical Settings

Enter a Data 
Class

Enter a Size 
Category

background image

BC030_2.03.22

Using a Table in Program Code

TABLES: KNA1.

SELECT *
FROM

KNA1.

WRITE: /KNA1-KUNNR,

KNA1-NAME1,
KNA1-ORT01.

ENDSELECT.

background image

BC030_2.03.23

Summary

At this point the participants should be able 
to:

Access the ABAP Dictionary.

discuss the Basic Objects of the ABAP 
Dictionary

Define and create a Table, Data Element, 
and Domain


Document Outline