<?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: Foreign key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664064#M1097244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following links:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Types of Foreign Key Fields|http://help.sap.com/saphelp_nw70/helpdata/en/b2/fbb85cc64611d295dd00a0c929b3c3/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Cardinality|http://help.sap.com/saphelp_nw70/helpdata/EN/b2/fbb859c64611d295dd00a0c929b3c3/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goodluck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2008 06:15:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-16T06:15:35Z</dc:date>
    <item>
      <title>Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664061#M1097241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone thru all the threads related to my query but i couldnt find the precise answer with an example .&lt;/P&gt;&lt;P&gt;Can anybody explain me the&lt;/P&gt;&lt;P&gt;Types of Foereign key fields and Cardinilities with an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Ahmed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 05:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664061#M1097241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T05:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664062#M1097242</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 this&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/7a/787e40417c6d1de10000000a1550b0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/7a/787e40417c6d1de10000000a1550b0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cardinality (n:m) describes the foreign key &lt;/P&gt;&lt;P&gt;relationship with regard to the number of possible&lt;/P&gt;&lt;P&gt;dependent records (records of the foreign key table) or &lt;/P&gt;&lt;P&gt;referenced records (records of the check&lt;/P&gt;&lt;P&gt;table).&lt;/P&gt;&lt;P&gt;The left side (n) of the cardinality is defined as follows:&lt;/P&gt;&lt;P&gt; n=1: There is exactly one record assigned to the check &lt;/P&gt;&lt;P&gt;table for each record of the&lt;/P&gt;&lt;P&gt;foreign key table.&lt;/P&gt;&lt;P&gt; n=C: The foreign key table may contain records which do &lt;/P&gt;&lt;P&gt;not correspond to any record of&lt;/P&gt;&lt;P&gt;the check table because the foreign key field is empty. &lt;/P&gt;&lt;P&gt;This can occur for example if the&lt;/P&gt;&lt;P&gt;field of the foreign key table is optional, in which case &lt;/P&gt;&lt;P&gt;it does not have to be filled.&lt;/P&gt;&lt;P&gt;The right side (m) of the cardinality is defined as follows:&lt;/P&gt;&lt;P&gt; m=1: There is exactly one dependent record for each &lt;/P&gt;&lt;P&gt;record of the check table.&lt;/P&gt;&lt;P&gt; m=C: There is at most one dependent record for each &lt;/P&gt;&lt;P&gt;record of the check table.&lt;/P&gt;&lt;P&gt; m=N: There is at least one dependent record for each &lt;/P&gt;&lt;P&gt;record of the check table.&lt;/P&gt;&lt;P&gt; m=CN: There may be any number of dependent records for &lt;/P&gt;&lt;P&gt;each record of the check&lt;/P&gt;&lt;P&gt;table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;foreignkey&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/EN/cf/21ea77446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/EN/cf/21ea77446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 06:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664062#M1097242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T06:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664063#M1097243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        If you want the explanation of Foreign Key fields,just open any table and select the foreing key,Press F1 help on foreign key field type,you will  get the clear explanation,and also for cardinality.&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;Anil.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 06:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664063#M1097243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T06:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664064#M1097244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following links:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Types of Foreign Key Fields|http://help.sap.com/saphelp_nw70/helpdata/en/b2/fbb85cc64611d295dd00a0c929b3c3/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Cardinality|http://help.sap.com/saphelp_nw70/helpdata/EN/b2/fbb859c64611d295dd00a0c929b3c3/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goodluck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 06:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664064#M1097244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T06:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664065#M1097245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are the following kinds of foreign key fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not specified: No information about the kind of foreign key field can be given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No key fields/candidates: The foreign key fields are neither primary key fields of the foreign key table nor do they uniquely identify a record of the foreign key table (key candidates). The foreign key fields therefore do not (partially) identify the foreign key table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key fields/candidates: The foreign key fields are either primary key fields of the foreign key table or they uniquely identify a record of the foreign key table (key candidates). The foreign key fields therefore (partially) identify the foreign key table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key fields of a text table: The foreign key table is a text table of the check table, i.e. the key of the foreign key table only differs from the key of the check table in an additional language key field. This is a special case of the category Key fields / candidates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cardinality (n:m) describes the foreign key relationship with regard to the number of possible&lt;/P&gt;&lt;P&gt;dependent records (records of the foreign key table) or referenced records (records of the check&lt;/P&gt;&lt;P&gt;table).&lt;/P&gt;&lt;P&gt;The left side (n) of the cardinality is defined as follows:&lt;/P&gt;&lt;P&gt;1) n=1: There is exactly one record assigned to the check table for each record of the&lt;/P&gt;&lt;P&gt;foreign key table.&lt;/P&gt;&lt;P&gt;2)n=C: The foreign key table may contain records which do &lt;/P&gt;&lt;P&gt;not correspond to any record of&lt;/P&gt;&lt;P&gt;the check table because the foreign key field is empty. &lt;/P&gt;&lt;P&gt;This can occur for example if the&lt;/P&gt;&lt;P&gt;field of the foreign key table is optional, in which case &lt;/P&gt;&lt;P&gt;it does not have to be filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The right side (m) of the cardinality is defined as follows:&lt;/P&gt;&lt;P&gt;3) m=1: There is exactly one dependent record for each &lt;/P&gt;&lt;P&gt;record of the check table.&lt;/P&gt;&lt;P&gt;4) m=C: There is at most one dependent record for each &lt;/P&gt;&lt;P&gt;record of the check table.&lt;/P&gt;&lt;P&gt;5) m=N: There is at least one dependent record for each &lt;/P&gt;&lt;P&gt;record of the check table.&lt;/P&gt;&lt;P&gt;6) m=CN: There may be any number of dependent records for &lt;/P&gt;&lt;P&gt;each record of the check&lt;/P&gt;&lt;P&gt;table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 06:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/4664065#M1097245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T06:59:57Z</dc:date>
    </item>
  </channel>
</rss>

