background image

BC030_2.04.1

Foreign Key Relationships

background image

BC030_2.04.2

Objectives

The participants will be able to:

Define a Foreign Key and explain its usage

Explain the prerequisites for constructing 
Foreign Key relationships

background image

BC030_2.04.3

Definition of Foreign Keys

background image

BC030_2.04.4

Uses of Foreign Keys

Maintain data integrity

Provide help texts

Create aggregate dictionary objects

background image

BC030_2.04.5

Prerequisites for Constructing 

Foreign Key Relationships

The Foreign Key Field and the primary key of the 
Check Table 

must

 share the same domain.

background image

BC030_2.04.6

Check Table

Check Table

Value Table

Value Table

Foreign Keys:  Key Terminology

Foreign Key Table

Foreign Key Table

background image

BC030_2.04.7

Check 

Table

Valu

Tabl

e

Foreign Key Terminology:  

Check Table / Value Table

  

can be 

          
the 
same

background image

BC030_2.04.8

Foreign Key Terminology:  

Check Table  Value Table

Check 

Table

Valu

Tabl

e

background image

BC030_2.04.9

Data

Dictionary

Establishing a Foreign Key 

Relationship in the ABAP Dictionary

background image

BC030_2.04.10

Creating a Foreign Key 

Relationship

Foreign Key 
Pushbutton

background image

BC030_2.04.11

Maintaining a Foreign Key 

Relationship’s Attributes

Enter a Short 
Text

Maintain the Foreign Key 
Type

Maintain Cardinality 
n:m

background image

BC030_2.04.12

Summary

The participants should be able to:

Define a Foreign Key and explain its usage

Explain the prerequisites for constructing 
Foreign Key relationships


Document Outline