<?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/3490214#M839281</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 GIVE THE OBLIGATORY  FOR THAT FILED &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BY DOING LIKE THIS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS OBLIGATORY .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR YOU CAN RESTRICT THE USER BY ENTIRING WRONG VALUES BY VALIDATION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIKE THIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************SCREEN VALIDATIONS *****************&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE *&lt;/P&gt;&lt;P&gt;           FROM EKKO&lt;/P&gt;&lt;P&gt;           INTO EKKO&lt;/P&gt;&lt;P&gt;           WHERE EBELN IN S_EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    SET CURSOR FIELD 'S_EBELN-LOW'.&lt;/P&gt;&lt;P&gt;    MESSAGE E999 WITH TEXT-005.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;end of screen validation&lt;/STRONG&gt;*****************&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2008 04:17:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-27T04:17:35Z</dc:date>
    <item>
      <title>select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490209#M839276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to provide mandatory field in select-options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490209#M839276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490210#M839277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : so_vstel  FOR   likp-vstel  OBLIGATORY  ,&lt;/P&gt;&lt;P&gt;                 so_lgort  FOR   t001l-lgort OBLIGATORY .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490210#M839277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490211#M839278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sagar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen. on s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_date-low is initial.&lt;/P&gt;&lt;P&gt;  error message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want mandatory for high value you can do same thing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_date-high is initial.&lt;/P&gt;&lt;P&gt;  error message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490211#M839278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490212#M839279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS so_kunnr FOR wa_kna1-kunnr OBLIGATORY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490212#M839279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:13: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/3490213#M839280</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;Pass sets of values, which ABAP/4 uses in the report to check whether data base field or report-internal fields are within a certain value range. The result of such a check can be used to control the program flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You declare selection variables using the SELECT-OPTIONS statement.&lt;/P&gt;&lt;P&gt;DATA SELECT-OPTIONS field1 FOR field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declares a selection variable field1 for field2. Field1 may be up to 8 characters long.&lt;/P&gt;&lt;P&gt;This statement defines an internal table field1 with a fixed structure, which consists of the fields field1-SIGN, field1-OPTION, field1-LOW, field1-HIGH. While field1-SIGN, field1-OPTION have a fixed format (type character, length 1 and 2 respectively), field1-LOW, field1-HIGH inherit the type and length of the reference field field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user enters a selection on the selection screen, the internal table field1 is automatically filled. You can use normal ABAP statements to read and manipulate the internal table field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statements select-options and parameters determine the technical interface and the user interface. The parameters and select options you specify are displayed on the selection screen for the user to enter values. &lt;/P&gt;&lt;P&gt;Under &amp;#147;Text elements/Selection texts&amp;#148; of GOTO (Menu Bar), you can enter a description for each selection criteria like field1. This description is displayed on the selection screen. If no such text exists, the name field1 of the selection option is displayed instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_matnr FOR wa_mara-matnr NO INTERVALS OBLIGATORY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: p541399 on Feb 27, 2008 9:49 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490213#M839280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490214#M839281</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 GIVE THE OBLIGATORY  FOR THAT FILED &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BY DOING LIKE THIS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS OBLIGATORY .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR YOU CAN RESTRICT THE USER BY ENTIRING WRONG VALUES BY VALIDATION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIKE THIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************SCREEN VALIDATIONS *****************&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE *&lt;/P&gt;&lt;P&gt;           FROM EKKO&lt;/P&gt;&lt;P&gt;           INTO EKKO&lt;/P&gt;&lt;P&gt;           WHERE EBELN IN S_EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    SET CURSOR FIELD 'S_EBELN-LOW'.&lt;/P&gt;&lt;P&gt;    MESSAGE E999 WITH TEXT-005.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;end of screen validation&lt;/STRONG&gt;*****************&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490214#M839281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490215#M839282</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;  SELECT-OPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declares selection criteria for a selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS &amp;lt;sel&amp;gt; FOR &amp;lt;f&amp;gt;&lt;/P&gt;&lt;P&gt;               [DEFAULT &amp;lt;g&amp;gt; [to &amp;lt;h&amp;gt;] [OPTION &amp;lt;op&amp;gt;] SIGN &amp;lt;s&amp;gt;]&lt;/P&gt;&lt;P&gt;               [MEMORY ID &amp;lt;pid&amp;gt;]&lt;/P&gt;&lt;P&gt;               [LOWER CASE]&lt;/P&gt;&lt;P&gt;               [OBLIGATORY]&lt;/P&gt;&lt;P&gt;               [NO-DISPLAY]&lt;/P&gt;&lt;P&gt;               [MODIF ID &amp;lt;key&amp;gt;]&lt;/P&gt;&lt;P&gt;               [NO-EXTENSION]&lt;/P&gt;&lt;P&gt;               [NO INTERVALS]&lt;/P&gt;&lt;P&gt;               [NO DATABASE SELECTION].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declares a selection table &amp;lt;sel&amp;gt; for the field &amp;lt;f&amp;gt;. For &amp;lt;sel&amp;gt;, places input fields on the corresponding selection screen. The additions allow you to set a default value, accept input in lowercase, define a required field, suppress or modify the display on the selection screen, restrict the selection table to a line or a selection to a single field, or prevent input from being passed to a logical database&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;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490215#M839282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490216#M839283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eg. code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matnr for matnr &lt;STRONG&gt;OBLIGATORY&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope dis helps..&lt;/P&gt;&lt;P&gt;Reward all helpful ans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490216#M839283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490217#M839284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sagar,&lt;/P&gt;&lt;P&gt;This is a standrad functionality of SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to achiev the requirement you have to code within AT SELECTION-Screen on s_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen of s_field.&lt;/P&gt;&lt;P&gt;if s_field[] is initial.&lt;/P&gt;&lt;P&gt;message e000 with ' S_field is mandatory'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 04:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490217#M839284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T04:36: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/3490218#M839285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;the mandatory select option can be given like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select-options: s_ebeln for ekko-ebeln no-extension obligatory.&lt;/STRONG&gt;when 'Obligatory' addition is specified , we cant exit the selection screen using F8 , but to exit u need to use either back or canc or exit buttons.&lt;/P&gt;&lt;P&gt;by using this u can specify a single mandatory value on the selection screen.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sandhya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 05:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3490218#M839285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T05:22:29Z</dc:date>
    </item>
  </channel>
</rss>

