Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

foreign key

Former Member
0 Likes
723

what is a foreign key?

Regards,

swathi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
695

Relationships between tables are represented in the ABAP Dictionary by foreign keys.

A foreign key is a field (or combination of fields) that represents the primary key of another table.

The table that is referenced by the foreign key is called the check table. The check table is also known as the “referenced” or “parent” table.

The table that contains the foreign key fields is called the foreign key table. The foreign key table is also known as the “dependent” or “child” table.

4 REPLIES 4
Read only

Former Member
0 Likes
696

Relationships between tables are represented in the ABAP Dictionary by foreign keys.

A foreign key is a field (or combination of fields) that represents the primary key of another table.

The table that is referenced by the foreign key is called the check table. The check table is also known as the “referenced” or “parent” table.

The table that contains the foreign key fields is called the foreign key table. The foreign key table is also known as the “dependent” or “child” table.

Read only

Former Member
0 Likes
695

Swathi,

It has already been asked on the forum. Check this thread.

Regards

Aneesh.

Read only

Former Member
0 Likes
695

You can define the relationships between tables in the ABAP Dictionary by creating foreign keys.

Using foreign keys, you can easily create value checks for input fields. Foreign keys can also be used to link several tables in a Structure link view or a Structure link lock object.

refer

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea77446011d189700000e8322d00/content.htm">FOREIGN KEYS</a>

<a href="http://www.sapdb.org/7.4/htmhelp/ee/1c5bd9eba711d4aa2800a0c9430730/content.htm">DEFINING FOREIGN KEYS</a>

regards,

srinivas

<b>*reward for useful answers*</b>

Read only

Former Member
0 Likes
695

relationship betweel two table