<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156669#M1194590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mahesh,&lt;/P&gt;&lt;P&gt;                 First declare 2 select options in one selection screen and other 2 in another one.&lt;/P&gt;&lt;P&gt;then at selection-screen output event.&lt;/P&gt;&lt;P&gt;give each pair a modif id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output event.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-GROUP1 eq 'ABC'  and  checkbox &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt; screen-active = 0.&lt;/P&gt;&lt;P&gt;modify screen. " This will make 2 select-options invisible and only other 2 would be visible&lt;/P&gt;&lt;P&gt;elseif screen-GROUP1 eq 'BCA'  and  checkbox EQ 'X'. &lt;/P&gt;&lt;P&gt; screen-active = 1.&lt;/P&gt;&lt;P&gt;modify screen. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use flags to check if the checkboxes are checked :-).&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 10:47:49 GMT</pubDate>
    <dc:creator>viquar_iqbal</dc:creator>
    <dc:date>2009-02-04T10:47:49Z</dc:date>
    <item>
      <title>select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156658#M1194579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; On selection screen  i have to display 4 select-options and 2 checkboxes.&lt;/P&gt;&lt;P&gt;My requirement is as soon as i enter into selection screen out of 4 select-options it should display only 2 and rest should be hidden and if i check the below checkboxes then only the remaining 2 select-options should be displayed.&lt;/P&gt;&lt;P&gt;so how should i hide the select -option and should be displayed only when i check the checkboxes.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Feb 4, 2009 12:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156658#M1194579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156659#M1194580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just go through the following link:&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="3202017"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156659#M1194580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156660#M1194581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this by using,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156660#M1194581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156661#M1194582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Just use the event AT selection screen output and check the conditions on checkbox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156661#M1194582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156662#M1194583</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;On selection screen ,take 2 checkboxes say c1 and c2,two bocks say b1 and b2.&lt;/P&gt;&lt;P&gt;For each block, take two select-options with modif id m1 same for both select-options.&lt;/P&gt;&lt;P&gt;for second block also,take remaining two select-options with another modif id m2 same for both select-options.&lt;/P&gt;&lt;P&gt;Then in At selection-screen output,&lt;/P&gt;&lt;P&gt;if c1 eq 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name eq 'B2'.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name eq 'B1'.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would display only block b1 or block b2 depending on the checkbox selected.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156662#M1194583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156663#M1194584</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 this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES :  pernr, t500p.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-s03.

SELECTION-SCREEN BEGIN OF LINE.
PARAMETER : r_cprob TYPE c RADIOBUTTON GROUP gr1 DEFAULT 'X'
        USER-COMMAND xxx.
SELECTION-SCREEN COMMENT 4(30) text-s04.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.
PARAMETER : r_cextn TYPE c RADIOBUTTON GROUP gr1 .
SELECTION-SCREEN COMMENT 4(40) text-s05.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s01.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) text-s02.
SELECT-OPTIONS: s_pernr FOR pernr-pernr MATCHCODE OBJECT prem.
SELECTION-SCREEN END OF LINE.
SELECT-OPTIONS: s_molga FOR t500p-molga DEFAULT '40' .
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK b1.

AT SELECTION-SCREEN OUTPUT.

  IF r_cprob EQ 'X'.
    LOOP AT SCREEN.
      IF screen-name CS 'S_PERNR'.
        screen-active = '0'.
        screen-invisible = '1'.
        MODIFY SCREEN.
        CLEAR screen.
      ELSE.
        screen-active = '1'.
        screen-invisible = '0'.
        MODIFY SCREEN.
        CLEAR screen.
      ENDIF.
    ENDLOOP.
  ENDIF.

  IF r_cextn EQ 'X'.
    LOOP AT SCREEN.
      IF screen-name CS 'S_MOLGA'.
        screen-active = '0'.
        screen-invisible = '1'.
        MODIFY SCREEN.
        CLEAR screen.
      ELSE.
        screen-active = '1'.
        screen-invisible = '0'.
        MODIFY SCREEN.
        CLEAR screen.

      ENDIF.
    ENDLOOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:36:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156663#M1194584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:36: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/5156664#M1194585</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;Hide the so that you want...&lt;/P&gt;&lt;P&gt;then based on checking the value of check box you can show them or hide...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN OUTPUT.
LOOP AT screen.
if screen-name = 'so*****'.
screen-invisible = 1.   "0 show
MODIFY screen endif.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156664#M1194585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156665#M1194586</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;    s_opt1 for &amp;lt; ... &amp;gt; memory id SOP1,&lt;/P&gt;&lt;P&gt;   s_opt2 for &amp;lt; ... &amp;gt; memory id sop1,&lt;/P&gt;&lt;P&gt;  s_opt3 for &amp;lt; ... &amp;gt; memory id sop2,&lt;/P&gt;&lt;P&gt;   s_opt4 for &amp;lt; ... &amp;gt; memory id sop2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters :&lt;/P&gt;&lt;P&gt; w_chk1 as checkbox user-command CHK,&lt;/P&gt;&lt;P&gt; w_chk2 as checkbox user-command CHK1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if w_chk1 = 'X' and w_chk2 = 'X'.&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;    if screen-name cs 'SOP1'&lt;/P&gt;&lt;P&gt;      screen-active = 0.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name cs 'SOP2'.&lt;/P&gt;&lt;P&gt;      screen-active = 0.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this code helps you&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;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156665#M1194586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156666#M1194587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh ,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;here s sample code to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider you have the select-options as s1,s2 , s3,s4 and check boxes as c1 and c2 (user-Command)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;heres how you define your checkboxes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: C1 AS CHECKBOX,&lt;/P&gt;&lt;P&gt;                        C2 AS CHECKBOX DEFAULT 'X' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s1,s2 (modif id sc1)&lt;/P&gt;&lt;P&gt;                      ,s3,s4(modif id sc2) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now write Yuor code at At-selection output because your processing on the selection screen and you have to make some modifications to it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen output .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if c1 = 'X' .&lt;/P&gt;&lt;P&gt;loop at screen .&lt;/P&gt;&lt;P&gt;if screen-group1 = 'sc1' .&lt;/P&gt;&lt;P&gt;screen-active = 1 .&lt;/P&gt;&lt;P&gt;modify screen .&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;elseif c2 = 'X' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen .&lt;/P&gt;&lt;P&gt;if screen-group1 = 'sc1' .&lt;/P&gt;&lt;P&gt;screen-active = 0 .&lt;/P&gt;&lt;P&gt;modify screen .&lt;/P&gt;&lt;P&gt;endif .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is when ever u check the checkbox C1 the 1st 2 select options s1 and s2 will be displayed and if you check the  2nd check box the other 2 select options will be displayed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best and do get back if there s prob.!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Amuktha .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156666#M1194587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:40: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/5156667#M1194588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks nitin its working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156667#M1194588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156668#M1194589</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;    Use the event At Selection-screen output. Use Loop at Screen in this event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156668#M1194589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156669#M1194590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mahesh,&lt;/P&gt;&lt;P&gt;                 First declare 2 select options in one selection screen and other 2 in another one.&lt;/P&gt;&lt;P&gt;then at selection-screen output event.&lt;/P&gt;&lt;P&gt;give each pair a modif id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output event.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-GROUP1 eq 'ABC'  and  checkbox &amp;lt;&amp;gt; 'X'.&lt;/P&gt;&lt;P&gt; screen-active = 0.&lt;/P&gt;&lt;P&gt;modify screen. " This will make 2 select-options invisible and only other 2 would be visible&lt;/P&gt;&lt;P&gt;elseif screen-GROUP1 eq 'BCA'  and  checkbox EQ 'X'. &lt;/P&gt;&lt;P&gt; screen-active = 1.&lt;/P&gt;&lt;P&gt;modify screen. &lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use flags to check if the checkboxes are checked :-).&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Viquar Iqbal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:47:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156669#M1194590</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-02-04T10:47: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/5156670#M1194591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh valu,&lt;/P&gt;&lt;P&gt;Copy this program you can get the answere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program:&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;  s_carrid for spfli-carrid modif id gr1,&lt;/P&gt;&lt;P&gt;  s_connid for spfli-connid modif id gr1,&lt;/P&gt;&lt;P&gt;  s_cityfr for spfli-cityfrom modif id gr2,&lt;/P&gt;&lt;P&gt;  s_cityto for spfli-cityto modif id gr2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  w_cbox as checkbox user-command uc,&lt;/P&gt;&lt;P&gt;  w_cbox1 as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if w_cbox is initial and w_cbox1 is initial.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-group1 CS 'GR2'.&lt;/P&gt;&lt;P&gt;    screen-active = 0.&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156670#M1194591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: select-option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156671#M1194592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This logic should help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;w_s1 type i,&lt;/P&gt;&lt;P&gt;w_s2 type i,&lt;/P&gt;&lt;P&gt;w_s3 type i,&lt;/P&gt;&lt;P&gt;w_s4 type i.&lt;/P&gt;&lt;P&gt;Parameters:&lt;/P&gt;&lt;P&gt;P_box1 as checkbox,&lt;/P&gt;&lt;P&gt;P_box2 as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options:&lt;/P&gt;&lt;P&gt;s_op1 for w_s1,&lt;/P&gt;&lt;P&gt;s_op2 for w_s2,&lt;/P&gt;&lt;P&gt; s_op3 for w_s3 MODIF ID sc1,&lt;/P&gt;&lt;P&gt;  s_op4 for w_s4 MODIF ID sc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If  p_box1 eq 'X'&lt;/P&gt;&lt;P&gt;and  p_box2 eq 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'SC1'.&lt;/P&gt;&lt;P&gt;        screen-active = 1.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;     LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'SC1'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&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;Mdi.Deeba Najam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 11:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/5156671#M1194592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T11:01:38Z</dc:date>
    </item>
  </channel>
</rss>

