<?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 Select and end select problem. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311646#M1224591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;What are the best way and possible alternative way for&lt;/P&gt;&lt;P&gt;Select and Endselect statements.&lt;/P&gt;&lt;P&gt;While handling much data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:SELECT *from dbtable into itab.&lt;/P&gt;&lt;P&gt;    after this statement i will call one fm say "zfm"&lt;/P&gt;&lt;P&gt;     i will process one fm.&lt;/P&gt;&lt;P&gt;    after that i have put loop on itab of which is having much data&lt;/P&gt;&lt;P&gt;    which is giving out put of fm.&lt;/P&gt;&lt;P&gt;after that i put ENDSELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is taking too much time is there any alternative process will give us faster out put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2009 14:34:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-13T14:34:36Z</dc:date>
    <item>
      <title>Select and end select problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311646#M1224591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;What are the best way and possible alternative way for&lt;/P&gt;&lt;P&gt;Select and Endselect statements.&lt;/P&gt;&lt;P&gt;While handling much data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:SELECT *from dbtable into itab.&lt;/P&gt;&lt;P&gt;    after this statement i will call one fm say "zfm"&lt;/P&gt;&lt;P&gt;     i will process one fm.&lt;/P&gt;&lt;P&gt;    after that i have put loop on itab of which is having much data&lt;/P&gt;&lt;P&gt;    which is giving out put of fm.&lt;/P&gt;&lt;P&gt;after that i put ENDSELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is taking too much time is there any alternative process will give us faster out put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 14:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311646#M1224591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-13T14:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select and end select problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311647#M1224592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a select to populate the itab with no endselect (into table itab), and then use a loop to iterate throught it to do what you need to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 14:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311647#M1224592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-13T14:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select and end select problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311648#M1224593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally using SELECT and ENDSELECT is not optimal for performance. So better would be to select all the data into an internal table at once. However, as you are saying, this FM you are using is returning a lot of entries in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you already figured out where it is 'hurting' performance wise? Is it the SELECT ENDSELECT (shouldn't be if there are only a few records to be selected), or is it the FM retrieving a lot of data, or is it the LOOP ENDLOOP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for starters, get rid of the SELECT ENDSELECT. The rest is hard to say, without any code extract.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 14:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311648#M1224593</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-13T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select and end select problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311649#M1224594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question has been asked and answred many times. Please search before asking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 14:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-and-end-select-problem/m-p/5311649#M1224594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-13T14:46:51Z</dc:date>
    </item>
  </channel>
</rss>

