<?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 rows from internal table using where condition for select option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619178#M1663750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey thomas ....ur suggestion worked ..&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2012 14:13:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-13T14:13:50Z</dc:date>
    <item>
      <title>delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619173#M1663745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to delete rows from internal table using where condition for select option .&lt;/P&gt;&lt;P&gt;I tried :&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;delete itab &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;vbeln &amp;lt; p_saldoc-low OR vbeln &amp;gt; p_saldoc-high. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;But it gave&amp;nbsp; an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;then I tried:&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;delete itab &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;vbeln &amp;lt; p_saldoc-low.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;delete &lt;/SPAN&gt;itab &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;vbeln &amp;gt; p_saldoc-high.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Now im getting error:&amp;nbsp;&amp;nbsp;&amp;nbsp; Field specification missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Pls Help with the best approach or possible solution........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619173#M1663745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619174#M1663746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also use the IN-operator, this is standard ABAP syntax, check the help files. There must be some other cause for the errors, please list the full and exact messages and also post the code, not just this small snippet.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619174#M1663746</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-03-13T13:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619175#M1663747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faiz,&lt;/P&gt;&lt;P&gt;Some times, it might not work correctly. But I would prefer the below if the size of the p_saldoc-low/high is small. take a temporary internal table 'itab1'.&lt;/P&gt;&lt;P&gt;loop at p_saldoc-low.&lt;/P&gt;&lt;P&gt;read table itab into wa with key vbeln = p_saldoc-low.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;continue.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;append wa to itab1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;Do the same for p_saldoc-high as well. This will work correctly.&lt;/P&gt;&lt;P&gt;If you are fetching the data from a table into itab, then use the stmt like this&lt;/P&gt;&lt;P&gt;select....from dbtab into itab where vbeln in p_saldoc. I dont know your requirement though..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Guru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619175#M1663747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T13:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619176#M1663748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;delete itab where vbeln in p_saldoc should work. Make sure your table is sorted on vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:01:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619176#M1663748</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-03-13T14:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619177#M1663749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;tried using IN&amp;nbsp; but now im getting the error -&amp;nbsp; p_saldoc is not an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:06:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619177#M1663749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619178#M1663750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey thomas ....ur suggestion worked ..&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619178#M1663750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T14:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619179#M1663751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;we can use IN operator to fix the error like &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;delete itab &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;vbeln &lt;/SPAN&gt;in&amp;nbsp; p_saldoc.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please share your requirement so that we can guide you in that way.&lt;/P&gt;&lt;P&gt;Hope this will helps you.&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619179#M1663751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T14:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619180#M1663752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked just fine ...thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619180#M1663752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T14:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows from internal table using where condition for select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619181#M1663753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please tell how you resolved the error "&lt;SPAN style="color: #333333; font-size: 12px;"&gt; p_saldoc is not an internal table."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 04:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-rows-from-internal-table-using-where-condition-for-select-option/m-p/8619181#M1663753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-01T04:52:58Z</dc:date>
    </item>
  </channel>
</rss>

