<?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/1393647#M191017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to apply constraint on DDIC table itself.&lt;/P&gt;&lt;P&gt;I don't have to write the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2006 12:17:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-29T12:17:12Z</dc:date>
    <item>
      <title>Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393645#M191015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ahve defined one custom table.&lt;/P&gt;&lt;P&gt;whose key is referring to some other tabl.&lt;/P&gt;&lt;P&gt;Tha cardinality i set is 1:N &amp;gt;&lt;/P&gt;&lt;P&gt;the table is gettinmg modified only through the program.&lt;/P&gt;&lt;P&gt;even if the check table filed don't have that value then also the record is getting inserted into table through the program? how to overcome this problem? what is required to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393645#M191015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393646#M191016</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;The checktable is triggered only in selection-screen or in the dynpro, if you have to update by a program you should insert a control:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM &amp;lt;ZCHECKTABLE&amp;gt; WHERE .....&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  INSERT ...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393646#M191016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393647#M191017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to apply constraint on DDIC table itself.&lt;/P&gt;&lt;P&gt;I don't have to write the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393647#M191017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393648#M191018</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;You can't do it in the dictionary, you can only set a checktable for a field there, but you can't avoid that a program insert a record there isn't in the check table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z1 is check table of Z2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record A isn't in check table Z1, but however  I can insert it if I run a program like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z2 = A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT Z2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No controls can be triggered automatically by dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393648#M191018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393649#M191019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key/m-p/1393649#M191019</guid>
      <dc:creator>LucianoBentiveg</dc:creator>
      <dc:date>2006-06-29T12:22:53Z</dc:date>
    </item>
  </channel>
</rss>

