<?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: help in range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151532#M749472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RANGES : pernr LIKE PERNR-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pernr-sign = 'I'.&lt;/P&gt;&lt;P&gt;pernr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;pernr-low = itab-pernr.&lt;/P&gt;&lt;P&gt;APPEND pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2007 15:45:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-20T15:45:27Z</dc:date>
    <item>
      <title>help in range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151528#M749468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hallow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have table with emp nun(pernr) how i can invert this table &lt;/P&gt;&lt;P&gt;to range table becouse i wont to use delete for other table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like delete itab where pernr is not in pernr_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 15:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151528#M749468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T15:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: help in range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151529#M749469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Two options :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;field-symbols : &amp;lt;ls_pernr_tab&amp;gt; like line of pernr_tab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at pernr_tab assigning &amp;lt;ls_pernr_tab&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab where pernr ne &amp;lt;ls_pernr_tab&amp;gt;-pernr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;data : lr_pernr type range of pernr_d .&lt;/P&gt;&lt;P&gt;data : ls_pernr like line of lr_pernr .&lt;/P&gt;&lt;P&gt;field-symbols : &amp;lt;ls_pernr_tab&amp;gt; like line of pernr_tab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_pernr-sign = 'I' .&lt;/P&gt;&lt;P&gt;ls_pernr-option = 'EQ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at pernr_tab assigning &amp;lt;ls_pernr_tab&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_pernr-low = &amp;lt;ls_pernr_tab&amp;gt;-pernr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab where pernr not in lr_pernr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the ways will do the job but the runtime will the depend on the table's sizes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards .&lt;/P&gt;&lt;P&gt;Avi Sarmani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 15:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151529#M749469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T15:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: help in range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151530#M749470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a range in your program and append this value to the range &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES: r_werks FOR marcv-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  r_werks-sign = 'I'.&lt;/P&gt;&lt;P&gt;  r_werks-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_werks-low = wa_inventory-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 15:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151530#M749470</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2007-12-20T15:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: help in range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151531#M749471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'E' TO ra_matkl-sign.&lt;/P&gt;&lt;P&gt;MOVE 'EQ' TO ra_matkl-option.&lt;/P&gt;&lt;P&gt;MOVE itab-pernr TO ra_matkl-low.&lt;/P&gt;&lt;P&gt;APPEND ra_matkl.&lt;/P&gt;&lt;P&gt;MOVE itab-pernr TO ra_matkl-low.&lt;/P&gt;&lt;P&gt;APPEND ra_matkl.&lt;/P&gt;&lt;P&gt;MOVE itab-pernr TO ra_matkl-low.&lt;/P&gt;&lt;P&gt;APPEND ra_matkl.&lt;/P&gt;&lt;P&gt;clear wa_matkl..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u cna use this range to delete from other table as u said..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not prepered ranges are again like a selection screen table.. so ppl say its not prefered.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope Rob might have weblog for this as well.. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 15:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151531#M749471</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-20T15:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: help in range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151532#M749472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RANGES : pernr LIKE PERNR-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pernr-sign = 'I'.&lt;/P&gt;&lt;P&gt;pernr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;pernr-low = itab-pernr.&lt;/P&gt;&lt;P&gt;APPEND pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 15:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151532#M749472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T15:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: help in range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151533#M749473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a quick one for all ...&lt;/P&gt;&lt;P&gt;For all I now , RANGES statement is obsolete and you should use &lt;/P&gt;&lt;P&gt;DATA : lr_pernr type range of pernr_d .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES defines a header line which is obsolete ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 15:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151533#M749473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T15:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: help in range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151534#M749474</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;Ranges: r_pernr for tablename-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use this r_pernr like your select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2007 16:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-range/m-p/3151534#M749474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-20T16:18:17Z</dc:date>
    </item>
  </channel>
</rss>

