<?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: improve performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082281#M432072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very important :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- replace the "SELECT * INTO CORRESPONDING FIELDS OF TABLE t_zepc_bp_deduct" by the needed fields : "SELECT x y z INTO TABLE t_zepc_bp_deduct"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- remove the "ORDER BY ..." and add a "SORT t_zepc_bp_deduct by ..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2007 09:02:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-05T09:02:10Z</dc:date>
    <item>
      <title>improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082276#M432067</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 need to improve the performance of this piece of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF p_specl NE 'X'.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE t_zepc_bp_deduct FROM
      zepc_bp_deduct WHERE
      ( ded_cat = construc-garnamt AND ded_start &amp;lt;= w_garnish_date
        AND ded_end &amp;gt;= w_garnish_date )
      OR
      ( ded_cat = construc-garnamt AND ded_start &amp;lt;= w_garnish_date
        AND ded_end = '00000000' )
      OR
      ( ded_cat = construc-defcomp AND ded_start &amp;lt;= w_def_comp_date
        AND ded_end &amp;gt;= w_def_comp_date )
      OR
      ( ded_cat = construc-defcomp AND ded_start &amp;lt;= w_def_comp_date
        AND ded_end = '00000000' )
      OR
      ( ded_cat = construc-compayagr AND
        ded_start &amp;lt;= w_comm_pay_agree_date AND
        ded_end &amp;gt;= w_comm_pay_agree_date )
      OR
      ( ded_cat = construc-compayagr AND
        ded_start &amp;lt;= w_comm_pay_agree_date AND
        ded_end = '00000000' )
      OR
      ( ded_cat = construc-loantype AND ded_start &amp;lt;= w_loan_type_date
        AND ded_end &amp;gt;= w_loan_type_date )
      OR
      ( ded_cat = construc-loantype AND ded_start &amp;lt;= w_loan_type_date
        AND ded_end = '00000000' )
      OR
      ( ded_cat = construc-repded AND ded_start &amp;lt;= w_repeat_ded_date
        AND ded_end &amp;gt;= w_repeat_ded_date )
      OR
*      ( ded_cat = construc-repded AND ded_start &amp;lt;= w_repeat_ded_date
*        AND ded_end = space )
      ( ded_cat = construc-repded AND ded_start &amp;lt;= w_repeat_ded_date
        AND ded_end = '00000000' )

      ORDER BY bp_partner insobject priority.
    ELSE.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE t_zepc_bp_deduct FROM
      zepc_bp_deduct WHERE
      ( ded_cat = construc-garnamt
      AND ded_start &amp;lt;= w_garnish_date
      AND ded_end &amp;gt;= w_garnish_date )
      OR
      ( ded_cat = construc-garnamt
      AND ded_start &amp;lt;= w_garnish_date
      AND ded_end = '00000000' )

      ORDER BY bp_partner insobject priority.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ded_start,ded_end,ded_cat are the not the key fields of the z-table which i am using.&lt;/P&gt;&lt;P&gt;can anyone suggest me any possible way to enhance the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points assured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;maahi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 07:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082276#M432067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T07:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082277#M432068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are u doing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these many conditions in where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 07:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082277#M432068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T07:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082278#M432069</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;this is not done by me,and its performance is too bad.&lt;/P&gt;&lt;P&gt;i am asked to improve its performance.&lt;/P&gt;&lt;P&gt;and these many conditions are unavoidable..as i think.. if you can suggest me a better idea..it will be good.&lt;/P&gt;&lt;P&gt;or can i create secondary index for the fields which i am using in where clause in my z-table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;maahi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 07:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082278#M432069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T07:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082279#M432070</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 tips:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; If possible replace Corresponding fields with the actual field name, coz this is a very heavy weight statement that checks for the structure of each field and has a worst case complexity of O(n*n)..&lt;/P&gt;&lt;P&gt;2&amp;gt;You can remove all the conditions from the database table and operate those conditions on a internal table, which can improve performance in some cases, depending upon the size of the table.&lt;/P&gt;&lt;P&gt;3&amp;gt; Some of the conditions are redundant and you can restructure them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 07:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082279#M432070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082280#M432071</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;1st select:&lt;/P&gt;&lt;P&gt;the first select has so many logic comparisons in its where condition. and moreover since the select fetches data from Ztable...guess u can do the comparison after the select. use if condition process the data accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be better if you can remove this Order by clause. this will definitely improve the peroformance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the else condition select:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.select only the required fields instead of select *&lt;/P&gt;&lt;P&gt;2. Avoid into corresponding fields.&lt;/P&gt;&lt;P&gt;3. If the WHERE clause has constants in logical comparison..u can remove it from the select and delete the unwanted entries after the data is fetched from the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the where condition doesnt have any primary key fields, try to create an index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**reward if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 08:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082280#M432071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T08:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082281#M432072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very important :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- replace the "SELECT * INTO CORRESPONDING FIELDS OF TABLE t_zepc_bp_deduct" by the needed fields : "SELECT x y z INTO TABLE t_zepc_bp_deduct"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- remove the "ORDER BY ..." and add a "SORT t_zepc_bp_deduct by ..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 09:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082281#M432072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T09:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082282#M432073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;haha!&lt;/P&gt;&lt;P&gt;sorry I cldn't help looking @ it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this by writing &lt;/P&gt;&lt;P&gt;     Select &amp;lt;fld1&amp;gt;&lt;/P&gt;&lt;P&gt;               &amp;lt;fld2&amp;gt;&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;               &amp;lt;fld3&amp;gt;&lt;/P&gt;&lt;P&gt;              ded_cat&lt;/P&gt;&lt;P&gt;              ded_start&lt;/P&gt;&lt;P&gt;              ded_end&lt;/P&gt;&lt;P&gt;     from &amp;lt;watevr table&amp;gt;&lt;/P&gt;&lt;P&gt;     into table &amp;lt;ur internal table&amp;gt;&lt;/P&gt;&lt;P&gt;     where ded_cat in rg_ded_cat&lt;/P&gt;&lt;P&gt;         and ded_start in rg_ded_start&lt;/P&gt;&lt;P&gt;         and ded_end in rg_ded_end.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;These ranges will contain all values your trying to get&lt;/P&gt;&lt;P&gt;say for ded-cat range is (all values from table contruc for field garnamt and all values from table contruc for field defcomp )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ded_start it will be ( &amp;lt;= w_garnish_date...so on)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can do read table &amp;lt;ur internal table &amp;gt; with the conditions that are put in the where condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and BTW remove the CORRESPONDING and write specific fields that are being selected in place of fld1, fld2...etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;else u can ask and I can give you my email&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is contruc an internal table coz if it is...will help if u can re-write the logic again coz I think this select query is in a loop!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant Rustagi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 05:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082282#M432073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-06T05:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082283#M432074</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &amp;lt;fld list&amp;gt; into itab from z_table &lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;ded_cat in s_ded_cat and&lt;/P&gt;&lt;P&gt;w_garnish_date between ded_start and ded_end and&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short use select options efficiently, better to write the codes from scratch, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove into corrosponding field clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never use order by in select instead sort itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here ORing is used means solution will be easier, its matter of logic + knowledge of how sel options works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use ded_end is initial option interad of '0000000'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 06:28:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082283#M432074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T06:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082284#M432075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maahi,&lt;/P&gt;&lt;P&gt; Please check the logic which you need to implement from this select query.&lt;/P&gt;&lt;P&gt;This select query seems many no of logical conditions which itself inturn the poor performance of this select query. &lt;/P&gt;&lt;P&gt;Second point i like to add is instead of SELECT* refer required fields of structure where you need to get the required table values.&lt;/P&gt;&lt;P&gt;At the last, if possible get the alternate of logic implementation instead of using these LOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 04:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082284#M432075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T04:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082285#M432076</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;You can do like this ,&lt;/P&gt;&lt;P&gt;IF p_specl NE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  *&lt;/P&gt;&lt;P&gt;     FROM  zepc_bp_deduct &lt;/P&gt;&lt;P&gt;     INTO CORRESPONDING FIELDS  OF TABLE t_zepc_bp_deduct .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT t_zepc_bp_deduct .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF ( ded_cat = construc-garnamt AND ded_start &amp;lt;= w_garnish_date&lt;/P&gt;&lt;P&gt;        AND ded_end &amp;gt;= w_garnish_date )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-garnamt AND ded_start &amp;lt;= w_garnish_date&lt;/P&gt;&lt;P&gt;        AND ded_end = '00000000' )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-defcomp AND ded_start &amp;lt;= w_def_comp_date&lt;/P&gt;&lt;P&gt;        AND ded_end &amp;gt;= w_def_comp_date )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-defcomp AND ded_start &amp;lt;= w_def_comp_date&lt;/P&gt;&lt;P&gt;        AND ded_end = '00000000' )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-compayagr AND&lt;/P&gt;&lt;P&gt;        ded_start &amp;lt;= w_comm_pay_agree_date AND&lt;/P&gt;&lt;P&gt;        ded_end &amp;gt;= w_comm_pay_agree_date )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-compayagr AND&lt;/P&gt;&lt;P&gt;        ded_start &amp;lt;= w_comm_pay_agree_date AND&lt;/P&gt;&lt;P&gt;        ded_end = '00000000' )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-loantype AND ded_start &amp;lt;= w_loan_type_date&lt;/P&gt;&lt;P&gt;        AND ded_end &amp;gt;= w_loan_type_date )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-loantype AND ded_start &amp;lt;= w_loan_type_date&lt;/P&gt;&lt;P&gt;        AND ded_end = '00000000' )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-repded AND ded_start &amp;lt;= w_repeat_ded_date&lt;/P&gt;&lt;P&gt;        AND ded_end &amp;gt;= w_repeat_ded_date )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              ORDER BY bp_partner insobject priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      SELECT * INTO CORRESPONDING FIELDS OF TABLE t_zepc_bp_deduct FROM&lt;/P&gt;&lt;P&gt;      zepc_bp_deduct WHERE&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-garnamt&lt;/P&gt;&lt;P&gt;      AND ded_start &amp;lt;= w_garnish_date&lt;/P&gt;&lt;P&gt;      AND ded_end &amp;gt;= w_garnish_date )&lt;/P&gt;&lt;P&gt;      OR&lt;/P&gt;&lt;P&gt;      ( ded_cat = construc-garnamt&lt;/P&gt;&lt;P&gt;      AND ded_start &amp;lt;= w_garnish_date&lt;/P&gt;&lt;P&gt;      AND ded_end = '00000000' )&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      ORDER BY bp_partner insobject priority.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt; I hope this is helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards ,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 07:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082285#M432076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T07:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: improve performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082286#M432077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You keep "SELECT * INTO CORRESPONDING FIELDS" and "ORDER BY" , which are both bad for performance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/improve-performance/m-p/2082286#M432077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T10:35:44Z</dc:date>
    </item>
  </channel>
</rss>

