<?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: RESB-Fetching in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714960#M894285</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; 1. Use all the primary key fields in the where condition of your select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Do not use joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Select only the required entries ... rather than selecting all the entries ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Make use of secondary indexes explicitly when using non key fields in your select statements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2008 06:21:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-01T06:21:12Z</dc:date>
    <item>
      <title>RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714959#M894284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to improve the performance while fetching data from RESB table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 06:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714959#M894284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T06:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714960#M894285</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; 1. Use all the primary key fields in the where condition of your select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Do not use joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Select only the required entries ... rather than selecting all the entries ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Make use of secondary indexes explicitly when using non key fields in your select statements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 06:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714960#M894285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T06:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714961#M894286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi santose,&lt;/P&gt;&lt;P&gt;thank u for ur response.&lt;/P&gt;&lt;P&gt;i have tried but till it takes long time....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 06:57:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714961#M894286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T06:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714962#M894287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you Give me the Select Statement That u r using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh Linga.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 06:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714962#M894287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T06:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714963#M894288</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;s_matnr ,s_werks are Select-option variables.&lt;/P&gt;&lt;P&gt;IT_RESB is the intermediate table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT MATNR WERKS BDTER&lt;/P&gt;&lt;P&gt;  INTO TABLE IT_RESB&lt;/P&gt;&lt;P&gt;  FROM RESB&lt;/P&gt;&lt;P&gt;  WHERE matnr IN s_matnr AND&lt;/P&gt;&lt;P&gt;               werks IN s_werks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me the correct solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nihtiyanandam.S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nithiyanandam Somasundaram on May 1, 2008 12:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 10:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714963#M894288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T10:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714964#M894289</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;few suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Check if there is a secondary index on matnr and werks. Probably it will be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Use the following code to fetch data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: s_cursor TYPE cursor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN CURSOR WITH HOLD s_cursor FOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT MATNR WERKS BDTER&lt;/P&gt;&lt;P&gt;FROM RESB&lt;/P&gt;&lt;P&gt;WHERE matnr IN s_matnr AND&lt;/P&gt;&lt;P&gt;werks IN s_werks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;  FETCH NEXT CURSOR s_cursor&lt;/P&gt;&lt;P&gt;             APPENDING&lt;/P&gt;&lt;P&gt;             TABLE IT_RESB&lt;/P&gt;&lt;P&gt;             PACKAGE SIZE '2000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    CLOSE CURSOR s_cursor.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 11:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714964#M894289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T11:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714965#M894290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can u tell me &lt;/P&gt;&lt;P&gt;what is the maximum package size .because in resb table having lot of data....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 03:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714965#M894290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T03:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: RESB-Fetching</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714966#M894291</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;One small addition - You might be already checking it in the code but just wanted to double check with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the range s_matnr is not initial before the RESB select query. Otherwise it fecthes all the data from RESB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;- Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 18:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/resb-fetching/m-p/3714966#M894291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T18:44:47Z</dc:date>
    </item>
  </channel>
</rss>

