<?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 selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2935259#M691712</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;          I want to validate my selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose i have my select options like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_kunnr for kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to validate the select options both low and high parameter . but not like only one parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what are the steps for doing that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have my code which i feel validates only one parameter i.e low parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so_cust is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single kunnr from kna1 into v_kunnr where kuunr in so_cust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message.&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;&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what i think here is we are only able to validate low- field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz correct me if i am wrong and try to give me exact way of validating this select-options.&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;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 17:45:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T17:45:26Z</dc:date>
    <item>
      <title>selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2935259#M691712</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;          I want to validate my selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose i have my select options like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_kunnr for kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to validate the select options both low and high parameter . but not like only one parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what are the steps for doing that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have my code which i feel validates only one parameter i.e low parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so_cust is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single kunnr from kna1 into v_kunnr where kuunr in so_cust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message.&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;&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what i think here is we are only able to validate low- field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz correct me if i am wrong and try to give me exact way of validating this select-options.&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;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 17:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2935259#M691712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T17:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2935260#M691713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Its not,If you say that&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IF NOT SO_KUNNR[] is Initial.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;select single kunnr from kna1 into v_kunnr where kuunr in so_cust.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;error message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will take care of both low and high values&lt;/P&gt;&lt;P&gt;this is correct only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 17:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2935260#M691713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T17:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2935261#M691714</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;You have use the code as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if not so_cust[] is initial.

select single kunnr from kna1 into v_kunnr where kuunr in so_cust.

if sy-subrc ne 0.
     error message.
endif.

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 18:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2935261#M691714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T18:03:55Z</dc:date>
    </item>
  </channel>
</rss>

