<?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: Table without primary key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988508#M1342054</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;There will be no problem if you keep MANDT as primary key. And it will be allowed.&lt;/P&gt;&lt;P&gt;It only keep the client no. And it will be taken care automatically by SAP.&lt;/P&gt;&lt;P&gt;You could maintain role without employee code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2009 09:30:48 GMT</pubDate>
    <dc:creator>knitinkumarsethy</dc:creator>
    <dc:date>2009-08-12T09:30:48Z</dc:date>
    <item>
      <title>Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988503#M1342049</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 a requirement to create table without primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows error when i create table without primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me to create table without primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988503#M1342049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T09:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988504#M1342050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, u will surely get warnings and error messages if u wont put any primary key in ur table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why du want a table without primary key. Wats ur requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988504#M1342050</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2009-08-12T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988505#M1342051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maintain only MANDT as primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto SE14 and click on activate and adjust database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988505#M1342051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T09:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988506#M1342052</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 two fields in the table Role and Employee id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be persons who will not have employee id but a role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so they are asking to create table without primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988506#M1342052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T09:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988507#M1342053</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;As Chandra mentioned, use MANDT field in your table at the beginning and have that as your primary key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988507#M1342053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T09:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988508#M1342054</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;There will be no problem if you keep MANDT as primary key. And it will be allowed.&lt;/P&gt;&lt;P&gt;It only keep the client no. And it will be taken care automatically by SAP.&lt;/P&gt;&lt;P&gt;You could maintain role without employee code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988508#M1342054</guid>
      <dc:creator>knitinkumarsethy</dc:creator>
      <dc:date>2009-08-12T09:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988509#M1342055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; As Chandra mentioned, use MANDT field in your table at the beginning and have that as your primary key.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you do this then you will only be allowed to create a single record in the table per client - which I don't think is what you want to do.  I would generate a unique reference for each record and use that as the key.  Though of course you should always include MANDT as the first column in a table and have that as the first column in each index, unless you want your table to be non-client specific.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988509#M1342055</guid>
      <dc:creator>christine_evans</dc:creator>
      <dc:date>2009-08-12T09:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988510#M1342056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you not use this table in foreign key relationship u can create a table without primary key,&lt;/P&gt;&lt;P&gt;so that the primary key is not must for all the  situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jamuna palanisamy on Aug 12, 2009 11:59 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 09:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988510#M1342056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T09:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988511#M1342057</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 am not using any foreign key relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u help me how to create table without primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 10:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988511#M1342057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T10:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988512#M1342058</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;Yes ,u can create a table without primary key&lt;/P&gt;&lt;P&gt;Create a MANDT column is an option but it allows only one row per client.&lt;/P&gt;&lt;P&gt;Other option is u can create a identity type of column as primary key which can auto increment by one on every new row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thamks,&lt;/P&gt;&lt;P&gt;Smita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 10:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988512#M1342058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988513#M1342059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi smita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create identity type of column as primary key which can auto increment by one on every new row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;shanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 10:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988513#M1342059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T10:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988514#M1342060</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 use the FM &lt;STRONG&gt;NUMBER_GET_NEXT&lt;/STRONG&gt; and pass the number generated here to the Ztable which will identify the row uniquely&lt;/P&gt;&lt;P&gt;and creatre this as the first Field of your table so that it will identify your row as unique, or you can make this as your&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PRIMARY KEY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramchander Krishnamraju on Aug 12, 2009 1:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 11:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988514#M1342060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T11:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988515#M1342061</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 make all your fields as composite primary key...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nibha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 11:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988515#M1342061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T11:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988516#M1342062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shanthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't create a table without Primary key in SAP DDIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better you consider 3 rows instead of 2 rows.&lt;/P&gt;&lt;P&gt;the first row will be a dummy row with Serial No..&lt;/P&gt;&lt;P&gt;2nd and 3rd rows will be ROLE and Employee ID as usual.&lt;/P&gt;&lt;P&gt;Make this &lt;STRONG&gt;1st row as primary key field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 04:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988516#M1342062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T04:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table without primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988517#M1342063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Choose both the fields as primary keys. It means the same person cannot have the same role more than once. But he can have a different role. I think this would be the best solution. Let me know if you have any Queries.&lt;/P&gt;&lt;P&gt;- Sheeba.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2009 08:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-without-primary-key/m-p/5988517#M1342063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-14T08:18:22Z</dc:date>
    </item>
  </channel>
</rss>

