<?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: Performance Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232728#M480550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harkamal,&lt;/P&gt;&lt;P&gt;Please avoid VIEW  and put the data into the separate internal tables and then loop at EKKO and Read rest table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select *  into &amp;lt;IT_EKKO&amp;gt;
         from EKKO 
         where &amp;lt;condition&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Select rest other tables with condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Sort ALL Internal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT IT_EKKO.
  READ TABLE IT_EKPO WITH KEY EBELN = IT_EKKO-EBELN BINARY SEARCH.
  IF SY-SUBRC = 0.
    &amp;lt;INSERT INTO FINAL INTERNAL TABLE.
  ENDIF.
  ----- Put Read command to other internal table and put it into the final table &amp;lt;i_itmes&amp;gt;
   APPEND I_ITEMS.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would diffinately increase the perfomance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 03:11:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-10T03:11:32Z</dc:date>
    <item>
      <title>Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232725#M480547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some suggestions to improve performance of following select query. &lt;/P&gt;&lt;P&gt;data:i_items   LIKE yweb_po_view OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM yweb_po_view INTO TABLE i_items&lt;/P&gt;&lt;P&gt;    WHERE eindt BETWEEN vdatu_from and vdatu_to&lt;/P&gt;&lt;P&gt;      and bukrs = company_code                            &lt;/P&gt;&lt;P&gt;      and LOEKZ_EKPO = ''&lt;/P&gt;&lt;P&gt;      AND pstyp IN r_pstyp&lt;/P&gt;&lt;P&gt;      AND emlif = i_vendor-lifnr&lt;/P&gt;&lt;P&gt;      AND lblkz = 'X'&lt;/P&gt;&lt;P&gt;      AND elikz &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yweb_po_view is view with combination of four standard tables.&lt;/P&gt;&lt;P&gt;EKKO&lt;/P&gt;&lt;P&gt;EKPO&lt;/P&gt;&lt;P&gt;EKET&lt;/P&gt;&lt;P&gt;MARA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Harkamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 02:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232725#M480547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T02:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232726#M480548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to write down internal table without header...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty_data ,&lt;/P&gt;&lt;P&gt;           fld1,&lt;/P&gt;&lt;P&gt;          fld2,&lt;/P&gt;&lt;P&gt;          end of ty_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data i_data type standard table of ty_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_data like line of i_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use where conditions properly,and select only few fiedls if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 02:18:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232726#M480548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T02:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232727#M480549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not use 'SELECT *' instead of that use SELECT the required fields from i_items. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly please check the View. I am sure there must be some thing wrong out there when you want to make the view with four tables. Please look there once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhasish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 02:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232727#M480549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T02:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232728#M480550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harkamal,&lt;/P&gt;&lt;P&gt;Please avoid VIEW  and put the data into the separate internal tables and then loop at EKKO and Read rest table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select *  into &amp;lt;IT_EKKO&amp;gt;
         from EKKO 
         where &amp;lt;condition&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Select rest other tables with condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Sort ALL Internal Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT IT_EKKO.
  READ TABLE IT_EKPO WITH KEY EBELN = IT_EKKO-EBELN BINARY SEARCH.
  IF SY-SUBRC = 0.
    &amp;lt;INSERT INTO FINAL INTERNAL TABLE.
  ENDIF.
  ----- Put Read command to other internal table and put it into the final table &amp;lt;i_itmes&amp;gt;
   APPEND I_ITEMS.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would diffinately increase the perfomance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 03:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/2232728#M480550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-10T03:11:32Z</dc:date>
    </item>
  </channel>
</rss>

