<?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 Option Validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505779#M233781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do validations at many points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You can provide a f4 help and display only values of your choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can use ranges statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. At start-of-selection, you can make the necessary validations by checking the user entry against your choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the above options would help your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for any further clarificaitons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2006 09:02:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-04T09:02:25Z</dc:date>
    <item>
      <title>Select Option Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505775#M233777</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;I have one Select-Option validation to do!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have decalred on select-option as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;S_AUART FOR VBAK-AUART.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for the above i have to do validation as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to allow only display of &amp;lt;b&amp;gt;ZB1, ZB2, ZB3&amp;lt;/b&amp;gt; &amp;lt;b&amp;gt;AUART&amp;lt;/b&amp;gt; values. Else i have to give error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 08:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505775#M233777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T08:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505776#M233778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt; if S_AUART[] is initial.&lt;/P&gt;&lt;P&gt;   message e000(msgclass) with 'Order type is empty'.&lt;/P&gt;&lt;P&gt;   exit.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;   loop at s_auart.&lt;/P&gt;&lt;P&gt;     if s_auart-low &amp;lt;&amp;gt; 'ZB1' and&lt;/P&gt;&lt;P&gt;        s_auart-low &amp;lt;&amp;gt; ZB2   and&lt;/P&gt;&lt;P&gt;        s_auart-low &amp;lt;&amp;gt; ZB3.&lt;/P&gt;&lt;P&gt;     message e000(msgclass) with 'Invalid Order type entered'.&lt;/P&gt;&lt;P&gt;     exit.&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;but you should use NO EXTENSIONS &amp;amp; NO INTERVALS addition in the select option definition. why because,&lt;/P&gt;&lt;P&gt;if you allow user to enter in both the LOW &amp;amp; HIGH fields of that select-option, we cant validate the values as per your requirements. for example, if user enters ZB1 in low field  and ZX1 in HIGH field, its allowed values .but to vallidte it would be a problem.&lt;/P&gt;&lt;P&gt;so  if you restrict the user to enter multiple single values like ZB1,ZB2,ZB3,ZX1 etc.. we can validate it with  the above given logic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this &amp;amp; revert, if you need any further help.&lt;/P&gt;&lt;P&gt;&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;added some comments&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 08:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505776#M233778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T08:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505777#M233779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill one range &lt;/P&gt;&lt;P&gt;ranges: r_auart for VBAK-AUART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and add your values with&lt;/P&gt;&lt;P&gt;IBT ZB1&lt;/P&gt;&lt;P&gt;IBT ZB2&lt;/P&gt;&lt;P&gt;IBT ZB3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in your &lt;/P&gt;&lt;P&gt;at selection-screen on s_auart.&lt;/P&gt;&lt;P&gt;loop at s_auart.&lt;/P&gt;&lt;P&gt;if not s_auart-low in r_auart.&lt;/P&gt;&lt;P&gt;*message&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if not s_auart-high in r_auart.&lt;/P&gt;&lt;P&gt;*message&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;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 08:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505777#M233779</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-08-04T08:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505778#M233780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the function module 'SELECT_OPTIONS_RESTRICT'. There is very good documentation associated with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example using this function module where I restrict the users to just multiple single values for a select option called S_EXWRK which is for plant.&lt;/P&gt;&lt;P&gt;&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="1477254"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 08:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505778#M233780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T08:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505779#M233781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do validations at many points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You can provide a f4 help and display only values of your choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can use ranges statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. At start-of-selection, you can make the necessary validations by checking the user entry against your choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the above options would help your need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for any further clarificaitons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 09:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505779#M233781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T09:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select Option Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505780#M233782</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;AT SELECTION-SCREEN ON S_AUART.&lt;/P&gt;&lt;P&gt;IF S_AUART &amp;lt;&amp;gt; 'ZB1' OR&lt;/P&gt;&lt;P&gt;   S_AUART &amp;lt;&amp;gt; 'ZB2' OR&lt;/P&gt;&lt;P&gt;   S_AUART &amp;lt;&amp;gt; 'ZB3'.&lt;/P&gt;&lt;P&gt;   MESSAGE E121(ZXXX).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it out,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kcc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2006 11:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-validation/m-p/1505780#M233782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-04T11:16:02Z</dc:date>
    </item>
  </channel>
</rss>

