<?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: RE:performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348482#M1035596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This much slows your programm.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
augrd ne '03'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make ranges for augrd, fill this by valid values and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
augrd in r_augrd
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2008 13:38:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-14T13:38:22Z</dc:date>
    <item>
      <title>RE:performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348479#M1035593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select * from dfkkop into corresponding fields of table t_dfkkop&lt;/P&gt;&lt;P&gt;           where   vtref   like 'EPC%'        and&lt;/P&gt;&lt;P&gt;               ( ( augbd      =  '00000000'   and&lt;/P&gt;&lt;P&gt;                   xragl      = 'X' )&lt;/P&gt;&lt;P&gt;                           or&lt;/P&gt;&lt;P&gt;                 ( augbd      ge w_clrfr      and&lt;/P&gt;&lt;P&gt;                   augbd      le w_clrto ) )  and&lt;/P&gt;&lt;P&gt;                   augrd      ne '03'         and&lt;/P&gt;&lt;P&gt;                   zwage_type in s_wtype.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this select statement taking huge time to retrieve the records.&lt;/P&gt;&lt;P&gt;Can we suggest me any alternative to this statement?&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;sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 12:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348479#M1035593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T12:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: RE:performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348480#M1035594</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;&lt;/P&gt;&lt;P&gt;Create a internal table with the same table type of the database table and do not use corresponding statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * from dfkkop into table t_dfkkop
where vtref like 'EPC%' and
( ( augbd = '00000000' and
xragl = 'X' )
or
( augbd ge w_clrfr and
augbd le w_clrto ) ) and
augrd ne '03' and
zwage_type in s_wtype.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you do not nee all the fields of the table dfkkop then select those Particular fields rather than all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this create internal table with those fields that are selected in select statement and as the where conditionis complecated it will take little time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 12:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348480#M1035594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T12:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: RE:performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348481#M1035595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't use SELECT * define the fields which u want and fetch the data for that fields and give the same in SELECT query,&lt;/P&gt;&lt;P&gt;SELECT * will take lot of time and PERFORMANCE it is not good&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348481#M1035595</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-08-14T13:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: RE:performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348482#M1035596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This much slows your programm.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
augrd ne '03'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make ranges for augrd, fill this by valid values and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
augrd in r_augrd
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 13:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348482#M1035596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T13:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: RE:performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348483#M1035597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
select * 
          from dfkkop 
          into corresponding fields of table t_dfkkop
          where vtref like 'EPC%' 
          and   ( ( augbd = '00000000' and xragl = 'X' )
                    or ( augbd ge w_clrfr and augbd le w_clrto ) ) 
          and   augrd ne '03' 
          and   zwage_type in s_wtype.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doubt that your problem can be solved by a fieldlist instead of the SELECT *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance problems are related to missing index support in ost cases, and that is here also the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check SE11 for dfkkop and indexes ... you need either fields in your WHERE condition which are leading fields of an index or you need an index with your fields.&lt;/P&gt;&lt;P&gt;=&amp;gt; I can't see anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'ne' not equal condition can not be used on an index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;augbd ge w_clrfr and augbd le w_clrto =&amp;gt; augbd between w_clrfrand  and w_clrto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can find additional and better conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 15:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-performance-issue/m-p/4348483#M1035597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T15:03:26Z</dc:date>
    </item>
  </channel>
</rss>

