<?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 Table delete - RDBMS Rule in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037525#M418654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kalyan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go thru this link, you get info releated to foreign key table i mentioned in may question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea9e446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea9e446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2007 05:07:19 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2007-03-28T05:07:19Z</dc:date>
    <item>
      <title>Foreign Key Table delete - RDBMS Rule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037523#M418652</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;This is regarding my previous question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3068040"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am more details on this-&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parent Table fields&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MANDT	CLNT	3        &lt;/P&gt;&lt;P&gt;TCTR	CHAR	6&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Child Table fields&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MANDT	CLNT	3&lt;/P&gt;&lt;P&gt;SPRAS	LANG	1&lt;/P&gt;&lt;P&gt;TCTR	CHAR	6&lt;/P&gt;&lt;P&gt;TRDESC	CHAR	40&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Here SPRAS has given fireign key relation to T002-SPRAS and TCTR foreign key relationship to Parent table TCTR.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If i am trying to delete entries from parent table system not deleting entries in child table&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If i am using Native SQL commands then whether it will get delete?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 19:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037523#M418652</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-27T19:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key Table delete - RDBMS Rule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037524#M418653</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 question for you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you defining a foreign key relation in an SAP table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know you can only define entry help / check for the fields. This does not create a foreign key relationship. It only helps for value help and validation for entries in this field. And it does not create any relationships between the tables even in the backend database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you delete entries from the (Parent) table it does not complain. Even if you use Native SQL noting is going to change becase no foreign key relationship exists. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me if you find something different. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 04:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037524#M418653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T04:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key Table delete - RDBMS Rule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037525#M418654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kalyan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go thru this link, you get info releated to foreign key table i mentioned in may question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea9e446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea9e446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 05:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037525#M418654</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-28T05:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key Table delete - RDBMS Rule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037526#M418655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First you have to delete that relationship from the CHILD table(delete Parent table for the field TCTR and SPRAS), then you can easily delete the entries.&lt;/P&gt;&lt;P&gt;Generally when your you try to delete entries fron one table, SAP checks for all dependencies such as Foreign key relationship and won't allow to delete .&lt;/P&gt;&lt;P&gt;&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>Wed, 28 Mar 2007 05:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037526#M418655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T05:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key Table delete - RDBMS Rule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037527#M418656</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 i am try to delete entries from parent table without deleting from child table first also system deleting entries from the parent table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am doing wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether SAP is not considering the RDBMS rule.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Help Please....&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 13:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037527#M418656</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-28T13:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key Table delete - RDBMS Rule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037528#M418657</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 tried this out with a table that has foreign key relationship with a parent table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I inserted a new record in a table which has a foreign key relation with value that the parent table does not have. it let me insert. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It look like even if you define a foreign key in the DDIC it does not create the relation in the database level. I think this is only used for checks in SAP. It does not follow the RDBMS rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 17:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037528#M418657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T17:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key Table delete - RDBMS Rule</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037529#M418658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody have a solution for this issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 17:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-table-delete-rdbms-rule/m-p/2037529#M418658</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-29T17:54:28Z</dc:date>
    </item>
  </channel>
</rss>

