<?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: select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983309#M951530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Latha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime you create a Select-Option (eg SO_SAKNR) an internal table is created with coloumns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sign &lt;/P&gt;&lt;P&gt;option&lt;/P&gt;&lt;P&gt;low&lt;/P&gt;&lt;P&gt;high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where sign represents I/E which means Including or Excluding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option may be EQ/LT/GT/NE/BT...... which represents EQual to/ LessThan/ Greater Than/ NotEqual/BeTween.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;low is for low range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;high for higher limit/range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your report in event &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;*looping is required in case you have not used NO EXTENSION *option in ur selectop&lt;/P&gt;&lt;P&gt;loop at so_saknr.   &lt;/P&gt;&lt;P&gt;if  SO_SAKNR-LOW LT 5000 or SO_SAKNR-HIGH GT 100000.&lt;/P&gt;&lt;P&gt;*This will check whether user is entering a single field or range&lt;/P&gt;&lt;P&gt;if so_saknr-option eq 'BT'    &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;message appropriate error message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&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;&lt;/P&gt;&lt;P&gt;this was for your guidance the exact code can be build based on your actual scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2008 13:27:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-18T13:27:52Z</dc:date>
    <item>
      <title>select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983301#M951522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my report i have a select option of GL ACCOUNT.&lt;/P&gt;&lt;P&gt;I need to restrict the GL Account range from 5000 to 100000.&lt;/P&gt;&lt;P&gt;if account is outside the range then i need to get a error message like enter with in the range 5000 to 10000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me how to write code for restrict the account from 5000 to 10000 and code for to get message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983301#M951522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983302#M951523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;put the conditon like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  s_glac-low &amp;gt; '5000' AND&lt;/P&gt;&lt;P&gt;    s_glac-high &amp;lt; 100000.&lt;/P&gt;&lt;P&gt;message 'error'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;your code***********.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandeep Reddy on Jun 18, 2008 3:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983302#M951523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983303#M951524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add this in the initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_field-low = '5000'.&lt;/P&gt;&lt;P&gt;s_feild-sign = 'E'.&lt;/P&gt;&lt;P&gt;s_field-option = 'BT'.&lt;/P&gt;&lt;P&gt;s_field-high = '10000'.&lt;/P&gt;&lt;P&gt;append s_field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983303#M951524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983304#M951525</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;Check in the code whether your select option values are inside the range . IF not show the error message .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you can write : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at s_gl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_gl-low LT 5000 OR GT 10000&lt;/P&gt;&lt;P&gt;Show message .&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;Continue.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983304#M951525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983305#M951526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection screen event check if so_glaccount-low is less than 5000 and so_glaccount-high is greater than 10000 , if yes raise the required error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If gl_account-low le 5000 and gl_account-high &amp;gt;10000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 'enter with in the range 5000 to 10000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin M M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983305#M951526</guid>
      <dc:creator>sachin_mathapati</dc:creator>
      <dc:date>2008-06-18T13:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983306#M951527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;u can do this funtionality in AT SELCTION-SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the value of selectoption HIGH AND LOW in this event and display an message &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ REWARD POINTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Snehi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983306#M951527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983307#M951528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if s_glact-low &amp;lt; '5000' or&lt;/P&gt;&lt;P&gt;   s_glact-high &amp;gt; '100000' or&lt;/P&gt;&lt;P&gt;  message e000 with 'error'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983307#M951528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983308#M951529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;there are several cases while validating this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the below logic works in all the cases&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at s_account.&lt;/P&gt;&lt;P&gt;  IF s_account-low &amp;lt; '5000' or s_account-low &amp;gt; '100000'&lt;/P&gt;&lt;P&gt;      or s-account-high &amp;gt; '100000'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    message error.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983308#M951529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983309#M951530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Latha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime you create a Select-Option (eg SO_SAKNR) an internal table is created with coloumns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sign &lt;/P&gt;&lt;P&gt;option&lt;/P&gt;&lt;P&gt;low&lt;/P&gt;&lt;P&gt;high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where sign represents I/E which means Including or Excluding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option may be EQ/LT/GT/NE/BT...... which represents EQual to/ LessThan/ Greater Than/ NotEqual/BeTween.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;low is for low range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;high for higher limit/range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your report in event &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;*looping is required in case you have not used NO EXTENSION *option in ur selectop&lt;/P&gt;&lt;P&gt;loop at so_saknr.   &lt;/P&gt;&lt;P&gt;if  SO_SAKNR-LOW LT 5000 or SO_SAKNR-HIGH GT 100000.&lt;/P&gt;&lt;P&gt;*This will check whether user is entering a single field or range&lt;/P&gt;&lt;P&gt;if so_saknr-option eq 'BT'    &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;message appropriate error message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&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;&lt;/P&gt;&lt;P&gt;this was for your guidance the exact code can be build based on your actual scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983309#M951530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983310#M951531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write the logic of this sudo logic in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;select all gl account from gl master where glaccount in s_gl_accont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop through g/l table.&lt;/P&gt;&lt;P&gt;if  g/l account &amp;lt; 5000&lt;/P&gt;&lt;P&gt;or g/l account &amp;gt; 10000.&lt;/P&gt;&lt;P&gt;message e208(00) with 'enter in 5000-100000 range only'.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983310#M951531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983311#M951532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt; if s_glaccount-low lt 5000 and s_glaccount-high gt 10000.&lt;/P&gt;&lt;P&gt;  message text-001 type 'e'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps u.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manjari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3983311#M951532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T13:51:22Z</dc:date>
    </item>
  </channel>
</rss>

