<?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: key.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634116#M875223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    we can create how many primary keys we want...refer any standard tables..they have both mandt and etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u,&lt;/P&gt;&lt;P&gt;Manjula Devi.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2008 14:46:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-09T14:46:58Z</dc:date>
    <item>
      <title>key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634107#M875214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abapers !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; how many primary key can we put for a table ?&lt;/P&gt;&lt;P&gt;we can put only one primary key or &lt;/P&gt;&lt;P&gt;we can put as many as we can ..!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; i hear that we can have more than one field Combination as primary key but not more than one primary key&lt;/P&gt;&lt;P&gt;( what does the term &lt;STRONG&gt;combination&lt;/STRONG&gt; mean ) &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;Rajesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rajesh  k on Apr 9, 2008 9:37 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 04:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634107#M875214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T04:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634108#M875215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ther can be only one primary key for a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;combination of fields as a secondary key to identify unique records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is only ONE primary key, however this key can of course consist of multiple fields / columns. You do have secondary keys as well, namely indexes. Basically one can create N-number of secondary keys, but in practice one should not do this because on overload of secondary keys can influence performance negatively or at least it will no longer speed up things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 04:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634108#M875215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T04:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634109#M875216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There Could be Many primary key fields in a table.&lt;/P&gt;&lt;P&gt;Eg. In MARA table there are two primary key fields MANDT,MATNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combination Means if u make 3 primary key fields in a table this makes the combination as a primary key for the table.&lt;/P&gt;&lt;P&gt;Then at the time of inserting record the combination of three keys cant have same record the records should be unique for that combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 04:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634109#M875216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T04:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634110#M875217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have as many primary keys in a table as you require. &lt;/P&gt;&lt;P&gt;To make a field a primary key just click the 'KEY' box next to the field name while creating the table in SE11. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; : The primary keys have to be the first few fields of the table followed by the remaining fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Esha Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 04:15:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634110#M875217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T04:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634111#M875218</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 can be only one primary key in the table. However this primary key may consists of the combination of many columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Supriya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 04:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634111#M875218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T04:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634112#M875219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai&lt;/P&gt;&lt;P&gt;  rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     we can create only one primary key in a table.A primary key can create as a combinations of fields. it is not possible to create more than one primary key per a table according to database rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it useful , reward marks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;G.V.K.Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 05:28:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634112#M875219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T05:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634113#M875220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;You can have as many primary keys in a table as you require.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To make a field a primary key just click the 'KEY' box next to the field name while creating the table in SE11.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note : The primary keys have to be the first few fields of the table followed by the remaining fields.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds,&lt;/P&gt;&lt;P&gt;S.barani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 07:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634113#M875220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T07:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634114#M875221</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 maintain more than one primary key for a table, but only issue is you will not get the uniqueness of the records stored in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have multiple primary keys, records will be stored based on composite key concept, which may allow multiple entries based on number of Primary key you defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from that no other issue, upto my knowledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if useful.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 08:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634114#M875221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T08:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634115#M875222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There can be more than one primarykeys in the table.&lt;/P&gt;&lt;P&gt;The word combination means that the combination of the fields is unique for that table.&lt;/P&gt;&lt;P&gt;The combination acts as primary key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 11:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634115#M875222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T11:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634116#M875223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    we can create how many primary keys we want...refer any standard tables..they have both mandt and etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u,&lt;/P&gt;&lt;P&gt;Manjula Devi.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 14:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634116#M875223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T14:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634117#M875224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  U can have many primary keys... there is no limitation. but it is the best option to use forign key aspect to check for combining different tables with some unique identifiers (Primary key) between these tables.  &lt;/P&gt;&lt;P&gt;The combination, inturn refers to the way these keys, both primary and secondary keys, are used for a particular combination of fields between different tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpfull.......&lt;/P&gt;&lt;P&gt;any queries.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 15:36:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634117#M875224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T15:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634118#M875225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rajesh ,&lt;/P&gt;&lt;P&gt;      you can have  N number of primay key , were N is the total nuber of fields.&lt;/P&gt;&lt;P&gt;      all this from a composite primary key.&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;      Suppose you create only one key field , that patricular field will accept only the unique values&lt;/P&gt;&lt;P&gt;       if you have composite primary key , then the table will accept entries , where the comination of all the&lt;/P&gt;&lt;P&gt;       key fields is unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 06:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634118#M875225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-12T06:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: key..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634119#M875226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define Primary key upto 16 or upto 324 length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means; suppose u take one primary key whose length is 324, then u can not assign another primary key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 08:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/key/m-p/3634119#M875226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-12T08:42:54Z</dc:date>
    </item>
  </channel>
</rss>

