<?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: RANGE is deleting table from table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082313#M1180259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you sure about it? I just tested it in 4.6C system and it deleted all lines from table. It also makes sense. When you have condition with range such as "field IN range" then any value fulfill this condition in case of initial range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2009 04:32:50 GMT</pubDate>
    <dc:creator>mvoros</dc:creator>
    <dc:date>2009-02-05T04:32:50Z</dc:date>
    <item>
      <title>RANGE is deleting table from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082311#M1180257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I used a ranges object in a 4.7system. If the range was empty, nothing would be deleted from my table. In a ECC6.0 system, if the range is empty, everything is deleted from the table. Could this be a bug that was fixed in ECC6.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Feb 4, 2009 6:19 PM&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Post split from hijacked ancient thread&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 16:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082311#M1180257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T16:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: RANGE is deleting table from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082312#M1180258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are right.(  I am in netweaver 7 PI version )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report  zars no standard page heading
        line-size 170
        line-count 65(4).
ranges : r_matnr for mara-matnr.
data : begin of i_mara occurs 0.
data : matnr like mara-matnr.
data : end of i_mara.

move '001' to i_mara-matnr.
append i_mara.
move '002' to i_mara-matnr.
append i_mara.

delete i_mara where matnr in r_matnr.

break-point.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its deleting entire i_mara internal table if r_matnr is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this will be a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to check if range is not initial , like below mentioned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if not r_matnr[] is initial.
delete i_mara where matnr in r_matnr.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 17:29:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082312#M1180258</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-02-04T17:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: RANGE is deleting table from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082313#M1180259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you sure about it? I just tested it in 4.6C system and it deleted all lines from table. It also makes sense. When you have condition with range such as "field IN range" then any value fulfill this condition in case of initial range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 04:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082313#M1180259</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2009-02-05T04:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: RANGE is deleting table from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082314#M1180260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;with ranges and select-options ,if they are empty ,it would delete all contents.This is main difference between parameters and select-options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 04:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082314#M1180260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T04:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: RANGE is deleting table from table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082315#M1180261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;with ranges and select-options ,it would delete all contents(in your case) or select all contents which is main difference between parameters and select-options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 04:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-is-deleting-table-from-table/m-p/5082315#M1180261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T04:36:34Z</dc:date>
    </item>
  </channel>
</rss>

