<?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 addition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543186#M1073187</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 dont think there will be any issues. You can go ahead and create the foreign keys .&lt;/P&gt;&lt;P&gt;but do the database udjustments using se14 in production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raskhan T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2008 09:39:15 GMT</pubDate>
    <dc:creator>raskhan_thajudeen</dc:creator>
    <dc:date>2008-09-30T09:39:15Z</dc:date>
    <item>
      <title>Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543183#M1073184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have three tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header&lt;/P&gt;&lt;P&gt;Doc No.  --key field&lt;/P&gt;&lt;P&gt;Doc Yr    --key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line Item&lt;/P&gt;&lt;P&gt;Doc No.  --key field&lt;/P&gt;&lt;P&gt;Doc Yr    --key field&lt;/P&gt;&lt;P&gt;Line Item --key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub line item table  &lt;/P&gt;&lt;P&gt;Doc No.  --key field&lt;/P&gt;&lt;P&gt;Doc Yr    --key field&lt;/P&gt;&lt;P&gt;Line Item --key field&lt;/P&gt;&lt;P&gt;Sub line item --key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables do not have foreign key.&lt;/P&gt;&lt;P&gt;Now these tables have been transfered to production &amp;amp; they contain huge data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create maintenance view. For this i need to create Foreign key for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line item &lt;/P&gt;&lt;P&gt;Doc No.  --key field  --Foreign Key --Doc No. Of header&lt;/P&gt;&lt;P&gt;Doc Yr    --key field  --Foreign Key --Doc year. Of header&lt;/P&gt;&lt;P&gt;Line Item --key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub line item table  &lt;/P&gt;&lt;P&gt;Doc No.  --key field  --Foreign Key --Doc No. Of header&lt;/P&gt;&lt;P&gt;Doc Yr    --key field  --Foreign Key --Doc year. Of header&lt;/P&gt;&lt;P&gt;Line Item --key field  --Foreign Key --Line Item Of line item&lt;/P&gt;&lt;P&gt;Sub line item --key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is will this affect my data in the tables in production. Will it ask for conversion of table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 08:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543183#M1073184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T08:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543184#M1073185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it should not be a problem.Run Database Utility(SE14) before transporting the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 09:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543184#M1073185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543185#M1073186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think there should be any problem if you create any Foreign key field in the development server, or neither it will affect the production data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 09:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543185#M1073186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T09:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543186#M1073187</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 dont think there will be any issues. You can go ahead and create the foreign keys .&lt;/P&gt;&lt;P&gt;but do the database udjustments using se14 in production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raskhan T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 09:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543186#M1073187</guid>
      <dc:creator>raskhan_thajudeen</dc:creator>
      <dc:date>2008-09-30T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543187#M1073188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why a database adjust is required? Without it can't we do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 10:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543187#M1073188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T10:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543188#M1073189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SE14 will make sure there are no inconsistent data in these tables. If you are going to add check tables and foreign keys.&lt;/P&gt;&lt;P&gt;Imagine that there is data where the Header doesn't exist but the line and sub line entries are still present in the corresponding table, which is possible because you didn't have any check tables  before, these entries will have to be adjusted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 10:19:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543188#M1073189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T10:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543189#M1073190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As u said that as check was not there b4 so there might be some data which is present in sub item table but do not exist in header then after running se14 what shall the system do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 10:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543189#M1073190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T10:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543190#M1073191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in that case se14 would end up in error and it would not activate the table.You need to delete the inconsistent entries in the sub key table and then run SE14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 10:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543190#M1073191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T10:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543191#M1073192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the concept is when you add a foreign key , u need to specify a check table. then the data that enters into that field will check the value with the check table.and if the entered value is not in the check table , inconsistency is there, hence se14 will throw an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 10:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543191#M1073192</guid>
      <dc:creator>raskhan_thajudeen</dc:creator>
      <dc:date>2008-09-30T10:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543192#M1073193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thats right, if you run SE14, you will run into trouble and if you dont there will be inconsistent entries. Its like a catch 22 situation and might be inconsistencies anyways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I suggest is that you adjust the entries manually or write a program to delete  the inconsistent entries.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543192#M1073193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Foreign Key addition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543193#M1073194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its huge data which at this point i cannot change. So can i just add foreign key in se11 and let me do not adjust the tables then old data will not be adjusted. I guess with that old data shall remain intact but the new data shall be created with keeping the checks in mind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that going to create a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/foreign-key-addition/m-p/4543193#M1073194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:28:55Z</dc:date>
    </item>
  </channel>
</rss>

