Chapter 04_ABAP Dictionary
Chapter 04_ABAP Dictionary
ABAP Dictionary
Objectives
For this chapter and many of the following chapters, we will use an ABAP
Dictionary table created for the purpose of demonstrating online programming
techniques. This table is named “YMOVIE” and it contains information about the
Academy Awards.
YMOVIE
Database Table
AAYear
Category
Winner
Notes
Critic
To “paint” fields from the ABAP Dictionary, make sure you are in the Layout view.
Use the “Goto-> Secondary Window->Dict/program fields” menu path in the
Screen Painter
By selecting a “Key word” size,
Select the desired fields. you will get a text field.
Screen Painter
If a screen field is
“painted” from the
ABAP Dictionary,
it points to a data F1
element and the
data element’s
online help.
Data element
short text
Execute
transaction
If a change is made to an ABAP Dictionary field (e.g., category length is changed from
3 to 6 characters) and the appropriate Dictionary objects are reactivated, the change
will take effect throughout the system where this field is used.
Execute
Notice change
transaction
in “Category”
field length
Demonstration
Practice
Summary
To “paint” fields from the ABAP Dictionary, make sure you are in the Layout view.
Use the “Goto-> Secondary Window->Dict/program fields” menu path in the
Screen Painter.
If you go to the Element List (field types view), the screens fields “painted” from
the ABAP Dictionary are automatically named “<table name>-<field name>”.
To create the program fields with the same names as the screen fields “painted”
from the ABAP Dictionary, you should use the “TABLES” statement in the Top
Include.
A screen field that is “painted” from the ABAP Dictionary points to a data element.
The data element has online help associated with it. If the cursor is positioned in
the screen field and the ‘F1’ key is pressed, the system displays a dialog box with
this online help.
The ABAP Dictionary is integrated throughout the SAP system.
Questions
What is the menu path for referring ABAP Dictionary fields to the screen in screen
painter ?
When a screen field is painted from the ABAP Dictionary, does it point to the data-
element’s documentation ?