ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 03.04.2021
Просмотров: 2387
Скачиваний: 41
Unit 4: Input Checks
BC430
3.
Define the foreign key of the
Language
field in the ZDEPMENTT## table.
Note:
Since you are using domain SPRAS for field
ZDEPMENTT##-Language, you can use value table T002 for the
foreign key definition.
a)
Place the cursor on field ZDEPMENTT##-Language. Choose
Goto
→
Foreign key
.
b)
Have the system make a proposal for the foreign key definition. Check
the proposal. The following fields must be assigned:
Check table T002
CkTabFld
For. key table
For. key fld
SPRAS
ZDEPMENTT##
Language
c)
Enter a short text and determine the semantic attributes as follows:
Field
Value
Type of foreign key fields
Key fields / candidates
Cardinality
1:CN
d)
Save your foreign key.
e)
Now activate the table.
128
© 2007 SAP AG. All rights reserved.
2006/Q2
BC430
Lesson: Consistency Through Input Checks
Lesson Summary
You should now be able to:
•
Create and use fixed values
•
Define what a foreign key is
•
Apply the conditions for the field assignment of the foreign key
•
Know the difference between the value table and the check table
•
Create foreign key
2006/Q2
© 2007 SAP AG. All rights reserved.
129
Unit Summary
BC430
Unit Summary
You should now be able to:
•
Create and use fixed values
•
Define what a foreign key is
•
Apply the conditions for the field assignment of the foreign key
•
Know the difference between the value table and the check table
•
Create foreign key
130
© 2007 SAP AG. All rights reserved.
2006/Q2
Unit 5
Object Dependencies
Unit Overview
In this chapter, you will become familiar with the dependencies that exist between
different Dictionary objects.
Unit Objectives
After completing this unit, you will be able to:
•
Explain how the Repository Information System and the Where-used list for
ABAP Dictionary objects function
•
Describe the mechanism for handling dependent objects in the ABAP
Dictionary
•
Differentiate between the active and inactive version of an ABAP Dictionary
object.
Unit Contents
Lesson: Object Dependencies ................................................132
Exercise 8: Dependencies with ABAP Dictionary Objects ............137
2006/Q2
© 2007 SAP AG. All rights reserved.
131
Unit 5: Object Dependencies
BC430
Lesson: Object Dependencies
Lesson Overview
Lesson Objectives
After completing this lesson, you will be able to:
•
Explain how the Repository Information System and the Where-used list for
ABAP Dictionary objects function
•
Describe the mechanism for handling dependent objects in the ABAP
Dictionary
•
Differentiate between the active and inactive version of an ABAP Dictionary
object.
Business Example
There are often certain dependencies between dictionary objects that become
effective through changes to objects. For example, if you change a technical
domain, then one or more database tables may have to be converted (can be very
time-consuming).
Activation and Where-Used List
Figure 54: Active and Inactive Versions
132
© 2007 SAP AG. All rights reserved.
2006/Q2