<?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 table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260765#M147496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;


data: zip(5) type n.
data: year(4) type c.


ranges: r_zip for zip.
ranges: r_year for year.


clear r_zip.
r_zip-sign   = 'I'.
r_zip-option = 'EQ'.
r_zip-low    = '30152'.
append r_zip.

clear r_zip.
r_zip-sign   = 'I'.
r_zip-option = 'BT'.
r_zip-low    = '30111'.
r_zip-high   = '30113'.
append r_zip.

clear r_year.
r_year-sign   = 'E'.
r_year-option = 'LT'.
r_year-low    = '2005'.
append r_year.



if p_zip in r_sip
  and p_year in r_year.
  
  
  
endif.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&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>Thu, 09 Mar 2006 20:48:25 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-03-09T20:48:25Z</dc:date>
    <item>
      <title>Range table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260763#M147494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use a range table. &lt;/P&gt;&lt;P&gt;Anyone can tell me how to define a range table like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldname&lt;DEL&gt;-sign&lt;/DEL&gt;-option&lt;DEL&gt;-low&lt;/DEL&gt;-high&lt;/P&gt;&lt;P&gt;zip&lt;DEL&gt;-I&lt;/DEL&gt;-eq---30152&lt;/P&gt;&lt;P&gt;zip&lt;DEL&gt;-I&lt;/DEL&gt;-bt&lt;DEL&gt;-30111&lt;/DEL&gt;-30113&lt;/P&gt;&lt;P&gt;year&lt;DEL&gt;e&lt;/DEL&gt;-lt---2005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc etc....&lt;/P&gt;&lt;P&gt;Zip and Year are different data type of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw this example here &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1297025"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 20:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260763#M147494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T20:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Range table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260764#M147495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the ZIP like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001 .

data: zip(5) type n.


ranges: r_zip for zip.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&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>Thu, 09 Mar 2006 20:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260764#M147495</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-09T20:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Range table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260765#M147496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;


data: zip(5) type n.
data: year(4) type c.


ranges: r_zip for zip.
ranges: r_year for year.


clear r_zip.
r_zip-sign   = 'I'.
r_zip-option = 'EQ'.
r_zip-low    = '30152'.
append r_zip.

clear r_zip.
r_zip-sign   = 'I'.
r_zip-option = 'BT'.
r_zip-low    = '30111'.
r_zip-high   = '30113'.
append r_zip.

clear r_year.
r_year-sign   = 'E'.
r_year-option = 'LT'.
r_year-low    = '2005'.
append r_year.



if p_zip in r_sip
  and p_year in r_year.
  
  
  
endif.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&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>Thu, 09 Mar 2006 20:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260765#M147496</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-03-09T20:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Range table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260766#M147497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that in that example, they were trying to build a dynamic where clause out of multiple ranges. I don't think you can have multiple fields in a single range table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 20:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260766#M147497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T20:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Range table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260767#M147498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda,&lt;/P&gt;&lt;P&gt;  Just use statement.&lt;/P&gt;&lt;P&gt; RANGES: R_ZIP FOR ADRC-POST_CODE1,&lt;/P&gt;&lt;P&gt;         R_YEAR FOR YEAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; R_ZIP-SIGN = 'I'.&lt;/P&gt;&lt;P&gt; R_ZIP-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt; R_ZIP-LOW = '30152'.&lt;/P&gt;&lt;P&gt; APPEND  R_ZIP.&lt;/P&gt;&lt;P&gt; R_ZIP-SIGN = 'I'.&lt;/P&gt;&lt;P&gt; R_ZIP-OPTION = 'BT'.&lt;/P&gt;&lt;P&gt; R_ZIP-LOW = '30111'.&lt;/P&gt;&lt;P&gt; R_ZIP-HIGH = '30113'.&lt;/P&gt;&lt;P&gt; APPEND  R_ZIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; R_YEAR-SIGN = 'E'.&lt;/P&gt;&lt;P&gt; R_YEAR-OPTION = 'LT'.&lt;/P&gt;&lt;P&gt; R_YEAR-LOW = '2005'.&lt;/P&gt;&lt;P&gt; APPEND  R_YEAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 20:57:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260767#M147498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T20:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Range table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260768#M147499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all guys.&lt;/P&gt;&lt;P&gt;Doubt cleared.&lt;/P&gt;&lt;P&gt;It is impossible to put two different fields in one range table. &lt;/P&gt;&lt;P&gt;Points awarded!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 21:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-table/m-p/1260768#M147499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T21:10:32Z</dc:date>
    </item>
  </channel>
</rss>

