<?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: Primary key foreign key remove problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568939#M1270416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enhancement category for table missing ==&amp;gt; You can assign enhancement category to the table , goto -&amp;gt; extras-enhancement category&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary key change not permitted for value table ZPR_EMP&lt;/P&gt;&lt;P&gt;Old key field SCPCD is now non-key field &lt;/P&gt;&lt;P&gt;Structure change at field level (convert table ZPR_EMP) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the records and then change the primary keys and activate and adjust the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2009 06:17:56 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2009-05-15T06:17:56Z</dc:date>
    <item>
      <title>Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568935#M1270412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi expretrs,&lt;/P&gt;&lt;P&gt;I create 5 tables in ddic.&lt;/P&gt;&lt;P&gt;1. zpr_cmp Company Master&lt;/P&gt;&lt;P&gt;2. zpr_dpt   Department Master&lt;/P&gt;&lt;P&gt;3. zpr_dsg  Designation Master&lt;/P&gt;&lt;P&gt;4. zpr_emp Employee master.&lt;/P&gt;&lt;P&gt;5. zpr_slm Salary Master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foreign key reference in zpr_emp from table 1,2 and 3 created and &lt;/P&gt;&lt;P&gt;table zpr_emp has &lt;/P&gt;&lt;P&gt;cmpcd,  Company Code &lt;/P&gt;&lt;P&gt;empcd,  Employee Code&lt;/P&gt;&lt;P&gt;dptcd ,   Department Code&lt;/P&gt;&lt;P&gt;dsgcd    Designation Code &lt;/P&gt;&lt;P&gt;as key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have upload data and create module pool and reports.&lt;/P&gt;&lt;P&gt;My problem that hr person say that we want to change deptcd/dsgcd of employee (zpr_emp) and&lt;/P&gt;&lt;P&gt;dptcd and dsgcd is as key fields in zpr_emp when i change the table zpr_emp and remove &lt;/P&gt;&lt;P&gt;two key fields dptcd/dsgcd and active error display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also try with se14 (Activate and Adjust database) but error still.&lt;/P&gt;&lt;P&gt;how can i remove key field from zpr_emp and active table without loss data and without any change of&lt;/P&gt;&lt;P&gt;module pool/reports &lt;/P&gt;&lt;P&gt;pl. help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 05:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568935#M1270412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T05:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568936#M1270413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What error you are facing while activating the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 05:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568936#M1270413</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-05-15T05:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568937#M1270414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error when activate the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABL ZPR_EMP was not activated                          &lt;/P&gt;&lt;P&gt;Check table ZPR_EMP (ABAPRSAL/15.05.09/11:24)           &lt;/P&gt;&lt;P&gt;Enhancement category for table missing                  &lt;/P&gt;&lt;P&gt;Primary key change not permitted for value table ZPR_EMP&lt;/P&gt;&lt;P&gt;  Old key field SCPCD is now non-key field              &lt;/P&gt;&lt;P&gt;Structure change at field level (convert table ZPR_EMP) &lt;/P&gt;&lt;P&gt;Check on table ZPR_EMP resulted in errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 05:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568937#M1270414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T05:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568938#M1270415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  IS there any records in the table? if yes then delete all the records from the table and then make your changes and then check and activate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568938#M1270415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568939#M1270416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enhancement category for table missing ==&amp;gt; You can assign enhancement category to the table , goto -&amp;gt; extras-enhancement category&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary key change not permitted for value table ZPR_EMP&lt;/P&gt;&lt;P&gt;Old key field SCPCD is now non-key field &lt;/P&gt;&lt;P&gt;Structure change at field level (convert table ZPR_EMP) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the records and then change the primary keys and activate and adjust the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568939#M1270416</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-05-15T06:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568940#M1270417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error still after deleting data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABL ZPR_EMP was not activated                             &lt;/P&gt;&lt;P&gt;Check table ZPR_EMP (ABAPRSAL/15.05.09/12:10)              &lt;/P&gt;&lt;P&gt;Primary key change not permitted for value table ZPR_EMP   &lt;/P&gt;&lt;P&gt;  Old key field SCPCD is now non-key field                 &lt;/P&gt;&lt;P&gt;Table ZPR_EMP is modified (Deleted or deleted/created new) &lt;/P&gt;&lt;P&gt;Check on table ZPR_EMP resulted in errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 06:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568940#M1270417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T06:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568941#M1270418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem is still pending pl. help;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 11:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568941#M1270418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-15T11:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568942#M1270419</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;1. First remove the data from the child table and parent table and remove the foriegn key combination from the table zpcr_emp.&lt;/P&gt;&lt;P&gt;2. Save, check and activate the child and parent tables.&lt;/P&gt;&lt;P&gt;3. Now you can upload the data into zpcr_emp and test the module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 04:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568942#M1270419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T04:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568943#M1270420</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 remove foreign key chk from table zpr_emp  for the flds dptcd , Department Code&lt;/P&gt;&lt;P&gt;dsgcd Designation Code &lt;/P&gt;&lt;P&gt;also remove key chk box selection for these flds &amp;amp; delete and add again these 2 flds as u want ;&lt;/P&gt;&lt;P&gt;now chk foreign key box &amp;amp; map to Pkey from their parent table also chk Primary key box ;&lt;/P&gt;&lt;P&gt;finally do se14 ( database utility-adjust data base &amp;amp; activate )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: devaramaraju on May 19, 2009 3:06 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: devaramaraju on May 19, 2009 3:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568943#M1270420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T12:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key foreign key remove problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568944#M1270421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 11:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/primary-key-foreign-key-remove-problem/m-p/5568944#M1270421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-23T11:55:34Z</dc:date>
    </item>
  </channel>
</rss>

