<?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 tunning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666677#M295069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Avoid using * in select instead of tht use field names in the same order they come in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) dont use into corresponding fields instead of tht use into table (internal table )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this hepls u .. if so plz reward points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kali Pramod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2006 07:56:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-21T07:56:24Z</dc:date>
    <item>
      <title>performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666670#M295062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please  have a look at the code below,following select statement is taking&lt;/P&gt;&lt;P&gt;long time to fecth the records, problem is i cannot chnage these select&lt;/P&gt;&lt;P&gt;statement to introduce key filelds because scenario is like that,how can i make&lt;/P&gt;&lt;P&gt;these select statement tuned to work fine &lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;     FROM ZBW_SCH_LINES&lt;/P&gt;&lt;P&gt;     INTO CORRESPONDING FIELDS OF TABLE INT_OPEN_SCH_LINES_1&lt;/P&gt;&lt;P&gt;     WHERE&lt;/P&gt;&lt;P&gt; ( MBDAT GE D0 AND MBDAT LE D3 ) AND&lt;/P&gt;&lt;P&gt;(    ( ZDATE GE D0 AND ZDATE LE D3 ) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 15:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666670#M295062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T15:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666671#M295063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can add an index for the fields MBDAT  and ZDATE to the table ZBW_SCH_LINES.  Go to SE11, enter the table name and click change.  Now , click go to,  indexes.  Here you can create a secondary index,  enter the field names and save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 15:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666671#M295063</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-20T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666672#M295064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you don't need all the fields, but you still have *. See, if you can select the fields in the same order in which they appear in the fields INT_OPEN_SCH_LINES_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND TRY TO USE BETWEEN.&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT field1 field3 field4
FROM ZBW_SCH_LINES
INTO TABLE INT_OPEN_SCH_LINES_1
WHERE
( MBDAT BETWEEN D0 AND D3 ) AND
( ZDATE BETWEEB D0 AND D&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;3 ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 15:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666672#M295064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T15:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666673#M295065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a custom table. How is it updated - online or in batch. If in batch, you could create an index on mbdat and/or zdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplest thing to do would be to make sure that the interval between D0 and D3 is relatively small so that less data is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 15:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666673#M295065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T15:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666674#M295066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you send me the entire step to do that,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 15:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666674#M295066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T15:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666675#M295067</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 creating a range or a select-options and then populate d0 and d3 there is mbdat the primary key field for the table. if not try to use the primary key aswel in where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;donot copy all the fields and donot use corresponding fields select by name in sequence &lt;/P&gt;&lt;P&gt;all these can reduce the time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can even give a secondary index for the table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2006 16:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666675#M295067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-20T16:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666676#M295068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To Improve the performance of SELECT statement you need to change select query in below areas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the place of '&lt;STRONG&gt;' use Fieldlist (What are fileds you are using- the filedlist more than 1/3 better to use '&lt;/STRONG&gt;').&lt;/P&gt;&lt;P&gt;2. Avoid INTO CORRESPONDING FIELDS clause (Define own internal table in program- it can avoid the corresponding clause)&lt;/P&gt;&lt;P&gt;3. As above rich told, Use secondary index for MBDAT,ZDATE for past DB Acess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Bhupal Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 06:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666676#M295068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T06:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: performance tunning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666677#M295069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Avoid using * in select instead of tht use field names in the same order they come in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) dont use into corresponding fields instead of tht use into table (internal table )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this hepls u .. if so plz reward points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kali Pramod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 07:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tunning/m-p/1666677#M295069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T07:56:24Z</dc:date>
    </item>
  </channel>
</rss>

