<?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: disable selection screens in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136738#M113322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use screen-input...&lt;/P&gt;&lt;P&gt;This works&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES : bseg.

parameters: r1 radiobutton group r default 'X' USER-COMMAND flag.
parameters: r2 radiobutton group r.
parameters: r3 radiobutton group r.

selection-screen begin of block a1 with frame title text-001.
parameters:p_vkbur like v_equi-vkbur modif id m1,
p_kunum like afih-kunum modif id m1,
p_month like usr01-bname obligatory modif id m1,
p_kdgrp like knvv-kdgrp modif id m1.
selection-screen end of block a1.

selection-screen begin of block b1 with
frame title text-002.
select-options:s_refno for bseg-aufnr modif id m2.
selection-screen end of block b1.

selection-screen begin of block c1 with frame title text-003.
select-options:d_refno for bseg-aufnr modif id m3.
selection-screen end of block c1.

at selection-screen output.
LOOP AT SCREEN.
IF r1 = 'X' AND
screen-group1 = 'M2'.
screen-input = '0'.
ENDIF.
IF r1 = 'X' AND
screen-group1 = 'M3'.
screen-input = '0'.
ENDIF.
IF r2 = 'X' AND
screen-group1 = 'M1'.
screen-input = '0'.
ENDIF.
IF r2 = 'X' AND
screen-group1 = 'M3'.
screen-input = '0'.
ENDIF.
IF r3 = 'X' AND
screen-group1 = 'M1'.
screen-input = '0'.
ENDIF.
IF r3 = 'X' AND
screen-group1 = 'M2'.
screen-input = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2006 04:28:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-08T04:28:15Z</dc:date>
    <item>
      <title>disable selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136733#M113317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have three selection screens..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables: bseg.
parameters: r1 radiobutton group r default 'X'.
parameters: r2 radiobutton group r.
parameters: r3 radiobutton group r.


selection-screen begin of block a1 with frame title text-001.
parameters:p_vkbur like v_equi-vkbur,
           p_kunum like afih-kunum ,
           p_month like usr01-bname obligatory,
           p_kdgrp like knvv-kdgrp.
selection-screen end of block a1.

selection-screen begin of block b1 with frame title text-002.
select-options:s_refno for bseg-aufnr.
selection-screen end of block b1.

selection-screen begin of block c1 with frame title text-003.
select-options:d_refno for bseg-aufnr.
selection-screen end of block c1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When r1 is checked block 2 &amp;amp; block 3 should inactive.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;Here i want to display 2 and 3blocks,but user should not allow to enter anything. same in the foliowing blocks&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;when r2 is checked block 1 and block 3 should inactive.&lt;/P&gt;&lt;P&gt;when r3 is checked block1 and block 2 should inactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the screen is loaded only first block should be active rest will be inactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward guaranteed&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;kaki&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, 08 Feb 2006 03:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136733#M113317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T03:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: disable selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136734#M113318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;parameters: r1 radiobutton group r default 'X'.
parameters: r2 radiobutton group r.
parameters: r3 radiobutton group r.


selection-screen begin of block a1 with frame title text-001.
parameters:p_vkbur like v_equi-vkbur modif id m1,
           p_kunum like afih-kunum  modif id m1,
           p_month like usr01-bname obligatory modif id m1,
           p_kdgrp like knvv-kdgrp modif id m1.
selection-screen end of block a1.

selection-screen begin of block b1 with frame title text-002.
*select-options:s_refno for zcsparameters-service_counter modif id m2.
selection-screen end of block b1.

selection-screen begin of block c1 with frame title text-003.
*select-options:d_refno for zcsparameters-service_counter modif id m3.
selection-screen end of block c1.

at selection-screen ON RADIOBUTTON GROUP r.
LOOP AT SCREEN.
    IF r1 &amp;lt;&amp;gt; 'X' AND
       screen-group1 = 'M1'.
      screen-active = '0'.
    ENDIF.
    IF r2 &amp;lt;&amp;gt; 'X' AND
       screen-group1 = 'M1'.
      screen-active = '0'.
    ENDIF.
     IF r3 &amp;lt;&amp;gt; 'X' AND
       screen-group1 = 'M1'.
      screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 03:45:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136734#M113318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T03:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: disable selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136735#M113319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use addition &amp;lt;b&amp;gt;USER-COMMAND ucomm&amp;lt;/b&amp;gt; to radiobutton. See keyword doco (F1 on keyword Parameters) for the full explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 03:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136735#M113319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T03:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: disable selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136736#M113320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES : bseg.

parameters: r1 radiobutton group r default 'X' USER-COMMAND flag.
parameters: r2 radiobutton group r.
parameters: r3 radiobutton group r.

selection-screen begin of block a1 with frame title text-001.
parameters:p_vkbur like v_equi-vkbur modif id m1,
p_kunum like afih-kunum modif id m1,
p_month like usr01-bname obligatory modif id m1,
           p_kdgrp like knvv-kdgrp modif id m1.
selection-screen end of block a1.

selection-screen begin of block b1 with
 frame title text-002.
 select-options:s_refno for bseg-aufnr modif id m2.
 selection-screen end of block b1.

 selection-screen begin of block c1 with frame title text-003.
select-options:d_refno for bseg-aufnr modif id m3.
selection-screen end of block c1.

at selection-screen output.
LOOP AT SCREEN.
    IF r1 = 'X' AND
       screen-group1 = 'M2'.
      screen-active = '0'.
    ENDIF.
    IF r1 = 'X' AND
       screen-group1 = 'M3'.
      screen-active = '0'.
    ENDIF.
    IF r2 = 'X' AND
       screen-group1 = 'M1'.
      screen-active = '0'.
    ENDIF.
    IF r2 = 'X' AND
       screen-group1 = 'M3'.
      screen-active = '0'.
    ENDIF.
    IF r3 = 'X' AND
       screen-group1 = 'M1'.
      screen-active = '0'.
    ENDIF.
    IF r3 = 'X' AND
       screen-group1 = 'M2'.
      screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works. Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 03:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136736#M113320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T03:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: disable selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136737#M113321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK b_1 WITH FRAME TITLE text-000.
SELECT-OPTIONS: s_sapobj FOR toa01-sap_object obligatory,
s_blart FOR bkpf-blart obligatory.
PARAMETERS: rb_img RADIOBUTTON GROUP rad1 user-command rad.
PARAMETERS: rb_invo RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK b_1.

So u can validate as

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'GR1'. "Name field
IF RB_INVO = SPACE.
SCREEN-ACTIVE = 0.
ELSE.
SCREEN-ACTIVE = 1.
ENDIF.
MODIFY SCREEN.
ELSEIF SCREEN-GROUP1 = 'GR2'.
IF RB_INVO = 'X'.
SCREEN-ACTIVE = 0.
ELSE.
SCREEN-ACTIVE = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.

START-OF-SELECTION.

* Two processing modes available based on radiobutton selection.
*Radiobutton 1 selected
IF NOT RB_IMG IS INITIAL.
PERFORM 
ENDIF.
*Radiobutton 2 selected
IF NOT RB_INVO IS INITIAL.
PERFORM .
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similiarly u can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points and close the threas if ur problem got solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Judith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 03:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136737#M113321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T03:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: disable selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136738#M113322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use screen-input...&lt;/P&gt;&lt;P&gt;This works&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES : bseg.

parameters: r1 radiobutton group r default 'X' USER-COMMAND flag.
parameters: r2 radiobutton group r.
parameters: r3 radiobutton group r.

selection-screen begin of block a1 with frame title text-001.
parameters:p_vkbur like v_equi-vkbur modif id m1,
p_kunum like afih-kunum modif id m1,
p_month like usr01-bname obligatory modif id m1,
p_kdgrp like knvv-kdgrp modif id m1.
selection-screen end of block a1.

selection-screen begin of block b1 with
frame title text-002.
select-options:s_refno for bseg-aufnr modif id m2.
selection-screen end of block b1.

selection-screen begin of block c1 with frame title text-003.
select-options:d_refno for bseg-aufnr modif id m3.
selection-screen end of block c1.

at selection-screen output.
LOOP AT SCREEN.
IF r1 = 'X' AND
screen-group1 = 'M2'.
screen-input = '0'.
ENDIF.
IF r1 = 'X' AND
screen-group1 = 'M3'.
screen-input = '0'.
ENDIF.
IF r2 = 'X' AND
screen-group1 = 'M1'.
screen-input = '0'.
ENDIF.
IF r2 = 'X' AND
screen-group1 = 'M3'.
screen-input = '0'.
ENDIF.
IF r3 = 'X' AND
screen-group1 = 'M1'.
screen-input = '0'.
ENDIF.
IF r3 = 'X' AND
screen-group1 = 'M2'.
screen-input = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 04:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136738#M113322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T04:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: disable selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136739#M113323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wenceslaus G  &lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;full points alloted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 04:33:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-selection-screens/m-p/1136739#M113323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T04:33:57Z</dc:date>
    </item>
  </channel>
</rss>

