Файл: BC430_EN_Col62_FV_Part_A4_-_ABAP_Dictionary.pdf

ВУЗ: Не указан

Категория: Не указан

Дисциплина: Не указана

Добавлен: 03.04.2021

Просмотров: 2283

Скачиваний: 40

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.
background image

Unit Summary

BC430

Unit Summary

You should now be able to:

Name the function of the ABAP Dictionary in the R/3 system

Describe the possible ways of defining data objects and data types

Describe the services provided by the ABAP Dictionary

Explain how the ABAP Dictionary is linked to the development and runtime
environments

8

© 2007 SAP AG. All rights reserved.

2006/Q2


background image

Unit 2

Data objects in the ABAP Dictionary

Unit Overview

In this chapter, you will become familiar with the different options for mapping
data objects in the Dictionary

Unit Objectives

After completing this unit, you will be able to:

Create domains and use them in data elements

Define data elements and use them as the basis for defining data objects
in ABAP programs

Define structures and use them as the basis for defining data objects in
ABAP programs

Define internal tables and use them as the basis for defining data objects
in ABAP programs

Define complex (nested / deep) structures and use them as the basis for
defining data objects in ABAP programs

Define global constants with the help of a type pool and use them in ABAP
programs

Create Tables

Use the two-level domain concept

Define the technical settings of a table

Create and use include structures

Describe table types in the SAP system apart from the transparent tables

Distinguish pooled and cluster tables from one another

Describe the advantages and disadvantages of pooled and cluster tables.

Unit Contents

Lesson: Basic Data Types ...................................................... 11

Exercise 1: Basic Data Types.............................................. 25
Exercise 2: Simple and Nested Structures............................... 31
Exercise 3: Table Types (Internal Tables / ITABs)....................... 37

2006/Q2

© 2007 SAP AG. All rights reserved.

9


background image

Unit 2: Data objects in the ABAP Dictionary

BC430

Exercise 4: Deep Structures ............................................... 41

Lesson: Tables in the ABAP Dictionary ....................................... 46

Exercise 5: Tables in the ABAP Dictionary............................... 57

Lesson: Special SAP Tables ................................................... 68

10

© 2007 SAP AG. All rights reserved.

2006/Q2


background image

BC430

Lesson: Basic Data Types

Lesson: Basic Data Types

Lesson Overview

In this lesson, you learn about the basic data types and their use with one another.

Lesson Objectives

After completing this lesson, you will be able to:

Create domains and use them in data elements

Define data elements and use them as the basis for defining data objects
in ABAP programs

Define structures and use them as the basis for defining data objects in
ABAP programs

Define internal tables and use them as the basis for defining data objects
in ABAP programs

Define complex (nested / deep) structures and use them as the basis for
defining data objects in ABAP programs

Define global constants with the help of a type pool and use them in ABAP
programs

Business Example

You should define simple and complex data types in the Dictionary and be able to
use these in an ABAP program.

2006/Q2

© 2007 SAP AG. All rights reserved.

11


background image

Unit 2: Data objects in the ABAP Dictionary

BC430

Data types

Figure 6: Data Dictionary Initial Screen (SE11)

Cross-program (globally known) data types can be defined in the ABAP
Dictionary. You can reference these data types in every ABAP program in the
SAP system with the TYPE addition for corresponding ABAP statements.

In the initial screen, the corresponding definitions are defined using the

Data Type

field. Under data type, you can find the three basic types data element, structure
and table type (internal tables - ITAB).

The type group is actually a relict from past times (before Release 4.5a), when
it was not yet possible to create own

global, complex data types

for declaring

data objects in ABAP. The type group is still used for this. In future, when you
create a new global, complex data type, you should use the options provided by
the Dictionary structures. In addition, the type group for creating global constants
was and is used. The use of global constants is also supported by ABAP objects
in the form of constant attributes of a class. However, if you want to program in
a non-object oriented way, only the type group for defining a global constant
remains.

12

© 2007 SAP AG. All rights reserved.

2006/Q2