<?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: Database Table with increment Primarey key??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843505#M1473435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Mar 2010 11:42:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-31T11:42:50Z</dc:date>
    <item>
      <title>Database Table with increment Primarey key???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843502#M1473432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello at all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a database table ZTEST and there are 2 Primarey keys:&lt;/P&gt;&lt;P&gt;MANDT  &amp;amp;  ID.&lt;/P&gt;&lt;P&gt;But the ID key must declared as increment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i insert a row in my table ZTEST, than the SYSTEM must automaticly increment the Primarey key ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i realize this in ABAP???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards&lt;/P&gt;&lt;P&gt;ETN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 10:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843502#M1473432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T10:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Database Table with increment Primarey key???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843503#M1473433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use u201Cselect max(id)u201D to get the higest value from table. Then increment it and save the data to table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prajwal K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 10:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843503#M1473433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T10:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Database Table with increment Primarey key???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843504#M1473434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a number range and use FM &lt;STRONG&gt;NUMBER_GET_NEXT&lt;/STRONG&gt; for generate next value.&lt;/P&gt;&lt;P&gt;How to do this ?&lt;/P&gt;&lt;P&gt;Check: &lt;A href="http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=50004015" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=50004015&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 10:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843504#M1473434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T10:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Database Table with increment Primarey key???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843505#M1473435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 11:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843505#M1473435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T11:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Database Table with increment Primarey key???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843506#M1473436</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; Use u201Cselect max(id)u201D to get the higest value from table. Then increment it and save the data to table. &lt;/P&gt;&lt;P&gt;&amp;gt; Prajwal K.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is useless, consider paralell processing. You dont have any enqeue/deqeue processes, so two (or more) paralell reports can get the same number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 11:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-with-increment-primarey-key/m-p/6843506#M1473436</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-31T11:58:19Z</dc:date>
    </item>
  </channel>
</rss>

