<?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 select-option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873949#M674398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do i pop-up my own selection values for a select-option.pls send the relevant code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2007 03:22:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-26T03:22:24Z</dc:date>
    <item>
      <title>select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873949#M674398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do i pop-up my own selection values for a select-option.pls send the relevant code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 03:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873949#M674398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T03:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873950#M674399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever you will declare the SELECT-OPTIONS as OBLIGATORY only low value is mandatory, but if you want to make high value also mandatory check below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes we need the parameter in selection screen but only to display value and user should not allow change its value for such requirement check below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try This :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT-OPTIONS S_DATE FOR SY-DATUM OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETER CUST TYPE KNA1-KUNNR DEFAULT '1000' MODIF ID M1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TO MAKE SELECT OPTION HIGH VALUE MANDATORY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME = 'S_DATE-HIGH'.&lt;/P&gt;&lt;P&gt;      SCREEN-REQUIRED = 1.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TO MAKE SCREEN INPUT EQUAL TO DISPLAY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-GROUP1 = 'M1'.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_date FOR sy-datum OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_date1 FOR sy-datum OBLIGATORY DEFAULT '20070814' MODIF ID s1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER cust TYPE kna1-kunnr DEFAULT '1000' MODIF ID m1.&lt;/P&gt;&lt;P&gt;PARAMETER cust1 TYPE kna1-kunnr DEFAULT '2000' MODIF ID m2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TO MAKE SELECT OPTION HIGH VALUE MANDATORY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-name = 'S_DATE-HIGH'.&lt;/P&gt;&lt;P&gt;      screen-required = 1.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'S1'.&lt;/P&gt;&lt;P&gt;      screen-input = 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TO MAKE SCREEN INPUT EQUAL TO DISPLAY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'M1'.&lt;/P&gt;&lt;P&gt;      screen-input = 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'M2'.&lt;/P&gt;&lt;P&gt;      screen-input = 0.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&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;Rewards if useful............&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 03:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873950#M674399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T03:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873951#M674400</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 the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: pa0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_pernr for pa0000-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;  data: begin of i_pernr occurs 0,&lt;/P&gt;&lt;P&gt;          pernr like pa0000-pernr,&lt;/P&gt;&lt;P&gt;        end of i_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_pernr-pernr = '123'.&lt;/P&gt;&lt;P&gt;  append i_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_pernr-pernr = '456'.&lt;/P&gt;&lt;P&gt;  append i_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_pernr-pernr = '789'.&lt;/P&gt;&lt;P&gt;  append i_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for s_pernr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      retfield        = 'PERNR'&lt;/P&gt;&lt;P&gt;      dynpprog        = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr          = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield     = 'S_PERNR-LOW'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      value_tab       = i_pernr&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      parameter_error = 1&lt;/P&gt;&lt;P&gt;      no_values_found = 2&lt;/P&gt;&lt;P&gt;      others          = 3.&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;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for s_pernr-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      retfield        = 'PERNR'&lt;/P&gt;&lt;P&gt;      dynpprog        = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr          = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield     = 'S_PERNR-HIGH'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      value_tab       = i_pernr&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      parameter_error = 1&lt;/P&gt;&lt;P&gt;      no_values_found = 2&lt;/P&gt;&lt;P&gt;      others          = 3.&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;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 04:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873951#M674400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T04:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873952#M674401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INITIALIZATION IS THE BLOCK WHERE YOU CAN DO THE SAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF U NEED DEFAULT VALUES ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THEN USE LIKE THIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_VBELN LIKE VBAK-VBELN DEFAULT '123456'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF USEFUL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AMIT SINGLA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 04:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873952#M674401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T04:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873953#M674402</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 can attach some search help for this purpose.You can link the search help to select-options using the addition matchcode id &amp;lt;search help name&amp;gt; to the select-option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shibin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 04:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873953#M674402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T04:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873954#M674403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/howdo_a.htm#svalue" target="test_blank"&gt;http://www.planetsap.com/howdo_a.htm#svalue&lt;/A&gt;&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;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 04:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/2873954#M674403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-26T04:57:50Z</dc:date>
    </item>
  </channel>
</rss>

