<?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. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736004#M899145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the order of fields in where condition ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select (g_t_fields)&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from mkpf inner join mseg&lt;/P&gt;&lt;P&gt;on mkpf&lt;SUB&gt;mandt = mseg&lt;/SUB&gt;mandt&lt;/P&gt;&lt;P&gt;and mkpf&lt;SUB&gt;mblnr = mseg&lt;/SUB&gt;mblnr&lt;/P&gt;&lt;P&gt;and mkpf&lt;SUB&gt;mjahr = mseg&lt;/SUB&gt;mjahr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE MKPF~BUDAT in BUDAT&lt;/P&gt;&lt;P&gt;and MKPF~USNAM in USNAM&lt;/P&gt;&lt;P&gt;and MKPF~VGART in VGART&lt;/P&gt;&lt;P&gt;and MKPF~XBLNR in XBLNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and MSEG~BWART in BWART&lt;/P&gt;&lt;P&gt;and MSEG~CHARG in CHARG&lt;/P&gt;&lt;P&gt;and MSEG~KUNNR in KUNNR&lt;/P&gt;&lt;P&gt;and MSEG~LGORT in LGORT&lt;/P&gt;&lt;P&gt;and MSEG~LIFNR in LIFNR&lt;/P&gt;&lt;P&gt;and MSEG~MATNR in MATNR&lt;/P&gt;&lt;P&gt;and MSEG~SOBKZ in SOBKZ&lt;/P&gt;&lt;P&gt;and MSEG~WERKS in WERKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 09:25:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T09:25:47Z</dc:date>
    <item>
      <title>Performance issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736001#M899142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performance is very slow in standard transaction MB51, &lt;/P&gt;&lt;P&gt;Particularly in this query!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select (g_t_fields)&lt;/P&gt;&lt;P&gt;    into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;    from mkpf inner join mseg&lt;/P&gt;&lt;P&gt;    on    mkpf&lt;SUB&gt;mandt = mseg&lt;/SUB&gt;mandt&lt;/P&gt;&lt;P&gt;      and mkpf&lt;SUB&gt;mblnr = mseg&lt;/SUB&gt;mblnr&lt;/P&gt;&lt;P&gt;      and mkpf&lt;SUB&gt;mjahr = mseg&lt;/SUB&gt;mjahr&lt;/P&gt;&lt;P&gt;       WHERE MKPF~BUDAT in BUDAT&lt;/P&gt;&lt;P&gt;         and MSEG~BWART in BWART&lt;/P&gt;&lt;P&gt;         and MSEG~CHARG in CHARG&lt;/P&gt;&lt;P&gt;         and MSEG~KUNNR in KUNNR&lt;/P&gt;&lt;P&gt;         and MSEG~LGORT in LGORT&lt;/P&gt;&lt;P&gt;         and MSEG~LIFNR in LIFNR&lt;/P&gt;&lt;P&gt;         and MSEG~MATNR in MATNR&lt;/P&gt;&lt;P&gt;         and MSEG~SOBKZ in SOBKZ&lt;/P&gt;&lt;P&gt;         and MKPF~USNAM in USNAM&lt;/P&gt;&lt;P&gt;         and MKPF~VGART in VGART&lt;/P&gt;&lt;P&gt;         and MSEG~WERKS in WERKS&lt;/P&gt;&lt;P&gt;         and MKPF~XBLNR in XBLNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I referred a OSS note 357187 and according to that, i unchecked some fields in the view mentioned in that. But still performance is very slow. it is taking 20 mints to give output.&lt;/P&gt;&lt;P&gt;Please help me! Its very urgent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 06:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736001#M899142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736002#M899143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that the index is not used because more fields are selected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good solution can be found here, but for the transaction MB51, it would mean that you have to change standard SAP:&lt;/P&gt;&lt;P&gt;[http://www.sap-img.com/abap/select-statement-with-inner-join-is-taking-forever.htm|http://www.sap-img.com/abap/select-statement-with-inner-join-is-taking-forever.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MB51 only run fast if you only use the fields in the indexes...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 09:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736002#M899143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736003#M899144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove into corresponding fields addition...and try to give the field names in select statement in order of database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Dara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 09:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736003#M899144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T09:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736004#M899145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the order of fields in where condition ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select (g_t_fields)&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from mkpf inner join mseg&lt;/P&gt;&lt;P&gt;on mkpf&lt;SUB&gt;mandt = mseg&lt;/SUB&gt;mandt&lt;/P&gt;&lt;P&gt;and mkpf&lt;SUB&gt;mblnr = mseg&lt;/SUB&gt;mblnr&lt;/P&gt;&lt;P&gt;and mkpf&lt;SUB&gt;mjahr = mseg&lt;/SUB&gt;mjahr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE MKPF~BUDAT in BUDAT&lt;/P&gt;&lt;P&gt;and MKPF~USNAM in USNAM&lt;/P&gt;&lt;P&gt;and MKPF~VGART in VGART&lt;/P&gt;&lt;P&gt;and MKPF~XBLNR in XBLNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and MSEG~BWART in BWART&lt;/P&gt;&lt;P&gt;and MSEG~CHARG in CHARG&lt;/P&gt;&lt;P&gt;and MSEG~KUNNR in KUNNR&lt;/P&gt;&lt;P&gt;and MSEG~LGORT in LGORT&lt;/P&gt;&lt;P&gt;and MSEG~LIFNR in LIFNR&lt;/P&gt;&lt;P&gt;and MSEG~MATNR in MATNR&lt;/P&gt;&lt;P&gt;and MSEG~SOBKZ in SOBKZ&lt;/P&gt;&lt;P&gt;and MSEG~WERKS in WERKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 09:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736004#M899145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T09:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736005#M899146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  ,&lt;/P&gt;&lt;P&gt;      it is always better not to use the &lt;STRONG&gt;into corresponding&lt;/STRONG&gt;  &lt;STRONG&gt;fiields&lt;/STRONG&gt; and please use the &lt;STRONG&gt;all primary secondary indexes&lt;/STRONG&gt; to improve performance..if you forgot a single key it will effect more in the performance..&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;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 09:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736005#M899146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T09:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736006#M899147</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;Please create histograms for tables MKPF and MSEG tables as mentioned in SAP Notes 902675 and 921164.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dileep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 12:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3736006#M899147</guid>
      <dc:creator>former_member251078</dc:creator>
      <dc:date>2008-04-23T12:19:16Z</dc:date>
    </item>
  </channel>
</rss>

