12 - ABAP Data Dictionary Study Questions
12 - ABAP Data Dictionary Study Questions
0
Data Modeling & ABAP Dictionary
Study Questions and Answers
Page 1
Dec-2008
ECC 6.0
Data Modeling & ABAP Dictionary
Study Questions and Answers
Page 2
Dec-2008
ECC 6.0
Data Modeling & ABAP Dictionary
Study Questions and Answers
15. What are the basic types of queries made to the Repository Information System?
-- Find
-- Where-Used
-- Modification analyses (i.e. all objects X modified by user Y)
16. What four basic types of objects can you search for using the R/3 Repository
Information System?
Modeling objects, programming objects, ABAP Dictionary objects, and environment objects.
17. What is a foreign key and how is it used?
A foreign key is a field that provides a link between two tables by including a reference in the first
table (dependent or foreign key table) to the primary key of the second table (check table).
The dependent (foreign key) table may use only those values contained in the check table. The
foreign key relationship is set up in the ABAP Dictionary at the field level. The foreign key field
and the check table field must have the same domain. An important function of foreign keys is to
support data integrity.
18. What is a search help? What are the two stages of creating a collective search help?
A search help is a tool to help find data records stored in the SAP system. It is used as online
help (F4) or as a search aid when an entry field calls for a key and only certain other (non-key)
fields of the object are known. (i.e. You want to research an employee and know his name but
cant remember his personnel number, so a F4 search on his name can help you find the
number).
First the elementary search helps are defined with the relevant table and fields specified. The
collective search help is then defined using multiple elementary search helps.
19. Tables defined in the ABAP Dictionary can be assigned to what 5 specific data
classes (via the technical settings screen)?
Master data, transaction data, organization and customizing data, system data, and user
(customer) data.
20. Name and describe the five table types. Which one is sometimes not considered
a true table type?
STRUCTURE (INTTAB):
Internal structure without mapping to an underlying database table.
Field strings used by ABAP as structures.
Can be used in multiple tables.
TRANSP:
SAP data dictionary table that is mapped 1:1 to the database.
Designed to hold SAP data in a database.
POOL:
Page 3
Dec-2008
ECC 6.0
Data Modeling & ABAP Dictionary
Study Questions and Answers
Logical pooled table used to store internal control data not relevant externally.
Mapped as many database tables to one SAP table.
CLUSTER:
Logical cluster table used to store continuous texts (documentation data).
VIEW:
A method of viewing database tables.
Can combine data from multiple tables into one view, and/or can restrict the view to
certain records or fields within a table.
Views are sometimes not considered true table types.
21. What are the four technical settings of a transparent table?
Data class: physical area in the database to which the table is assigned.
Size Category: space required for the table in the db (defines the size of the disk space
allocated for the table)
Buffering: whether and how to be buffered (suggested for tables not changed very often);
tables can have full or partial buffering.
Log data changes: (on or off) keeps track of the modifications to a table. If logging is on
a copy of data is saved from before changes as well as after.
22. After a table is created, can its technical settings be changed? If so, when?
Yes. It is now possible to change the technical settings of an active table and reactivate the
table at any time. This is a change from version 2.2 to version 3.0 of SAP.
23. What utility supports the creation of tables and secondary indexes?
The database utility. This utility is invoked automatically upon table activation or can be invoked
directly from the ABAP Dictionary maintenance screens.
24. What are the possible cardinalities of a foreign key?
The relationship is n:m where n refers to the relationship from the foreign key table to the check
table and can have values 1 or C (none or 1), and m refers to the relationship from the check
table to the foreign key table and can have values 1, C (none or 1), N (1 or many) or CN (none, 1
or many).
The possible cardinalities are 1:1, 1:C, 1:N, 1:CN, C:1, C:C, C:N, and C:CN. The most
commonly used cardinalities are 1:1, 1:C, 1:CN, and C:CN.
25. Names of data dictionary objects are limited to how many characters?
Restricted to 30. 30 characters are allowed for tables. Search Helps -- 30, logical databases-20, program names -- 40, type groups -- 5.
26. What is the purpose of a type group?
Type groups allow the user to define their own data types within the ABAP dictionary. These data
types are then available for use in any ABAP program.
Page 4
Dec-2008