<?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 Tuning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508017#M567058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to add the warehouse number (LGNUM) as this would then cover half of the key fields, which will make the DB to use primary key. Views without this field are not helpful as warehouse number is the most important classification element in WM module. hope this helps.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 13:36:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-13T13:36:18Z</dc:date>
    <item>
      <title>Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508016#M567057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance seems to take to long here in the select statement. Anybody knows a view table to enhance the selection? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retrieve data from LTAP&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT tanum&lt;/P&gt;&lt;P&gt;               matnr&lt;/P&gt;&lt;P&gt;               werks&lt;/P&gt;&lt;P&gt;               charg&lt;/P&gt;&lt;P&gt;               meins&lt;/P&gt;&lt;P&gt;               qdatu&lt;/P&gt;&lt;P&gt;               vsolm&lt;/P&gt;&lt;P&gt;               maktx&lt;/P&gt;&lt;P&gt;               lgort&lt;/P&gt;&lt;P&gt;    FROM ltap&lt;/P&gt;&lt;P&gt;      INTO TABLE i_ltap&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN i_ltak&lt;/P&gt;&lt;P&gt;  WHERE tanum EQ i_ltak-tanum&lt;/P&gt;&lt;P&gt;       AND matnr IN s_matnr&lt;/P&gt;&lt;P&gt;       AND werks IN s_werks&lt;/P&gt;&lt;P&gt;       AND qdatu IN r_date&lt;/P&gt;&lt;P&gt;       AND lgort   IN s_lgort&lt;/P&gt;&lt;P&gt;       AND vltyp   IN i_lgtyp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 13:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508016#M567057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T13:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508017#M567058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to add the warehouse number (LGNUM) as this would then cover half of the key fields, which will make the DB to use primary key. Views without this field are not helpful as warehouse number is the most important classification element in WM module. hope this helps.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 13:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508017#M567058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508018#M567059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;   the first shot woudl be to check if internal table i_ltak is not empty -- since in this case you check only for rest of your condition for which no suitable index exist.&lt;/P&gt;&lt;P&gt;   the best then would be create new index or restructure select in order to fit unde indexes of table LTAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Artem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remeber points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 13:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508018#M567059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T13:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508019#M567060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This'll be a lot faster:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
RANGES: r_lgnum FOR ltap-lgnum.

r_lgnum-option = 'EQ'.
r_lgnum-sign   = 'I'.
SELECT lgnum
  FROM t300
  INTO r_lgnum-low.
  APPEND r_lgnum.
ENDSELECT.

CHECK NOT r_lgnum IS INITIAL.

SELECT tanum matnr werks charg meins qdatu
       vsolm maktx lgort
  from ltap
  into table i_ltap
  for all entries IN i_ltak
  where tanum IN r_lgnum             "&amp;lt;====
    AND tanum EQ i_ltak-tanum
    AND matnr IN s_matnr
    AND werks IN s_werks
    AND qdatu IN r_date
    AND lgort IN s_lgort
    AND vltyp IN i_lgtyp.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 13:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508019#M567060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Tuning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508020#M567061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Artem Ruzak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you meant by creating new index, how do i do that? Thanks for your inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 13:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning/m-p/2508020#M567061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T13:50:08Z</dc:date>
    </item>
  </channel>
</rss>

