<?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: Select/Join/For all entries statement optimalization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-join-for-all-entries-statement-optimalization/m-p/12535703#M2005746</link>
    <description>&lt;P&gt;I think you have a bypassingbuffer option to force the join&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 14:58:31 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2021-12-01T14:58:31Z</dc:date>
    <item>
      <title>Select/Join/For all entries statement optimalization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-join-for-all-entries-statement-optimalization/m-p/12535701#M2005744</link>
      <description>&lt;P&gt;I am new to a SAP OpenSQL syntax and I have a task to do, which I have no idea how to proceed with.My select statement looks like this:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;SELECT * INTO CORRESPONDING FIELDS OF TABLE t_t042z
  FROM t042z AS t042z INNER JOIN t001 as t001
  ON t042z~land1 = t001~land1
  FOR ALL ENTRIES IN t_main
  WHERE t001~bukrs = t_main-bukrs&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I need to resolve all the warnings from code inspector, and I have two of them here:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;Buffered table T001 in a JOIN.
Buffered table T042Z in a JOIN.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;From what I understand we wouldn't benefit from buffering in case of T042z because WHERE is not on the key, but how can I transform the selection of data from T001 to optimize this and resolve this warning? I don't want to use the pseudo code if there's another way to do that. Info from SAP about this warning:&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1996848-performance-assistant.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 08:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-join-for-all-entries-statement-optimalization/m-p/12535701#M2005744</guid>
      <dc:creator>kroslaniec</dc:creator>
      <dc:date>2021-12-01T08:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select/Join/For all entries statement optimalization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-join-for-all-entries-statement-optimalization/m-p/12535702#M2005745</link>
      <description>&lt;P&gt;As a rule-of-thumb, let's say data in application server is 100 times faster than getting data from database server, because it's just memory access, no network communication.&lt;/P&gt;&lt;P&gt;It just says that if you read all the lines from T001 first (same company), then from T042Z for each country from T001, it will be very very fast.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 14:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-join-for-all-entries-statement-optimalization/m-p/12535702#M2005745</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-12-01T14:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select/Join/For all entries statement optimalization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-join-for-all-entries-statement-optimalization/m-p/12535703#M2005746</link>
      <description>&lt;P&gt;I think you have a bypassingbuffer option to force the join&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 14:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-join-for-all-entries-statement-optimalization/m-p/12535703#M2005746</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-12-01T14:58:31Z</dc:date>
    </item>
  </channel>
</rss>

