<?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 Performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287794#M786557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know, when we want to display a table data &amp;gt;&amp;gt; go to se16 and enter table name, at the bottom of the selection criteria screen, there is a box of which text says: Maximum no. of hits...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is like this, max number of hits but for my own reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I restrict the number of selected entries, &lt;STRONG&gt;by number criterion&lt;/STRONG&gt;  as well as selection criterion, that is just user says me that he wants to display just 200 of records according to a criteria even if there are many records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? I will use it to decrease the response time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 13:02:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-16T13:02:07Z</dc:date>
    <item>
      <title>Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287794#M786557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know, when we want to display a table data &amp;gt;&amp;gt; go to se16 and enter table name, at the bottom of the selection criteria screen, there is a box of which text says: Maximum no. of hits...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is like this, max number of hits but for my own reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I restrict the number of selected entries, &lt;STRONG&gt;by number criterion&lt;/STRONG&gt;  as well as selection criterion, that is just user says me that he wants to display just 200 of records according to a criteria even if there are many records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? I will use it to decrease the response time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287794#M786557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T13:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287795#M786558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use package size addition in select to restrict no. of  records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This option can be use to Restrict the Number of rows fetched from database in a Single access especially while fetching large number of records into internal table.&lt;/P&gt;&lt;P&gt;this can improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM &amp;lt;DBTABLE&amp;gt; APPENDING TABLE &amp;lt;ITAB&amp;gt; PACKAGE SIZE 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * INTO TABLE itab PACKAGE SIZE 20 FROM scarr. &lt;/P&gt;&lt;P&gt;LOOP AT itab ASSIGNING &amp;lt;FS&amp;gt;. &lt;/P&gt;&lt;P&gt;WRITE: / &amp;lt;FS&amp;gt;-carrid, &amp;lt;FS&amp;gt;-carrname. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287795#M786558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287796#M786559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Deniz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use:&lt;/P&gt;&lt;P&gt;SELECT ... UP TO n ROWS ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not more than n records will be selected this way. You can place n as PARAMETER on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287796#M786559</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-01-16T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287797#M786560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want  to try using the UP TO &amp;lt;number&amp;gt; ROWS extension of the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: lv_records type i value '200'.

Select * into table itab up to lv_records rows.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287797#M786560</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-01-16T13:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287798#M786561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich and all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got my answer, however there is another need that when the data is displayed at a number specified by user, can I say that this is not the all data, there is also &lt;STRONG&gt;n&lt;/STRONG&gt; number of the rest of data.&lt;/P&gt;&lt;P&gt;And is this possible to display the rest of the records by clicking a button set on application toolbar.&lt;/P&gt;&lt;P&gt;That is, at first selection, n number of records displayed and the rest (whatever the rest) is displayed when a button is displayed.&lt;/P&gt;&lt;P&gt;I will reward answers.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287798#M786561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T13:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287799#M786562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.

TABLES bkpf.

PARAMETERS: p_bukrs LIKE bkpf-bukrs,
            p_count TYPE i DEFAULT 500.
DATA:       count_rec TYPE i.

SELECT COUNT( * )
  FROM bkpf
  INTO count_rec
  WHERE bukrs = p_bukrs.

SELECT *
  FROM bkpf
  UP TO p_count ROWS
  WHERE bukrs = p_bukrs.

  WRITE: /001 bkpf-belnr.

ENDSELECT.

SKIP 1.

IF count_rec &amp;lt;= p_count.
  WRITE: /001 count_rec, 'of', count_rec, 'rows selected'.
ELSE.
  WRITE: /001 p_count, 'of', count_rec, 'rows selected'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 14:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287799#M786562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T14:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287800#M786563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob Burbank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This algorithm is good, thanks,&lt;/P&gt;&lt;P&gt;just last one thing I want is that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I select the records from the last record selected at first, when p_count is 500, up to count_rec.&lt;/P&gt;&lt;P&gt;This range will be showed at a screen as the rest of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything something like following at select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;  FROM bkpf&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;from rows n&lt;/STRONG&gt; UP TO p_count ROWS&lt;/P&gt;&lt;P&gt;  WHERE bukrs = p_bukrs.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 14:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287800#M786563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287801#M786564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deniz - it would really help if you would give all your requirements up front rather than coming back with additions. In this case, the new requirement will affect how you you will approach the problem from the start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think someone else mentioned PACKAGE SIZE. You can probably use that to select your first set of rows and then the subsequent ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 14:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287801#M786564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T14:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287802#M786565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the reports at my company needs a long time to display the data, about 20 minutes, instead of waiting a long time, I want to display it partially. At first screen the user sets a number about how many of records to display at first screen. &lt;/P&gt;&lt;P&gt;When this first display is realized, another thing is to show the rest of the data that has not been displayed due to the number criterion. &lt;STRONG&gt;For joins&lt;/STRONG&gt; it could not be possible to say retrieve records after (for instance) 500 records I think, but I hope that may be a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope clear this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 15:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287802#M786565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287803#M786566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I presume a trace has been placed on the program to see where the performance issues occur and been resolved. The reason it now takes 20 minutes to run it down to the sheer amount of data being processed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 15:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287803#M786566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T15:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287804#M786567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin I did not understand your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify what you meant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 07:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3287804#M786567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T07:17:22Z</dc:date>
    </item>
  </channel>
</rss>

