<?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 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847732#M667139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Gopi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check whether both the tables are maintained.&lt;/P&gt;&lt;P&gt;Else use the table maintenance generator option in 'Utilities' tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Teja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 05:11:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-30T05:11:28Z</dc:date>
    <item>
      <title>Foreign Key issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847728#M667135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a issue with this foreign key.I created two tables like"&lt;/P&gt;&lt;P&gt;zsubmaster:&lt;/P&gt;&lt;P&gt;mandt PK&lt;/P&gt;&lt;P&gt;subid PK&lt;/P&gt;&lt;P&gt;subname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zstudmaster:&lt;/P&gt;&lt;P&gt;mandt PK&lt;/P&gt;&lt;P&gt;studid PK&lt;/P&gt;&lt;P&gt;stud name&lt;/P&gt;&lt;P&gt;stud add&lt;/P&gt;&lt;P&gt;subid FK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I created zsubmaster,then zstudmaster set subid to FK with zsubmaster.I entered records in zsubmaster 1 english,2 mathematics, 3 social.&lt;/P&gt;&lt;P&gt;I started entering records in zstudmaster and 'check table' push button is visible.When the cursor is in subid,dropdown appeared.When I click it those 1,2 and 3 records are seen.But if i enter 4 in sub id and save it,record is saved.I dont understand how,to my knowledge 4 should exist in zsubmaster or else it should not be saved.Can you please suggest me,how it happened?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 09:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847728#M667135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T09:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847729#M667136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This should not happen really&lt;/P&gt;&lt;P&gt;some where something wrong.&lt;/P&gt;&lt;P&gt;It should not accept the 4 as values if it is not defined in the first table.&lt;/P&gt;&lt;P&gt;Check once again the creation of foreign key and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign key&lt;/P&gt;&lt;P&gt;A foreign key creates a link between two tables T1 and T2. Every primary key field from T1 (check table) is assigned a field from table T2 (foreign key field). The fields from T2 assigned to primary key fields are marked as foreign key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most important function of the foreign key is the support of data integrity. The foreign key fields can only accept values which appear in the primary key of the check table. During input the values of the foreign key fields can thus be checked against the entries of the assigned key fields of the check table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign keys are also the foundation for defining lock objects, maintenance views and help views. These objects contain fields from several tables. All the tables used in such an object must be linked with foreign keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 11:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847729#M667136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T11:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847730#M667137</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;While defining Foreign Key, there will be a Check box in the screen with label "CHECK REQUIRED".  You have to select the check box if you want the screen to throw error message while entering records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if answer is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 15:22:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847730#M667137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T15:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847731#M667138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think 'Check required' will be clicked by default.Hope Iam not wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 15:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847731#M667138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847732#M667139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Gopi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check whether both the tables are maintained.&lt;/P&gt;&lt;P&gt;Else use the table maintenance generator option in 'Utilities' tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Teja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 05:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-issue/m-p/2847732#M667139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T05:11:28Z</dc:date>
    </item>
  </channel>
</rss>

