<?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: Deletion from a check table - Foreign Key Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942636#M388870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   May i know to which table (either A or B) you attached the checktable ? and what is the relationship you defined between A and B. is it the foregin key relationship or is it the checktable definition at the domain level of B ? can you please explain your question clearly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2007 06:08:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-13T06:08:45Z</dc:date>
    <item>
      <title>Deletion from a check table - Foreign Key Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942633#M388867</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 created two tables (A and B) and defined a foreign key (1:N) relation between them. I want the entries in table B to reference a record from table A. I have succeeded in entering values to the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem arised when I tried to delete a record from the referenced table. Although there are records in table B referencing the record in table A, I could delete the record from table A. I don't want the referenced records to be deleted from table A when there is at least one referencing record in table B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong with my table definiton?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- ferudun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 20:32:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942633#M388867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T20:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion from a check table - Foreign Key Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942634#M388868</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;How are you deleting the records from the table A..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you deleting the records from a custom program..You have to make sure there is no records in the table B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 20:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942634#M388868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T20:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion from a check table - Foreign Key Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942635#M388869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have deleted using tcode se16 but I will delete them from a custom program. I have just tried whether it works from se16. I want an error to be raised when deleting records from the referenced table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 20:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942635#M388869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T20:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion from a check table - Foreign Key Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942636#M388870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   May i know to which table (either A or B) you attached the checktable ? and what is the relationship you defined between A and B. is it the foregin key relationship or is it the checktable definition at the domain level of B ? can you please explain your question clearly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 06:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deletion-from-a-check-table-foreign-key-problem/m-p/1942636#M388870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-13T06:08:45Z</dc:date>
    </item>
  </channel>
</rss>

