<?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: deleting rows from internal table using where condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463667#M1742869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot guys.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 09:57:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-29T09:57:51Z</dc:date>
    <item>
      <title>deleting rows from internal table using where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463661#M1742863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm trying to delete records from an internal table based on a condition,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but I'm getting "field specification missing" error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pls help with the posible solution.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DELETE &lt;/SPAN&gt;it_excel &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;valid_from between&lt;SPAN class="L0S52"&gt; &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valid_from &lt;SPAN class="L0S52"&gt;and &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valid_to &lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OR &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;valid_to&amp;nbsp; &lt;SPAN class="L0S52"&gt;BETWEEN &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valid_from &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;wa_tab_valid_to &lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463661#M1742863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-28T07:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: deleting rows from internal table using where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463662#M1742864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;DELETE &lt;/SPAN&gt;it_excel &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;valid_from between&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;valid_from &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;and &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;valid_to &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;OR &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;valid_to&amp;nbsp; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;BETWEEN &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;valid_from &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;AND &lt;/SPAN&gt;wa_tab&lt;SPAN style="color: #ff0000; font-size: 18pt;"&gt;_&lt;/SPAN&gt;valid_to &lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;should be&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;DELETE &lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;it_excel &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;valid_from between&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;wa_tab&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;valid_from &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;wa_tab&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;valid_to &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;OR &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;valid_to&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;BETWEEN &lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;wa_tab&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-style: inherit; font-family: inherit;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;valid_from &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;AND &lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;wa_tab&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 18pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;valid_to &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit; font-size: 10pt;"&gt;Do try to read carefully...&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.222222328186035px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S55" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463662#M1742864</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2013-05-28T07:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: deleting rows from internal table using where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463663#M1742865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DELETE &lt;/SPAN&gt;it_excel &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;valid_from between&lt;SPAN class="L0S52"&gt; &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valid_from &lt;SPAN class="L0S52"&gt;and &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valid_to &lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OR &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;valid_to&amp;nbsp; &lt;SPAN class="L0S52"&gt;BETWEEN &lt;/SPAN&gt;wa_tab&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;valid_from &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;wa_tab-valid_to &lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Please check....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463663#M1742865</guid>
      <dc:creator>sandeep_ramesh88</dc:creator>
      <dc:date>2013-05-28T07:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: deleting rows from internal table using where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463664#M1742866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to delete overlapping intervals, the check &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;can be simplified, &lt;/SPAN&gt;&lt;/SPAN&gt;if valid_from is always LE valid_to of course. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;DELETE it_excel WHERE valid_to GE wa_tab-valid_from AND valid_from LE wa_tab-valid_to.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But is this your exact requirement, are you supposed to delete overlapping intervals or to merge them, what are supposed to do for&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;[2,3] and [1,4] &lt;/LI&gt;&lt;LI&gt;[1,3] and [2,4]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463664#M1742866</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-05-28T07:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: deleting rows from internal table using where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463665#M1742867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if 10 to 15 is there,&lt;/P&gt;&lt;P&gt;neither 1 to 14, nor 13 to 20 should come..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 08:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463665#M1742867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-28T08:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: deleting rows from internal table using where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463666#M1742868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case my sample should do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 11:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463666#M1742868</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-05-28T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: deleting rows from internal table using where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463667#M1742869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot guys.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 09:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-rows-from-internal-table-using-where-condition/m-p/9463667#M1742869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-29T09:57:51Z</dc:date>
    </item>
  </channel>
</rss>

