<?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: ​How to replace SELECT ... For all entries statement in the below code in ECC. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278581#M1988528</link>
    <description>&lt;P&gt;I hope you have checked that the internal table used in the FOR ALL ENTRIES clause is not empty.&lt;/P&gt;&lt;P&gt;Do you have the possibility to either&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Replace the FOR ALL ENTRIES with a JOIN or a SUBQUERY with the query that previously extracted the list of delivery numbers (Enhance the DataSource extractor?)&lt;/LI&gt;&lt;LI&gt;Split the list of items into smaller packages and either execute them in sequence (better use of memory) or in parallel (Select data in a RFC FM called DESTINATION 'NONE').&lt;/LI&gt;&lt;LI&gt;Check with basis for performance of FOR ALL ENTRIES (use of hints in emergency situations) such as system parameters : rsdb/max_blocking_factor, rsdb/max_in_blocking_factor, rsdb/prefer_join, rsdb/prefer_union_all.&lt;/LI&gt;&lt;LI&gt;If this is a transformation rule, define the required fields as attributes of some delivery item InfoObject and don't map those at loading.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 19 Oct 2020 04:29:09 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2020-10-19T04:29:09Z</dc:date>
    <item>
      <title>​How to replace SELECT ... For all entries statement in the below code in ECC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278578#M1988525</link>
      <description>&lt;P&gt;SELECT deliv_numb deliv_item doc_number s_ord_item /bic/zsdkonnr /bic/zsdkonit&lt;BR /&gt; act_gi_dte material sales_unit base_uom doc_currcy&lt;BR /&gt; dlv_qty /bic/zdlvqty /bic/zdlvval item_del&lt;BR /&gt;* &amp;amp;0001 &amp;gt; F5645557 CHG0015956&lt;BR /&gt; ship_date&lt;BR /&gt;* &amp;amp;0001 &amp;gt; F5645557 CHG0015956&lt;BR /&gt; FROM (l_tabname)&lt;BR /&gt; INTO CORRESPONDING FIELDS OF TABLE l_t_deliveries&lt;BR /&gt; FOR ALL ENTRIES IN l_t_deliveries_keys&lt;BR /&gt; WHERE doc_number = l_t_deliveries_keys-doc_number&lt;BR /&gt; AND s_ord_item = l_t_deliveries_keys-s_ord_item.&lt;BR /&gt;&lt;BR /&gt; INSERT LINES OF l_t_deliveries INTO TABLE g_st_deliveries_vbeln.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 16:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278578#M1988525</guid>
      <dc:creator>anuja_s</dc:creator>
      <dc:date>2020-10-18T16:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: ​How to replace SELECT ... For all entries statement in the below code in ECC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278579#M1988526</link>
      <description>&lt;P&gt;Hi for quick response on question related to code. please use Code button in the editor...&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 17:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278579#M1988526</guid>
      <dc:creator>Abinathsiva</dc:creator>
      <dc:date>2020-10-18T17:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: ​How to replace SELECT ... For all entries statement in the below code in ECC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278580#M1988527</link>
      <description>&lt;UL&gt;
&lt;/UL&gt;&lt;P&gt;You leave us guessing on what the problem is and how to fix it.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Why replace it and replace it with what?&lt;/LI&gt;&lt;LI&gt;There are several possibilities to 'replace' it, those can be based on an SQL alone but also a solution in SQL as well as ABAP (e.g. select more and reduce in ABAP)&lt;/LI&gt;&lt;LI&gt;Also it depends on your current ABAP version (e.g. select from l_t_deliveries and join with l_tabname)&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 19 Oct 2020 04:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278580#M1988527</guid>
      <dc:creator>michael_piesche</dc:creator>
      <dc:date>2020-10-19T04:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: ​How to replace SELECT ... For all entries statement in the below code in ECC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278581#M1988528</link>
      <description>&lt;P&gt;I hope you have checked that the internal table used in the FOR ALL ENTRIES clause is not empty.&lt;/P&gt;&lt;P&gt;Do you have the possibility to either&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Replace the FOR ALL ENTRIES with a JOIN or a SUBQUERY with the query that previously extracted the list of delivery numbers (Enhance the DataSource extractor?)&lt;/LI&gt;&lt;LI&gt;Split the list of items into smaller packages and either execute them in sequence (better use of memory) or in parallel (Select data in a RFC FM called DESTINATION 'NONE').&lt;/LI&gt;&lt;LI&gt;Check with basis for performance of FOR ALL ENTRIES (use of hints in emergency situations) such as system parameters : rsdb/max_blocking_factor, rsdb/max_in_blocking_factor, rsdb/prefer_join, rsdb/prefer_union_all.&lt;/LI&gt;&lt;LI&gt;If this is a transformation rule, define the required fields as attributes of some delivery item InfoObject and don't map those at loading.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 19 Oct 2020 04:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278581#M1988528</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2020-10-19T04:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: ​How to replace SELECT ... For all entries statement in the below code in ECC.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278582#M1988529</link>
      <description>&lt;P&gt;How did you populatethe table l_t_deliveries_key ?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 05:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-replace-select-for-all-entries-statement-in-the-below-code-in-ecc/m-p/12278582#M1988529</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-10-19T05:29:15Z</dc:date>
    </item>
  </channel>
</rss>

