<?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: Delete entries from one internal table comparing another without loop. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339421#M1992072</link>
    <description>&lt;P&gt;I will definitely try that. &lt;/P&gt;&lt;P&gt;Thanks for your time in helping. &lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2021 11:04:52 GMT</pubDate>
    <dc:creator>former_member651928</dc:creator>
    <dc:date>2021-01-18T11:04:52Z</dc:date>
    <item>
      <title>Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339412#M1992063</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;Is there any way, we can remove entries of one table comparing the entries from another?&lt;/P&gt;
  &lt;P&gt;For Example.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Table 1 (Ref)&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;DATA 1&lt;/P&gt;
  &lt;P&gt;DATA 2&lt;/P&gt;
  &lt;P&gt;DATA 3&lt;/P&gt;
  &lt;P&gt;DATA 4&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Table 2 (Main)&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;DATA 2 &lt;/P&gt;
  &lt;P&gt;DATA 3&lt;/P&gt;
  &lt;P&gt;My requirement is to remove the entry &lt;STRONG&gt;DATA 2 &lt;/STRONG&gt;and &lt;STRONG&gt;DATA 3&lt;/STRONG&gt; from &lt;STRONG&gt;Table 1&lt;/STRONG&gt;, &lt;U&gt;with out using loop &lt;/U&gt;.&lt;/P&gt;
  &lt;P&gt;Is there any 7.4 based queries?&lt;/P&gt;
  &lt;P&gt;Thanks in Advance. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339412#M1992063</guid>
      <dc:creator>former_member651928</dc:creator>
      <dc:date>2021-01-18T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339413#M1992064</link>
      <description>&lt;P&gt;You mean using &lt;A href="https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abenconstructor_expr_filter_table.htm" target="_blank"&gt;FILTER&lt;/A&gt; ?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339413#M1992064</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2021-01-18T10:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339414#M1992065</link>
      <description>&lt;P&gt;You can use a &lt;A href="https://help.sap.com/doc/abapdocu_740_index_htm/7.40/en-us/abenconstructor_expression_filter.htm" target="_blank"&gt;FILTER&lt;/A&gt; expression using a filter table.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339414#M1992065</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2021-01-18T10:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339415#M1992066</link>
      <description>&lt;P&gt;Yes Andrea, can we achieve using Filter? &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:47:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339415#M1992066</guid>
      <dc:creator>former_member651928</dc:creator>
      <dc:date>2021-01-18T10:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339416#M1992067</link>
      <description>&lt;P&gt;Thanks Florian, let me try.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339416#M1992067</guid>
      <dc:creator>former_member651928</dc:creator>
      <dc:date>2021-01-18T10:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339417#M1992068</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;
table1 TYPE SORTED TABLE OF XXX WITH UNIQUE KEY key1 key2 ....
SORT table1 BY key1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT table2 assigning field-symbol(&amp;lt;ls_table2&amp;gt;).
DELETE table1 WHERE key1 = &amp;lt;ls_table2&amp;gt;-key (key2 = &amp;lt;ls_table2&amp;gt;-key2) ....
ENDLOOP. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;why don't you go for that? Would it not be the quickest way and most performant one?&lt;/P&gt;&lt;P&gt;Correct me if I am wrong &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;did anyone tracked the performance of filter?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339417#M1992068</guid>
      <dc:creator>former_member653925</dc:creator>
      <dc:date>2021-01-18T10:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339418#M1992069</link>
      <description>&lt;P&gt;Sure, &lt;A href="https://answers.sap.com/answers/13203500/view.html" target="_blank"&gt;here is an example&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339418#M1992069</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2021-01-18T10:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339419#M1992070</link>
      <description>&lt;P&gt;Thanks Igor, Agreed. &lt;/P&gt;&lt;P&gt;I was concerned about the performance, as we were querying on millions of data. &lt;/P&gt;&lt;P&gt;And am currently inside a child program -&amp;gt; loop -&amp;gt; perform - (here) - wanted to remove the loop here. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339419#M1992070</guid>
      <dc:creator>former_member651928</dc:creator>
      <dc:date>2021-01-18T10:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339420#M1992071</link>
      <description>&lt;P&gt;is it not possible to reduce outside the first loop?&lt;/P&gt;&lt;P&gt;For me, ofter it is tough to find the real root for the problem. Sometimes it can be already solved before it comes to the complicated, logical part &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 11:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339420#M1992071</guid>
      <dc:creator>former_member653925</dc:creator>
      <dc:date>2021-01-18T11:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339421#M1992072</link>
      <description>&lt;P&gt;I will definitely try that. &lt;/P&gt;&lt;P&gt;Thanks for your time in helping. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 11:04:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339421#M1992072</guid>
      <dc:creator>former_member651928</dc:creator>
      <dc:date>2021-01-18T11:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Delete entries from one internal table comparing another without loop.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339422#M1992073</link>
      <description>&lt;P&gt;Thanks Andrea.&lt;/P&gt;&lt;P&gt;I think that will do the job.&lt;/P&gt;&lt;P&gt;Really appreciate your time.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 11:12:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-entries-from-one-internal-table-comparing-another-without-loop/m-p/12339422#M1992073</guid>
      <dc:creator>former_member651928</dc:creator>
      <dc:date>2021-01-18T11:12:01Z</dc:date>
    </item>
  </channel>
</rss>

