<?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 when selection LIPS table into program. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013417#M1497047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it might help if you specified your WHERE clause.  Have you traced your data selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jun 2010 13:24:03 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2010-06-09T13:24:03Z</dc:date>
    <item>
      <title>Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013414#M1497044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created Pending sales order report , in that i am facing performance problem for selection of LIPS table.&lt;/P&gt;&lt;P&gt;i have tried to use VLPMA table but performance has not been improved so, is their any need to create secondary index and&lt;/P&gt;&lt;P&gt;if yes then which fields of lips table i have to includes in index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply.&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;Jyotsna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 09:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013414#M1497044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T09:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013415#M1497045</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;Which select statement is causing performance issue ? Can you paste the relevant code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 10:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013415#M1497045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013416#M1497046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;1.Please make use of PACKAGE in your select query , it will definetly improve the performance.&lt;/P&gt;&lt;P&gt;2.Please use the primary index by passing the fields in where clause in the order in which they appera in LIPS table.&lt;/P&gt;&lt;P&gt;3.You can also create a secondary index with the fields which you are using in where clause of select query and maintain the fields in the same sequence (where clause and secondary index)&lt;/P&gt;&lt;P&gt;4.If there is any inner joins (more than 3) then reduce them and have few mare select queries for them and make use of for all entries.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will definitely improve the performance to great extend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 10:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013416#M1497046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T10:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013417#M1497047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it might help if you specified your WHERE clause.  Have you traced your data selection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 13:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013417#M1497047</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-06-09T13:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013418#M1497048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi ,&lt;/P&gt;&lt;P&gt;&amp;gt; 1.Please make use of PACKAGE in your select query , it will definetly improve the performance.&lt;/P&gt;&lt;P&gt;&amp;gt; 2.Please use the primary index by passing the fields in where clause in the order in which they appera in LIPS table.&lt;/P&gt;&lt;P&gt;&amp;gt; 3.You can also create a secondary index with the fields which you are using in where clause of select query and maintain the fields in the same sequence (where clause and secondary index)&lt;/P&gt;&lt;P&gt;&amp;gt; 4.If there is any inner joins (more than 3) then reduce them and have few mare select queries for them and make use of for all entries.    &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; This will definitely improve the performance to great extend.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Hope this is helpful.&lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Uma&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please do some more research before offering advice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PACKAGE SIZE is for memory management, not performance.&lt;/P&gt;&lt;P&gt;Creating a secondary index is using a hammer to swat a fly and the order in the SELECT is not relevant.&lt;/P&gt;&lt;P&gt;FAE does not improve performance over a JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 14:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013418#M1497048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013419#M1497049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know why you're reading LIPS for a "pending sales order" report??  What do you need from LIPS that you couldn't get from VBFA or VBUK or VBUP (assuming you're starting from the proper Sales Index table)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 16:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013419#M1497049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-09T16:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013420#M1497050</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;First extract the Delivery No (VBFA-VBELN) &amp;amp; Line item number(VBFA-POSNN) from VBFA by passing Sales order number and line item to VBFA-VBELV &amp;amp; VBFA-POSNV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select vbelv posnv vbeln posnn
from vbfa
into table &amp;lt;itab&amp;gt;
where vbelv = &amp;lt;order number&amp;gt;
and      posnv = &amp;lt;line item&amp;gt;
and      vbtyp_n = 'J'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now extract the delivery information from LIPS based on internal table populated using above select.  This will ensure the data extraction with the primary key fields of LIPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select &amp;lt;required fields&amp;gt;
from LIPS
into &amp;lt;itab_lips&amp;gt;
for all entries in itab
where vbeln = itab-vbeln
and      posnr = itab-posnn.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 05:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013420#M1497050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-10T05:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013421#M1497051</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;Please check all possible options before rushing to create a secondary index wherever possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is already a standard SAP Index 'VGB' which has only VGBEL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If You want to fetch the delivery item details, for all items that you have in the Sales Order table (IT_VBAP), then remove the selection criteria of VGPOS from your selection query. The standard SAP index will be used then while data fetch and this will enhance the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Birendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 05:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013421#M1497051</guid>
      <dc:creator>birendra_chatterjee</dc:creator>
      <dc:date>2010-06-10T05:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue when selection LIPS table into program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013422#M1497052</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;Please check SAP Note 185530 - Performance: Customer developments in SD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tausif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 06:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-when-selection-lips-table-into-program/m-p/7013422#M1497052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-10T06:04:56Z</dc:date>
    </item>
  </channel>
</rss>

