<?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 Create incremental Ztable key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-incremental-ztable-key/m-p/2550333#M580634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Ztable with a key (ZID) that must be a number (like NUMC15, for example), incremented as elements are added to the table. How do i know whats the number to follow. Imagine i allready have 356 elements. So next ZID = 357.&lt;/P&gt;&lt;P&gt;I searched the forum and found something about number ranges. I created one. But how can i link this to my table key ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2007 10:33:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-18T10:33:47Z</dc:date>
    <item>
      <title>Create incremental Ztable key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-incremental-ztable-key/m-p/2550333#M580634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Ztable with a key (ZID) that must be a number (like NUMC15, for example), incremented as elements are added to the table. How do i know whats the number to follow. Imagine i allready have 356 elements. So next ZID = 357.&lt;/P&gt;&lt;P&gt;I searched the forum and found something about number ranges. I created one. But how can i link this to my table key ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-incremental-ztable-key/m-p/2550333#M580634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create incremental Ztable key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-incremental-ztable-key/m-p/2550334#M580635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess there is no direct link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you have to read the table each time before adding the records to find the latest key value. Than propose the next key value. How ?&lt;/P&gt;&lt;P&gt;In the table maintainace enter your own code and make the key field display only in insert mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: When you generate the table maintainace code each time it will ovwerwrite your code &lt;SPAN __jive_emoticon_name="cry"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-incremental-ztable-key/m-p/2550334#M580635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create incremental Ztable key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-incremental-ztable-key/m-p/2550335#M580636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it on my own. I'm not using ranges. Just searching for select (max) of that field, and then increment +1. Thank you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 09:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-incremental-ztable-key/m-p/2550335#M580636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T09:42:46Z</dc:date>
    </item>
  </channel>
</rss>

