<?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: Dump in simple select statement using MSEG and MKPF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926818#M384464</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;Rather than using Inner Join statement use FOR ALL ENTRIES statement ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2007 15:18:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-06T15:18:13Z</dc:date>
    <item>
      <title>Dump in simple select statement using MSEG and MKPF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926817#M384463</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;1. i am getting the dump and time out in the following statement....&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;MBLNR A&lt;/SUB&gt;GRTXT B&lt;SUB&gt;WERKS B&lt;/SUB&gt;BUDAT B~BLDAT &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_ITAB FROM &lt;/P&gt;&lt;P&gt;MKPF AS A INNER JOIN MSEG AS B ON A&lt;SUB&gt;MBLNR = B&lt;/SUB&gt;MBLNR &lt;/P&gt;&lt;P&gt;WHERE &lt;/P&gt;&lt;P&gt;A&lt;SUB&gt;WERKS IN SO_WERKS AND and A&lt;/SUB&gt;PRCTR in so_profitcnter AND&lt;/P&gt;&lt;P&gt;( A&lt;SUB&gt;BWART = '542' OT A&lt;/SUB&gt;BWART = '121' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: A~PRCTR (idont remember prctr is correct field name  above but i used correct field name in my program)&lt;/P&gt;&lt;P&gt;i found mseg and mkpf have more han 54lakhs and 17 lakhs of records..&lt;/P&gt;&lt;P&gt;i have only two select options to shrink the data selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Is it advisable to use many LOOP AT IT_ITAB(more than 5) statements to fetch some other data from lfa1, reason text tables....etc., &lt;/P&gt;&lt;P&gt;note: it_itab contains huge data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:16:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926817#M384463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in simple select statement using MSEG and MKPF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926818#M384464</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;Rather than using Inner Join statement use FOR ALL ENTRIES statement ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926818#M384464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in simple select statement using MSEG and MKPF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926819#M384465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saravanan,&lt;/P&gt;&lt;P&gt;  Reomve the into corresponding field of statement and declare the fields in the internal table it_itab as the same order of the fields in the select clause.&lt;/P&gt;&lt;P&gt;and include the GJAHR field for the inner join.&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;MBLNR A&lt;/SUB&gt;GRTXT B&lt;SUB&gt;WERKS B&lt;/SUB&gt;BUDAT B~BLDAT &lt;/P&gt;&lt;P&gt;INTO  TABLE IT_ITAB FROM &lt;/P&gt;&lt;P&gt;MKPF AS A INNER JOIN MSEG AS B ON ( A&lt;SUB&gt;MBLNR = B&lt;/SUB&gt;MBLNR &amp;lt;b&amp;gt;and a&lt;SUB&gt;GJAHR = b&lt;/SUB&gt;gjahr )&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;WHERE &lt;/P&gt;&lt;P&gt;A&lt;SUB&gt;WERKS IN SO_WERKS AND and A&lt;/SUB&gt;PRCTR in so_profitcnter AND&lt;/P&gt;&lt;P&gt;( A&lt;SUB&gt;BWART = '542' OT A&lt;/SUB&gt;BWART = '121' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926819#M384465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in simple select statement using MSEG and MKPF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926820#M384466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the problem is that the select statement isn't using any index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926820#M384466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dump in simple select statement using MSEG and MKPF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926821#M384467</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;Rob is right!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See your WHERE condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE &lt;/P&gt;&lt;P&gt;A&lt;SUB&gt;WERKS IN SO_WERKS AND and A&lt;/SUB&gt;PRCTR in so_profitcnter AND&lt;/P&gt;&lt;P&gt;( A&lt;SUB&gt;BWART = '542' OT A&lt;/SUB&gt;BWART = '121' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All these fields are not used by indexes of MKPF and MSEG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2007 15:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-simple-select-statement-using-mseg-and-mkpf/m-p/1926821#M384467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-06T15:56:15Z</dc:date>
    </item>
  </channel>
</rss>

