<?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: Get Pernr in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035463#M85018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. If executing the logical database in advance is not a good choice, then if I want to show the progress of the execution (i.e. xx % completed...) in the status bar, how can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2005 23:17:59 GMT</pubDate>
    <dc:creator>Francis417</dc:creator>
    <dc:date>2005-10-10T23:17:59Z</dc:date>
    <item>
      <title>Get Pernr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035461#M85016</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've written an abap program using the logical database PNP to select the employees record using the statement 'Get pernr'. I would like to know if there are ways to get the total number of records that can be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Francis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 14:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035461#M85016</guid>
      <dc:creator>Francis417</dc:creator>
      <dc:date>2005-10-10T14:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get Pernr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035462#M85017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats not passible. Imagine having a select statement, there is no way of getting the number of resulting rows ahead the statement. you have tp process the select statement twice, first to get the amount, and then to ge tthe rows. in the first step you can optimize the select with count(*), but nevertheless, it is executed twice. So you have to execute the logical database in advance, there are funcion modules to do that. For performance reasons, thats not a good choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, when the get event is triggered and your program is getting the first rowm most work by the database is done and you're only fetching row by row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 15:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035462#M85017</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2005-10-10T15:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get Pernr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035463#M85018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. If executing the logical database in advance is not a good choice, then if I want to show the progress of the execution (i.e. xx % completed...) in the status bar, how can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 23:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035463#M85018</guid>
      <dc:creator>Francis417</dc:creator>
      <dc:date>2005-10-10T23:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get Pernr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035464#M85019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just do an estimation counting the rows with a select count(*) in the start-of-selection event. The where condition might be a bit tricky. just use the standard selection screen-options and do a count over PA0001, for having a progress bar thats sufficient accuracy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2005 05:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035464#M85019</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2005-10-11T05:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get Pernr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035465#M85020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another possible solution:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get the last employee id from the table that contains the sequence numbers (don't know the table out of the head)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are interested I can try to look this up...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not be completely correct but it might be a enough to make an estimation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2005 14:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr/m-p/1035465#M85020</guid>
      <dc:creator>wim_verschueren</dc:creator>
      <dc:date>2005-10-12T14:30:45Z</dc:date>
    </item>
  </channel>
</rss>

