<?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 Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746113#M638369</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;It should be SELECT-OPTIONS and not selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Sep 2007 18:41:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-08T18:41:19Z</dc:date>
    <item>
      <title>Select Options Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746111#M638367</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 requirement with select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to read the select option values in one Subroutine, but it is giving error&lt;/P&gt;&lt;P&gt;" No structure found with S_KUNNR and no value LOW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; code is like this.&lt;/P&gt;&lt;P&gt;*********************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen S_KUNNR FOR VBPA-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM SUB_DISPLAY.&lt;/P&gt;&lt;P&gt;       "&lt;/P&gt;&lt;P&gt;       "&lt;/P&gt;&lt;P&gt;       " &lt;/P&gt;&lt;P&gt;  FORM SUB_DISPLAY.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; KUNNRLOW = S_KUNNR-LOW.&lt;/P&gt;&lt;P&gt; KUNNRHIGH = S_KUNNR-HIGH.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not getting data from S_KUNNR-LOW TO KUNNRLOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please answer asap..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Kumar A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2007 16:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746111#M638367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-08T16:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746112#M638368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have a requirement with select-options then you should use select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen S_KUNNR FOR VBPA-KUNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does not look like syntactically correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options S_KUNNR FOR VBPA-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you must make sure that somethng has been entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM SUB_DISPLAY.
read table S_KUNNR[] index 1.
check sy-subrc = 0-
KUNNRLOW = S_KUNNR-LOW.
KUNNRHIGH = S_KUNNR-HIGH.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2007 17:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746112#M638368</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-09-08T17:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746113#M638369</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;It should be SELECT-OPTIONS and not selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2007 18:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746113#M638369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-08T18:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746114#M638370</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;First of all as mentioned in the earlier replies, it should select-options, not selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as reading data is concerned, the event where you are trying to read data is important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to retrieve value in the event "AT SELECTION-SCREEN", definitely you will get the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying in the events such as "ON VALUE-REQUEST", you have to use DYNPREAD to retrieve data from the selection screen fields, otherwise the values will be initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Sep 2007 15:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746114#M638370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-09T15:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746115#M638371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data v_num(3) type n.&lt;/P&gt;&lt;P&gt;select-options: s_num for v_num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_num-low is initial and&lt;/P&gt;&lt;P&gt;   s_num-high is initial.&lt;/P&gt;&lt;P&gt;   s_num-low = 1.&lt;/P&gt;&lt;P&gt;   s_num-high = 5.&lt;/P&gt;&lt;P&gt;elseif s_num-high is initial.&lt;/P&gt;&lt;P&gt;   s_num-high = s_num-low.&lt;/P&gt;&lt;P&gt;elseif s_num-low is initial.&lt;/P&gt;&lt;P&gt;   s_num-low = s_num-high.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while s_num-low le s_num-high.&lt;/P&gt;&lt;P&gt; perform my_num using s_num-low.&lt;/P&gt;&lt;P&gt; s_num-low = s_num-low + 1.&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form my_num using p_num.&lt;/P&gt;&lt;P&gt;write:/ p_num.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Velangini Showry Maria Kumar Bandanadham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 09:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746115#M638371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T09:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746116#M638372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be,&lt;/P&gt;&lt;P&gt;data : v_kunnr type VBPA-KUNNR.&lt;/P&gt;&lt;P&gt;select-options S_KUNNR FOR v_kunnr .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 09:37:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746116#M638372</guid>
      <dc:creator>kanthimathikris</dc:creator>
      <dc:date>2007-09-10T09:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select Options Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746117#M638373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm convinced you already found the solution. Everybody will be delighted if you mark this question as solved and let people know the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 09:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-error/m-p/2746117#M638373</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-09-10T09:41:09Z</dc:date>
    </item>
  </channel>
</rss>

