<?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 performnace problem when using the view VBAKUK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performnace-problem-when-using-the-view-vbakuk/m-p/3746814#M901478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;       I have the performance problem when using the view VBAKUK. i am using the query like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT VBELN AUART VKORG VTWEG KUNNR&lt;/P&gt;&lt;P&gt;    INTO TABLE LT_VBAK&lt;/P&gt;&lt;P&gt;    FROM VBAKUK&lt;/P&gt;&lt;P&gt;    WHERE ERDAT IN S_ERDAT    AND&lt;/P&gt;&lt;P&gt;          VKORG IN S_VKORG    AND&lt;/P&gt;&lt;P&gt;          AUART IN S_AUART    AND&lt;/P&gt;&lt;P&gt;          VTWEG IN S_VTWEG    AND&lt;/P&gt;&lt;P&gt;          KUNNR IN S_KUNNR    AND&lt;/P&gt;&lt;P&gt;          BSTNK IN S_BSTNK    AND&lt;/P&gt;&lt;P&gt;          VBELN IN S_VBELN    AND&lt;/P&gt;&lt;P&gt;          VKBUR IN S_VKBUR    AND&lt;/P&gt;&lt;P&gt;          VKGRP IN S_VKGRP    AND&lt;/P&gt;&lt;P&gt;          AUDAT IN S_AUDAT    AND&lt;/P&gt;&lt;P&gt;          GUEEN IN S_GUEEN    AND&lt;/P&gt;&lt;P&gt;          VDATU IN S_VDATU    AND&lt;/P&gt;&lt;P&gt;          GBSTK NE 'C'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the selection screen i am passing the values VKORG,AUART,KUNNR and VDATU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me the solution to increase the performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 17:39:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T17:39:30Z</dc:date>
    <item>
      <title>performnace problem when using the view VBAKUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performnace-problem-when-using-the-view-vbakuk/m-p/3746814#M901478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;       I have the performance problem when using the view VBAKUK. i am using the query like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT VBELN AUART VKORG VTWEG KUNNR&lt;/P&gt;&lt;P&gt;    INTO TABLE LT_VBAK&lt;/P&gt;&lt;P&gt;    FROM VBAKUK&lt;/P&gt;&lt;P&gt;    WHERE ERDAT IN S_ERDAT    AND&lt;/P&gt;&lt;P&gt;          VKORG IN S_VKORG    AND&lt;/P&gt;&lt;P&gt;          AUART IN S_AUART    AND&lt;/P&gt;&lt;P&gt;          VTWEG IN S_VTWEG    AND&lt;/P&gt;&lt;P&gt;          KUNNR IN S_KUNNR    AND&lt;/P&gt;&lt;P&gt;          BSTNK IN S_BSTNK    AND&lt;/P&gt;&lt;P&gt;          VBELN IN S_VBELN    AND&lt;/P&gt;&lt;P&gt;          VKBUR IN S_VKBUR    AND&lt;/P&gt;&lt;P&gt;          VKGRP IN S_VKGRP    AND&lt;/P&gt;&lt;P&gt;          AUDAT IN S_AUDAT    AND&lt;/P&gt;&lt;P&gt;          GUEEN IN S_GUEEN    AND&lt;/P&gt;&lt;P&gt;          VDATU IN S_VDATU    AND&lt;/P&gt;&lt;P&gt;          GBSTK NE 'C'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the selection screen i am passing the values VKORG,AUART,KUNNR and VDATU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me the solution to increase the performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 17:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performnace-problem-when-using-the-view-vbakuk/m-p/3746814#M901478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: performnace problem when using the view VBAKUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performnace-problem-when-using-the-view-vbakuk/m-p/3746815#M901479</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;1. why are u not passing VBELN value when u have it in select-options. it is the primary key field. It is better u pass that. if u are not passing some of the select-options in to the select query, remove them from the WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.remove GBSTK NE 'C'. THE inequality operator NE will ignore the index search.&lt;/P&gt;&lt;P&gt;delete the unwanted data based on the condition after the data fetch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. make vbeln as the first field in the WHERE condition i.e. put it before ERDAT IN S_ERDAT , just in case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhumitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 03:57:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performnace-problem-when-using-the-view-vbakuk/m-p/3746815#M901479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T03:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: performnace problem when using the view VBAKUK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performnace-problem-when-using-the-view-vbakuk/m-p/3746816#M901480</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;Some advices for your query:&lt;/P&gt;&lt;P&gt;- can at least one of s_vbeln, s_erdat or s_audat be obligatory? The first is the primary key and there are indexes for the other two;&lt;/P&gt;&lt;P&gt;- VBAK has an index named OI0 which is inactive. Considering you are using KUNNR and VKORG, this could be a solution. Just activate, run optimizer statistics and performance will be in shape;&lt;/P&gt;&lt;P&gt;- Madhumitha is right when he says to remove GBSTK NE 'C'. Instead use GBSTK IN ('A','B',' '). Looks the same but for the optimiser is not.&lt;/P&gt;&lt;P&gt;- try to use VBAK and VBUK in an INNER JOIN query, instead of VBAKUK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 15:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performnace-problem-when-using-the-view-vbakuk/m-p/3746816#M901480</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-05-08T15:58:36Z</dc:date>
    </item>
  </channel>
</rss>

