<?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: Determining Database Record No. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792100#M40111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;prabhu/vicenc, thanks very much for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2004 08:45:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-08-17T08:45:30Z</dc:date>
    <item>
      <title>Determining Database Record No.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792097#M40108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, how would i know what is database record no. of a given table record. i'll be using this record no. as part of a computed data w/c should be unique per given record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much,&lt;/P&gt;&lt;P&gt;rico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2004 00:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792097#M40108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-17T00:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Determining Database Record No.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792098#M40109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below statement will get unique number of record count from DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT COUNT( DISTINCT &amp;lt;field&amp;gt; )  INTO wf_count FROM &amp;lt;table name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhu Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2004 04:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792098#M40109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-17T04:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Determining Database Record No.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792099#M40110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is nothing like you need, except the primary key of the tables. If you can access your DB server, it will provide you with the unique row id (if I could remember, Oracle uses ROWID). I did not worked with DBs in a long time, but I think the ROWID is not a solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why you don't use yout table PK? I think you can use an itab like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;myownpk TYPE STRING.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE dbtable.&lt;/P&gt;&lt;P&gt;DATA: END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After retrieving the data, or in your own loop, assing a concatenate of the PK fields to your myownpk field of itab, and you will have a single id of every record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think is not a clean method, still thinking that you must use your table's PK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish someone with better knowledge than me will provide you with a better solution. Good luck,&lt;/P&gt;&lt;P&gt;Vic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2004 06:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792099#M40110</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2004-08-17T06:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Determining Database Record No.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792100#M40111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;prabhu/vicenc, thanks very much for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2004 08:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/determining-database-record-no/m-p/792100#M40111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-17T08:45:30Z</dc:date>
    </item>
  </channel>
</rss>

