<?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: ranges in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698684#M306374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Hi&lt;/P&gt;&lt;P&gt;code like this&lt;/P&gt;&lt;P&gt;Ranges: r_field for &amp;lt;table&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;At selection-screen on r_field .&lt;/P&gt;&lt;P&gt;if r_field-low is initial.&lt;/P&gt;&lt;P&gt;message with 'lower limits is greater than higher limit'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not field1 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'E'.&lt;/P&gt;&lt;P&gt;if field1 CA '*+'.&lt;/P&gt;&lt;P&gt;r_field-option  = 'CP'."for pattern search by wild card symbols&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;r_field-option-low = field1.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if not field2 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'E'.&lt;/P&gt;&lt;P&gt;if field2 CA '*+'.&lt;/P&gt;&lt;P&gt;r_field-option  = 'CP'."for pattern search by wild card symbols&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;r_field-option-low = field2.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if field1 is initial and field2 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt; where field1 in r_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2006 09:34:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-10T09:34:25Z</dc:date>
    <item>
      <title>ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698680#M306370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  How can we use ranges in place of select-options.&lt;/P&gt;&lt;P&gt;if I enter a range in  which one value doesn't exist.then it must show a error message 'lower limits is greater than higher limit'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do the needful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 05:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698680#M306370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T05:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698681#M306371</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;1. check here definitiona and use of ranges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: range_tab type range of &amp;lt;data type of atinn&amp;gt;,&lt;/P&gt;&lt;P&gt;wa_range like line of range_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab.&lt;/P&gt;&lt;P&gt;wa_range-low = wa_itab-atinn.&lt;/P&gt;&lt;P&gt;wa_range-high = wa_itab-atinn.&lt;/P&gt;&lt;P&gt;wa_range-SIGN = 'I'.   &amp;lt;b&amp;gt;(can be 'E')&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;wa_range-OPTION = 'EQ'. &amp;lt;b&amp;gt;(Can be 'BT')&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;append wa_range to range_tab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Palak Limbachiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 05:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698681#M306371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T05:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698682#M306372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If you ask me, i would say RANGES is nothing by SELECT-OPTIONS with NO-DISPLAY option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges: r_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; '='&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_matnr for mara-matnr no-display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a parameter which is not visible on selection-screen, we have to do implicit validations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 05:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698682#M306372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T05:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698683#M306373</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;Define a range:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Ranges: r_field for &amp;lt;table&amp;gt;.

if not field1 is initial.
r_field-sign = 'E'.
r_field-option = 'EQ'.
r_field-option-low = field1.
append r_field.
endif.

if not field2 is initial.
r_field-sign = 'E'.
r_field-option = 'EQ'.
r_field-option-low = field2.
append r_field.
endif.

if field1 is initial and field2 is initial.
r_field-sign = 'I'.
r_field-option = 'EQ'.
append r_field.
endif.

select * from &amp;lt;table&amp;gt; where field1 in r_field.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlped pls mark points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 06:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698683#M306373</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-10T06:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698684#M306374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Hi&lt;/P&gt;&lt;P&gt;code like this&lt;/P&gt;&lt;P&gt;Ranges: r_field for &amp;lt;table&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;At selection-screen on r_field .&lt;/P&gt;&lt;P&gt;if r_field-low is initial.&lt;/P&gt;&lt;P&gt;message with 'lower limits is greater than higher limit'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not field1 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'E'.&lt;/P&gt;&lt;P&gt;if field1 CA '*+'.&lt;/P&gt;&lt;P&gt;r_field-option  = 'CP'."for pattern search by wild card symbols&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;r_field-option-low = field1.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if not field2 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'E'.&lt;/P&gt;&lt;P&gt;if field2 CA '*+'.&lt;/P&gt;&lt;P&gt;r_field-option  = 'CP'."for pattern search by wild card symbols&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;r_field-option-low = field2.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if field1 is initial and field2 is initial.&lt;/P&gt;&lt;P&gt;r_field-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_field-option = 'EQ'.&lt;/P&gt;&lt;P&gt;append r_field.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt; where field1 in r_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas Ranjan Panda&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 09:34:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/1698684#M306374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T09:34:25Z</dc:date>
    </item>
  </channel>
</rss>

