<?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 with ranges. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195633#M129581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ranges: r_bstat for bkpf-bstat occurs 0.
 
  r_bstat-sign     = 'E'.
  r_bstat-option   = 'EQ'.
  r_bstat-LOW      = 'S'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'V'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'W'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'Z'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'D'.
  APPEND R_BSTAT.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2006 16:50:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-06T16:50:59Z</dc:date>
    <item>
      <title>Help with ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195629#M129577</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;Is the first time that I work with ranges, some body can explain me this code? I dont know if the append in this code is correct or I need to put it below of it r_bstat-low and I dont know how can I use the LOW or High part in this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ranges: r_bstat for bkpf-bstat occurs 0.

  r_bstat-sign     = 'E'.
  r_bstat-option   = 'EQ'.
  r_bstat-LOW      = 'S'.
  r_bstat-LOW      = 'V'.
  r_bstat-LOW      = 'W'.
  r_bstat-LOW      = 'Z'.
  r_bstat-LOW      = 'D'.

  APPEND R_BSTAT.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2006 16:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195629#M129577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-06T16:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195630#M129578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change your code as mentioned below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_bstat-sign     = 'E'.&lt;/P&gt;&lt;P&gt;  r_bstat-option   = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_bstat-LOW      = 'S'.&lt;/P&gt;&lt;P&gt;  APPEND R_BSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_bstat-sign     = 'E'.&lt;/P&gt;&lt;P&gt;  r_bstat-option   = 'EQ'&lt;/P&gt;&lt;P&gt;  r_bstat-LOW      = 'V'.&lt;/P&gt;&lt;P&gt;  APPEND R_BSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_bstat-sign     = 'E'.&lt;/P&gt;&lt;P&gt;  r_bstat-option   = 'EQ'  &lt;/P&gt;&lt;P&gt;r_bstat-LOW      = 'W'.&lt;/P&gt;&lt;P&gt;  APPEND R_BSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_bstat-sign     = 'E'.&lt;/P&gt;&lt;P&gt;  r_bstat-option   = 'EQ'&lt;/P&gt;&lt;P&gt;  r_bstat-LOW      = 'Z'.&lt;/P&gt;&lt;P&gt;  APPEND R_BSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_bstat-sign     = 'E'.&lt;/P&gt;&lt;P&gt;  r_bstat-option   = 'EQ'&lt;/P&gt;&lt;P&gt;  r_bstat-LOW      = 'D'.&lt;/P&gt;&lt;P&gt;   APPEND R_BSTAT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2006 16:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195630#M129578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-06T16:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195631#M129579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you wish to exclude all of those values, you need to append to the table for each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


ranges: r_bstat for bkpf-bstat. 
 r_bstat-sign     = 'E'. 
 r_bstat-option   = 'EQ'. 
 r_bstat-LOW      = 'S'.  APPEND R_BSTAT.
 r_bstat-LOW      = 'V'.  APPEND R_BSTAT.
 r_bstat-LOW      = 'W'.  APPEND R_BSTAT.
 r_bstat-LOW      = 'Z'.  APPEND R_BSTAT.
 r_bstat-LOW      = 'D'.  APPEND R_BSTAT.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2006 16:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195631#M129579</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-06T16:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195632#M129580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Carlos,&lt;/P&gt;&lt;P&gt;   You have to append each time for LOW to the field.&lt;/P&gt;&lt;P&gt;  r_bstat-sign     = 'E'.&lt;/P&gt;&lt;P&gt;  r_bstat-option   = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_bstat-LOW      = 'S'.&lt;/P&gt;&lt;P&gt;APPEND R_BSTAT.&lt;/P&gt;&lt;P&gt;  r_bstat-sign     = 'E'.&lt;/P&gt;&lt;P&gt;  r_bstat-option   = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_bstat-LOW      = 'V'.&lt;/P&gt;&lt;P&gt;APPEND R_BSTAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc etc....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2006 16:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195632#M129580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-06T16:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195633#M129581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ranges: r_bstat for bkpf-bstat occurs 0.
 
  r_bstat-sign     = 'E'.
  r_bstat-option   = 'EQ'.
  r_bstat-LOW      = 'S'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'V'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'W'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'Z'.
  APPEND R_BSTAT.
  r_bstat-LOW      = 'D'.
  APPEND R_BSTAT.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2006 16:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195633#M129581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-06T16:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195634#M129582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Carlos,&lt;/P&gt;&lt;P&gt;You can use the RANGES statement to create internal tables of the same type as selection&lt;/P&gt;&lt;P&gt;tables...&lt;/P&gt;&lt;P&gt;i.e..&lt;/P&gt;&lt;P&gt;This statement is simply a shortened form of the following statements:&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF &amp;lt;rangetab&amp;gt; OCCURS 0,&lt;/P&gt;&lt;P&gt;SIGN(1),&lt;/P&gt;&lt;P&gt;OPTION(2)&lt;/P&gt;&lt;P&gt;LOW LIKE &amp;lt;f&amp;gt;,&lt;/P&gt;&lt;P&gt;HIGH LIKE &amp;lt;f&amp;gt;,&lt;/P&gt;&lt;P&gt;END OF &amp;lt;rangetab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you got the idea behind ranges..&lt;/P&gt;&lt;P&gt;Internal tables created with RANGES have the same structure as selection tables, but they do&lt;/P&gt;&lt;P&gt;not have the same functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES R_CARRID FOR SPFLI-CARRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_CARRID-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;R_CARRID-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;R_CARRID-LOW = 'LH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND S_CARRID.&lt;/P&gt;&lt;P&gt;IF CARRID IN R_CARRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this answer your question...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2006 16:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195634#M129582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-06T16:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195635#M129583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help people, now I understand better the ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2006 18:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-ranges/m-p/1195635#M129583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-06T18:07:05Z</dc:date>
    </item>
  </channel>
</rss>

