<?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 radiobuttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756215#M327608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;we have two blocks in our selection screen.each block have one radio button .&lt;/P&gt;&lt;P&gt;what i require is if we select one radioo button in first block ,the radiobutton which is in other block   will have to enable.how?&lt;/P&gt;&lt;P&gt;i want logic also.&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2006 06:42:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-06T06:42:00Z</dc:date>
    <item>
      <title>radiobuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756215#M327608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;we have two blocks in our selection screen.each block have one radio button .&lt;/P&gt;&lt;P&gt;what i require is if we select one radioo button in first block ,the radiobutton which is in other block   will have to enable.how?&lt;/P&gt;&lt;P&gt;i want logic also.&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 06:42:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756215#M327608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T06:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: radiobuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756216#M327609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai&lt;/P&gt;&lt;P&gt;  u give different radiobutton group  for each one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this,&lt;/P&gt;&lt;P&gt;  AT SELECTION-SCREEN ON RADIOBUTTON GROUP rad1.&lt;/P&gt;&lt;P&gt; within this u write coding for diable another block radiobutton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 06:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756216#M327609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T06:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: radiobuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756217#M327610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Surendra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Radiobuttons are treated as a group. So we need more than one in your group, whereas your requirement seems to be 1:1. So if the blocks have two radiobutton of different groups, once the radiobutton is selected it can never be un-selected. In this case itz better to go for Checkboxes. Please check on the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below code might give you some idea on the same:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block blk1 with frame.
   parameters: p_chk1 as checkbox user-command ABC.
selection-screen end of block blk1.

selection-screen begin of block blk2 with frame.
   parameters: p_chk2 as checkbox.
selection-screen end of block blk2.

at selection-screen output.

   loop at screen.
      check screen-name = 'P_CHK2'.
      if p_chk1 is initial.
         screen-active = 0.
      else.
         screen-active = 1.
      endif.
      modify screen.
   endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 06:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756217#M327610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T06:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: radiobuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756218#M327611</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;pls chk this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can give radio buton in the blocks. now i gave parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by slight chnages u can adopt this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report abc.


*-------------------------------------------
PARAMETERS : R1 RADIOBUTTON GROUP RG USER-COMMAND R DEFAULT 'X'.
PARAMETERS : R2 RADIOBUTTON GROUP RG .


*-------------------------------------------
selection-screen begin of block b1 with frame.
parameters : a(10) type c modif id abc.
parameters : b(10) type c modif id abc.
selection-screen end of block b1.


selection-screen begin of block b2 with frame.
parameters : c(20) type c modif id def.
parameters : d(20) type c modif id def.
selection-screen end of block b2.

*-------------------------------------------
at selection-screen output.


IF R1 = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'DEF'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.

IF R2 = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.&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;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 06:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756218#M327611</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-06T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: radiobuttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756219#M327612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one radio button in one group is not necessary. Each group atleat two radio buttons required. if the radio button in 2nd group want to diable, write code in first group radio button selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 06:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobuttons/m-p/1756219#M327612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-06T06:52:19Z</dc:date>
    </item>
  </channel>
</rss>

