<?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: selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091829#M435004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do this in AT SELECTION-SCREEN OUTPUT. If you deactivate all the parameters and select-options within a block, the block will automatically disappear. An empty block will not show up on the screen. So put all the parameters/select-options in block 2 in one MODIF group and put those of block 3 in another group. In AT SELECTION-SCREEN, depending on your block 1 value, activate or deactivate these groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2007 22:02:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-28T22:02:55Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091824#M434999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three blocks in my selection screen.&lt;/P&gt;&lt;P&gt;in the first block i have one select-option&lt;/P&gt;&lt;P&gt;and in the second and third blocks i have 2 , 6 radio buttons respectively&lt;/P&gt;&lt;P&gt;depending on the select-option i give in block one,block 2 or block 3 any one of them has to get displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if block 2 is active then block 3 should not get displayed and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz let me know if any one have idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 21:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091824#M434999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T21:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091825#M435000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to mimik this program. Check in Debug mode you might get an Idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITs for check boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shreekant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZASH_SCREEN                             .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_C1 AS CHECKBOX USER-COMMAND USR1.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_C2 AS CHECKBOX USER-COMMAND USR2.&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;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_C1 = 'X' AND SCREEN-NAME = 'P_C2'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_C2 = 'X' AND SCREEN-NAME = 'P_C1'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&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;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 21:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091825#M435000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T21:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091826#M435001</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;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this sample code to get an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameters: p_rad1  radiobutton group grp1 default 'X'
                   user-command check.
parameters: p_rad2  radiobutton group grp1.
                                                                        
parameters: p_field1 type c,
            p_field2 type c.
                                                                                at selection-screen output.                                                                  
  loop at screen.
    if ( p_rad1 = 'X' and screen-name = 'P_FIELD2' )
    or ( p_rad2 = 'X' and screen-name = 'P_FIELD1' ).
      screen-input = '0'.
    endif.
    modify screen.
  endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 21:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091826#M435001</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-28T21:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091827#M435002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Its nothing with check boxes, my question is if i have three blocks,how to activate or deactivate a particular block depending on the value entered in select-option or parameter defined in the other block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 21:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091827#M435002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T21:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091828#M435003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pls try this.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;selection-screen begin of block bl2.&lt;/P&gt;&lt;P&gt;parameters :  rd1  radiobutton group rad1 default 'X' modif id ID1,&lt;/P&gt;&lt;P&gt;                    rd2  radiobutton group rad1 modif id ID1.&lt;/P&gt;&lt;P&gt;selection-screen end of block bl2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block bl3.&lt;/P&gt;&lt;P&gt;parameters :  rd3  radiobutton group rad2 default 'X' modif id ID2,&lt;/P&gt;&lt;P&gt;                    rd4  radiobutton group rad2 modif id ID2,&lt;/P&gt;&lt;P&gt;                    rd5  radiobutton group rad2 modif id ID2 ,&lt;/P&gt;&lt;P&gt;                    rd6  radiobutton group rad2 modif id ID2,&lt;/P&gt;&lt;P&gt;                     rd7  radiobutton group rad2 modif id ID2,&lt;/P&gt;&lt;P&gt;                    rd8  radiobutton group rad2 modif id ID2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of block bl3.&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;loop at screen.&lt;/P&gt;&lt;P&gt;    case screen-group1.&lt;/P&gt;&lt;P&gt;      when 'ID1'.&lt;/P&gt;&lt;P&gt;        if (specify your condition for block2 to be active here).&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;          screen-active = 1.&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;          screen-active = 0.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      when 'ID2'.&lt;/P&gt;&lt;P&gt;        if (specify your condition for block3 to be active here).        &lt;/P&gt;&lt;P&gt;          screen-active = 1.&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;          screen-active = 0.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;          modify screen.&lt;/P&gt;&lt;P&gt;  endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Hope this helps. please reward points if helpful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pranati.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 21:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091828#M435003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T21:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091829#M435004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do this in AT SELECTION-SCREEN OUTPUT. If you deactivate all the parameters and select-options within a block, the block will automatically disappear. An empty block will not show up on the screen. So put all the parameters/select-options in block 2 in one MODIF group and put those of block 3 in another group. In AT SELECTION-SCREEN, depending on your block 1 value, activate or deactivate these groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 22:02:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091829#M435004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T22:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091830#M435005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see one issue in that you have radio-buttons in both these blocks (2 and 3). Even if you deactivate the block, you will still have a value of 'X' for the default radiobutton of the blocks. You will have to take care of it while doing your selections or whatever functionality these buttons have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 22:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2091830#M435005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T22:06:44Z</dc:date>
    </item>
  </channel>
</rss>

