<?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 Bug on selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bug-on-selection-screen/m-p/4172150#M997442</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 a selection screen on which there are two set of radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first set of radio button there are three radio buttons and in second set there are 9 radio buttons.&lt;/P&gt;&lt;P&gt;On selection of 3rd radio button from first set , some of the radio buttons from secons set are disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when a radio button is selected from the second set (which would disabled when first set radio button is selected) , and the third radio button is selected from first set ,all the radio buttons from second set get disabled.Ideally only the ones which have modif id assigned should get disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a bug on the selection screen.Please help me out to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-015.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_range    RADIOBUTTON GROUP rbg USER-COMMAND ucom DEFAULT 'X',&lt;/P&gt;&lt;P&gt;            p_date     RADIOBUTTON GROUP rbg,&lt;/P&gt;&lt;P&gt;            p_comp     RADIOBUTTON GROUP rbg.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_prctr RADIOBUTTON GROUP rbg2 USER-COMMAND ucom DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_prart RADIOBUTTON GROUP rbg2.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_swenr RADIOBUTTON GROUP rbg2 MODIF ID com.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_psphi RADIOBUTTON GROUP rbg2 MODIF ID com.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_pspnr RADIOBUTTON GROUP rbg2 MODIF ID com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the radio buttons with modif id 'com' should get disable when p_comp is selected.This is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when p_psphi is selected and then p_comp is selected..all the radiobuttons is second group get disabled.&lt;/P&gt;&lt;P&gt;Please help with modification in code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2008 02:59:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-28T02:59:55Z</dc:date>
    <item>
      <title>Bug on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bug-on-selection-screen/m-p/4172150#M997442</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 a selection screen on which there are two set of radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first set of radio button there are three radio buttons and in second set there are 9 radio buttons.&lt;/P&gt;&lt;P&gt;On selection of 3rd radio button from first set , some of the radio buttons from secons set are disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when a radio button is selected from the second set (which would disabled when first set radio button is selected) , and the third radio button is selected from first set ,all the radio buttons from second set get disabled.Ideally only the ones which have modif id assigned should get disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a bug on the selection screen.Please help me out to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-015.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_range    RADIOBUTTON GROUP rbg USER-COMMAND ucom DEFAULT 'X',&lt;/P&gt;&lt;P&gt;            p_date     RADIOBUTTON GROUP rbg,&lt;/P&gt;&lt;P&gt;            p_comp     RADIOBUTTON GROUP rbg.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_prctr RADIOBUTTON GROUP rbg2 USER-COMMAND ucom DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_prart RADIOBUTTON GROUP rbg2.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_swenr RADIOBUTTON GROUP rbg2 MODIF ID com.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_psphi RADIOBUTTON GROUP rbg2 MODIF ID com.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_pspnr RADIOBUTTON GROUP rbg2 MODIF ID com.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the radio buttons with modif id 'com' should get disable when p_comp is selected.This is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when p_psphi is selected and then p_comp is selected..all the radiobuttons is second group get disabled.&lt;/P&gt;&lt;P&gt;Please help with modification in code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 02:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bug-on-selection-screen/m-p/4172150#M997442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T02:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bug on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bug-on-selection-screen/m-p/4172151#M997443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-015.
PARAMETERS: p_range RADIOBUTTON GROUP rbg USER-COMMAND ucom DEFAULT 'X',
p_date RADIOBUTTON GROUP rbg,
p_comp RADIOBUTTON GROUP rbg.
SELECTION-SCREEN END OF BLOCK b3.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: p_prctr RADIOBUTTON GROUP rbg2 USER-COMMAND ucom DEFAULT 'X'.
PARAMETERS: p_prart RADIOBUTTON GROUP rbg2.
PARAMETERS: p_swenr RADIOBUTTON GROUP rbg2 MODIF ID com.
PARAMETERS: p_psphi RADIOBUTTON GROUP rbg2 MODIF ID com.
PARAMETERS: p_pspnr RADIOBUTTON GROUP rbg2 MODIF ID com.

at selection-screen output.
if  p_range eq 'X' or
    p_date  eq 'X' or
   p_comp eq 'X'.
loop at screen.
 if screen-group1 = 'COM'.
   screen-input = 0.
  modify screen.
 endif.
endloop.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay Babu Dudla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 04:09:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bug-on-selection-screen/m-p/4172151#M997443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T04:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bug on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bug-on-selection-screen/m-p/4172152#M997444</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;Try the following code and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT Selection-Screen Output.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'XYZ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  p_comp = '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 = 'COM'.&lt;/P&gt;&lt;P&gt;   screen-input = 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;&lt;/P&gt;&lt;P&gt;&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-group1 = 'COM'.&lt;/P&gt;&lt;P&gt;   screen-input = 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;endif.&lt;/P&gt;&lt;P&gt;&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 it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murthy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kalyanam Seetha Rama Murthy on Jul 28, 2008 7:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 05:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bug-on-selection-screen/m-p/4172152#M997444</guid>
      <dc:creator>former_member787646</dc:creator>
      <dc:date>2008-07-28T05:26:46Z</dc:date>
    </item>
  </channel>
</rss>

