<?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 relationship..... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245224#M1211993</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;check with below link for foreign key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/EN/cf/21eb95446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/EN/cf/21eb95446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 09:25:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-11T09:25:06Z</dc:date>
    <item>
      <title>Foreign key relationship.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245219#M1211988</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'm creating a foreign key relation between two table T1 and T2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In T1(TABLE) i have fields Mandt,Empno,Empname and DEpno in this table primary keys are Mandt and Empno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In T2(TABLE) i have fields Mandt,Depno and Depname in this table primary keys are Mandt and Depno .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. Data in T2 is                    800 201 SAP &lt;/P&gt;&lt;P&gt;                                            800 202 Java&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i made a foreign table as T1 and check table as T2 . and check field is depno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can even see in my foreign key table T1  in that TAB Entry help/Check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;depno as checked as foreign key and Origin of input help as Input help implemented with check table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and while i'm entering data in my T1 table i can see f4 help also on Depno fields (201,202)....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very thing sounds good so far.....................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i create a new record in T1 and i  gave 309 in depno field it is adding into table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i heard  it should not take 309 it has to take only (201,202) ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I request you to help me what is the problem or if i need to do any changes or i heard some thing wrong.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry if the information given was not clear....i would appreciate if you can reply me what you need..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Have a Nice..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 07:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245219#M1211988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T07:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key relationship.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245220#M1211989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maintains the Check tables name at the Domain level of the T1 table's Depno field and then Create the relationship.&lt;/P&gt;&lt;P&gt;This will restirct the entries.&lt;/P&gt;&lt;P&gt;[refer|http://help.sap.com/saphelp_nw70/helpdata/EN/63/1b70bcc32111d1950600a0c929b3c3/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;RBK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 08:45:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245220#M1211989</guid>
      <dc:creator>rejish_balakrishnan</dc:creator>
      <dc:date>2009-02-26T08:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key relationship.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245221#M1211990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For restricting the entry u need to maintain the value table in the domain of required field , here 'DEPNO'. In the domain, there is a place to give the value range or the value table. In the value table u ave to give the table name as T2 for ur case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 09:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245221#M1211990</guid>
      <dc:creator>keerthy_k</dc:creator>
      <dc:date>2009-02-26T09:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key relationship.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245222#M1211991</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;&lt;/P&gt;&lt;P&gt;A relationship which can be defined between tables and must be explicitly defined at field level. Foreign keys are used to ensure the consistency of data. Data entered should be checked against existing data to ensure that there are now contradiction. While defining foreign key relationship cardinality has to be specified. Cardinality mentions how many dependent records or how referenced records are possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Referenc with the following links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ec84446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ec84446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neelima.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 10:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245222#M1211991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T10:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key relationship.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245223#M1211992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kiran&lt;/P&gt;&lt;P&gt;u have 2 tables right T1 &amp;amp; T2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1 fields : Mandt,Depno,Empno,Empname.&lt;/P&gt;&lt;P&gt;T2 fields : Mandt,Depno,Depname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the T1 table select the Depno field and click on Foreign Keys &lt;/P&gt;&lt;P&gt;u wil get a Create Foreign key screen in that mention the check table : T2 &lt;/P&gt;&lt;P&gt;and check fields Mandt &amp;amp; Depno (both shud be mandatory) and in the *&lt;STRONG&gt;screen check tab&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;select the check box Check Required, the semantic attributes for foreign key field type select &lt;/P&gt;&lt;P&gt;the radiobutton key fields/candidates and mention the cardinality also then click on copy.&lt;/P&gt;&lt;P&gt;save the table.then check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 11:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245223#M1211992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T11:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key relationship.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245224#M1211993</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;check with below link for foreign key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/EN/cf/21eb95446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/EN/cf/21eb95446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 09:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245224#M1211993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T09:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key relationship.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245225#M1211994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign key checks only works in online mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are forcing the table to accept the Dept No which is not their in foreign key table through SELECT QUERY, system wont perform foreign key check and it will bypass foreign key check and db will get updated .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2009 07:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-relationship/m-p/5245225#M1211994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-14T07:58:27Z</dc:date>
    </item>
  </channel>
</rss>

