<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: generic foreign key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367462#M808099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A foreign key is a field in a table that is connected to another table via a foreign key relationship. The purpose of the foreign key relationship is to validate the data being entered into one table by checking against a valid set of values in another table. The table that contains the foreign key is called the foreign key table. The table that contains the valid set of values is called the check table  The field that is validated and on which the foreign key relationship is created is called the foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;STRONG&gt;compound foreign&lt;/STRONG&gt; &lt;STRONG&gt;key&lt;/STRONG&gt; is a foreign key composed of two or more fields. In other words, a check is done to compare two fields in the foreign key table against two fields in the check table. The combination of values must exist in the check table before they can be inserted into the foreign key table. However only one field on the screen will trigger the compound foreign key check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;STRONG&gt;generic foreign key&lt;/STRONG&gt; is a foreign key in which one of the primary key fields of the check table fields is marked as generic. When a primary key field is marked as generic, it doesn't have a counterpart in the foreign key table, and it does not participate in the check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Constant foreign keys&lt;/STRONG&gt; are compound foreign keys where one of the check table field names is replaced by a constant value. This constant value is entered on the Create Foreign Key screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2008 12:17:21 GMT</pubDate>
    <dc:creator>prasanth_kasturi</dc:creator>
    <dc:date>2008-02-08T12:17:21Z</dc:date>
    <item>
      <title>generic foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367459#M808096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are different types of foriegns keys and usages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 14:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367459#M808096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T14:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: generic foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367460#M808097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check these links..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea84446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea84446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdb.org/7.4/htmhelp/ee/1c5bd9eba711d4aa2800a0c9430730/content.htm" target="test_blank"&gt;http://www.sapdb.org/7.4/htmhelp/ee/1c5bd9eba711d4aa2800a0c9430730/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 14:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367460#M808097</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2008-02-07T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: generic foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367461#M808098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign key - a foreign key (FK) is a field or group of fields in a database record that points to a key field or group of fields forming a key of another database record in some (usually different) table. Usually a foreign key in one table refers to the primary key (PK) of another table. This way references can be made to link information together and it is an essential part of database normalization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 14:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367461#M808098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T14:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: generic foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367462#M808099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A foreign key is a field in a table that is connected to another table via a foreign key relationship. The purpose of the foreign key relationship is to validate the data being entered into one table by checking against a valid set of values in another table. The table that contains the foreign key is called the foreign key table. The table that contains the valid set of values is called the check table  The field that is validated and on which the foreign key relationship is created is called the foreign key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;STRONG&gt;compound foreign&lt;/STRONG&gt; &lt;STRONG&gt;key&lt;/STRONG&gt; is a foreign key composed of two or more fields. In other words, a check is done to compare two fields in the foreign key table against two fields in the check table. The combination of values must exist in the check table before they can be inserted into the foreign key table. However only one field on the screen will trigger the compound foreign key check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A &lt;STRONG&gt;generic foreign key&lt;/STRONG&gt; is a foreign key in which one of the primary key fields of the check table fields is marked as generic. When a primary key field is marked as generic, it doesn't have a counterpart in the foreign key table, and it does not participate in the check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Constant foreign keys&lt;/STRONG&gt; are compound foreign keys where one of the check table field names is replaced by a constant value. This constant value is entered on the Create Foreign Key screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 12:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-foreign-key/m-p/3367462#M808099</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-02-08T12:17:21Z</dc:date>
    </item>
  </channel>
</rss>

