4. Foreign Key Relationships Flashcards
Foreign Key Relationships
Is a field (or combination of fields) that represents the primary key of another table. Relationships between tables are represented in the ABAP Dictionary by foreign keys.
Foreign Key Table
The table that contains the foreign key fields
Value Table
The table containing the set of allowed values attached to a domain.
Check Table
The table that is referenced by a foreign key. A check table is either identical to a value table, or is another table containing a subset of the records in a value table.
Field-By-Field Assignment
When performing a field-by-field assignment, all key fields in the check table are used to determine valid entries in the foreign key table.
Partial Foreign Keys
When creating a partial foreign key, certain fields are flagged as generic. These fields are ignored by the system when validating records that are inserted into the foreign key table.
Constant Foreign Keys
When creating a constant foreign key, certain fields are assigned a literal value. Only records in the check table with that value in the corresponding field are used to determine whether records in the foreign key table are valid.