<?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: Inner join timeouts &amp; dumps in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183353#M1713415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MODERATOR's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can you please move my post to General ABAP section??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Dec 2012 16:48:26 GMT</pubDate>
    <dc:creator>ricky_shaw</dc:creator>
    <dc:date>2012-12-25T16:48:26Z</dc:date>
    <item>
      <title>Inner join timeouts &amp; dumps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183352#M1713414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0033cc; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;This is a simple select query from STD SAP Function Module&amp;nbsp; /1PWB/20020120307183419. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0033cc; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;This&amp;nbsp; should actually fail as there are no matching entries between the tables DFKKKO &amp;amp; DFKKOP. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0033cc; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;But, c&lt;/SPAN&gt;&lt;SPAN style="color: #0033cc; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt;"&gt;ode stops here, does not go thru and is taking 2 hrs and finally dumps.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="L1S31"&gt;* Select any collective document cleared after the previous invoice &lt;SPAN class="L1S31"&gt;and before or during the current collective invoice.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;&lt;SPAN class="L1S31"&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;select&lt;/SPAN&gt;&amp;nbsp; *&amp;nbsp; &lt;SPAN class="L1S52"&gt;appending&lt;/SPAN&gt; corresponding &lt;SPAN class="L1S52"&gt;fields&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;of&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;table&lt;/SPAN&gt; lt_abwbl_docs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;from&lt;/SPAN&gt;&amp;nbsp; dfkkko &lt;SPAN class="L1S52"&gt;as&lt;/SPAN&gt; h&amp;nbsp; inner &lt;SPAN class="L1S52"&gt;join&lt;/SPAN&gt;&amp;nbsp; dfkkop &lt;SPAN class="L1S52"&gt;as&lt;/SPAN&gt; l&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;on &lt;/SPAN&gt;&amp;nbsp; h~opbel = l~augbl&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;where&lt;/SPAN&gt;&amp;nbsp; augst = &lt;SPAN class="L1S32"&gt;9&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt;&amp;nbsp; abwtp = &lt;SPAN class="L1S33"&gt;' '&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt;&amp;nbsp; ( vkont = x_cdoc_head-vkont &lt;SPAN class="L1S52"&gt;or&lt;/SPAN&gt; abwkt = x_cdoc_head-vkont )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt;&amp;nbsp; ( cpudt &amp;gt; wa_cprev_doch-cpudt&amp;nbsp; &lt;SPAN class="L1S52"&gt;or&lt;/SPAN&gt;&lt;BR /&gt; ( cpudt = wa_cprev_doch-cpudt &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt; cputm &amp;gt; wa_cprev_doch-cputm ) )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt;&amp;nbsp; ( cpudt &amp;lt; gt_ccurr_doch-cpudt&amp;nbsp; &lt;SPAN class="L1S52"&gt;or&lt;/SPAN&gt;&lt;BR /&gt; ( cpudt = gt_ccurr_doch-cpudt &lt;SPAN class="L1S52"&gt;and&lt;/SPAN&gt; cputm &amp;lt;= gt_ccurr_doch-cputm ) ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;Please suggest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S31"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2012 14:32:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183352#M1713414</guid>
      <dc:creator>ricky_shaw</dc:creator>
      <dc:date>2012-12-24T14:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join timeouts &amp; dumps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183353#M1713415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MODERATOR's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can you please move my post to General ABAP section??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Dec 2012 16:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183353#M1713415</guid>
      <dc:creator>ricky_shaw</dc:creator>
      <dc:date>2012-12-25T16:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join timeouts &amp; dumps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183354#M1713416</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;I do not think this as simple query. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the where clause, OR &amp;lt; &amp;lt;= &amp;gt; are used and that too with Inner join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing,&amp;nbsp; /1PWB/20020120307183419 is basically generated from your application form. You need to find this code in your application form and modify the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest to break down the query in small queries, that will reduce the query time.&lt;/P&gt;&lt;P&gt;May be, first query on table DFKKKO based on vkont and then use FOR ALL ENTRIES on table DFKKOP and filter remaining data.&lt;/P&gt;&lt;P&gt;Or vice versa, first query on DFKKOP and then on DFKKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murtuza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 08:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183354#M1713416</guid>
      <dc:creator>murtuza_chhatariya</dc:creator>
      <dc:date>2012-12-27T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join timeouts &amp; dumps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183355#M1713417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a STD query generated in an FM while activating my PWB form.&lt;/P&gt;&lt;P&gt;Any suugestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 14:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183355#M1713417</guid>
      <dc:creator>ricky_shaw</dc:creator>
      <dc:date>2012-12-27T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Inner join timeouts &amp; dumps</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183356#M1713418</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;A sql trace with the execution plan would be helpfull for starters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it is christmas, I can not check to which of the tables the columns in the where clause belong, so it would be helpfull, if you could list this information, esp. for&lt;/P&gt;&lt;P&gt;- augst&lt;/P&gt;&lt;P&gt;- abwtp&lt;/P&gt;&lt;P&gt;- vkont&lt;/P&gt;&lt;P&gt;- abwkt&lt;/P&gt;&lt;P&gt;- cpudt&lt;/P&gt;&lt;P&gt;and which of these are already part of any index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 16:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-timeouts-dumps/m-p/9183356#M1713418</guid>
      <dc:creator>volker_borowski2</dc:creator>
      <dc:date>2012-12-27T16:26:49Z</dc:date>
    </item>
  </channel>
</rss>

