<?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: code on Selection-screen radio button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706975#M309546</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;chk this sample.&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;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2006 10:48:24 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-11-24T10:48:24Z</dc:date>
    <item>
      <title>code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706974#M309545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having two  radiobuttons in selection-screen, if i check one radiobutton , another selectio-screen has to display in that standard selection-screen only.&lt;/P&gt;&lt;P&gt;send me the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BALU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 10:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706974#M309545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T10:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706975#M309546</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;chk this sample.&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;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 10:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706975#M309546</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-24T10:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706976#M309547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anversha,&lt;/P&gt;&lt;P&gt;thnx for ur code,&lt;/P&gt;&lt;P&gt;but i dont want that second block when i executed the program,it has to come when i clicked on the second radio button.&lt;/P&gt;&lt;P&gt;plz send me the code for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BALU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 10:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706976#M309547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706977#M309548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; chk this code and select 2nd radio button , the same selection-screen will open in popup , u can modify the same to ur requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ychatest.                             .


PARAMETERS : r1 RADIOBUTTON GROUP rad USER-COMMAND new,
             r2 RADIOBUTTON GROUP rad.

AT SELECTION-SCREEN.

  IF r2 = 'X'.
    CALL SCREEN 1000 STARTING AT 50 50 ENDING AT 100 100.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706977#M309548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706978#M309549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can modify the above code like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &amp;lt;b&amp;gt;screen-ACTIVE = '0'&amp;lt;/b&amp;gt; instead of &amp;lt;b&amp;gt;screen-input = '0'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will hide the second screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706978#M309549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706979#M309550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No i dont want in popup, i want the screen in that standard screen only.&lt;/P&gt;&lt;P&gt;Plz Can any body help me.&lt;/P&gt;&lt;P&gt;BALU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706979#M309550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706980#M309551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ychatest.                             .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PARAMETERS : r1 RADIOBUTTON GROUP rad USER-COMMAND new,&lt;/P&gt;&lt;P&gt;             r2 RADIOBUTTON GROUP rad.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  IF r2 = 'X'.&lt;/P&gt;&lt;P&gt;    CALL SCREEN 100 .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 100 is ur another screen number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706980#M309551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706981#M309552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H iravi thnk u for the code,&lt;/P&gt;&lt;P&gt;But the first block is going, it has to be there only.&lt;/P&gt;&lt;P&gt;BALU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706981#M309552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706982#M309553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In anversha's code just do the following changes :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &amp;lt;b&amp;gt;screen-ACTIVE = '0'&amp;lt;/b&amp;gt; instead of &amp;lt;b&amp;gt;screen-input = '0'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will hide the second screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706982#M309553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706983#M309554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sekhar,&lt;/P&gt;&lt;P&gt;it will come, but the clicked radio buttons block will not come, so when i clcked on the second radio button, another screen has to come into that standard selection-screen and the clicked radiobutton group has to be there only for clicking.&lt;/P&gt;&lt;P&gt;BALU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706983#M309554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706984#M309555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;check this , small modification to Anvershas code


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(40) 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-name = '%B%_F006' or
   screen-group1 = 'DEF'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.

IF R2 = 'X'.
LOOP AT SCREEN.
IF SCREEN-name = '%B%_F002' or
   screen-group1 = 'ABC'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706984#M309555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706985#M309556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sekhar really thanku for ur coding,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But again the first block is overwriting with second block, i dont want like that, the second block has to come below the first block immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BALU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706985#M309556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706986#M309557</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 this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : R1 RADIOBUTTON GROUP RG USER-COMMAND R DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;PARAMETERS : R2 RADIOBUTTON GROUP RG .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;selection-screen begin of block b1 with frame.&lt;/P&gt;&lt;P&gt;parameters : a(10) type c modif id abc.&lt;/P&gt;&lt;P&gt;parameters : b(10) type c modif id abc.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;selection-screen begin of block b2 with frame.&lt;/P&gt;&lt;P&gt;parameters : c(40) type c modif id def.&lt;/P&gt;&lt;P&gt;parameters : d(20) type c modif id def.&lt;/P&gt;&lt;P&gt;selection-screen end of block b2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;INitialization.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-name = '%B%_F006' or&lt;/P&gt;&lt;P&gt;   screen-group1 = 'DEF'.&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;&amp;lt;b&amp;gt;at selection-screen output.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;IF R2 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-name = '%B%_F002' or&lt;/P&gt;&lt;P&gt;   screen-group1 = 'ABC'.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706986#M309557</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-11-24T11:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706987#M309558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;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(40) 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-name = '%B%_F006' or
   screen-group1 = 'DEF'.
screen-active = '0'.                   "check this
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.

IF R2 = 'X'.
LOOP AT SCREEN.
IF SCREEN-name = '%B%_F002' or
   screen-group1 = 'ABC'.
screen-active = '1'.           "check this
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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 12:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706987#M309558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T12:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706988#M309559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am just changing anver's code it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have look,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;PARAMETERS : R1 RADIOBUTTON GROUP RG USER-COMMAND R DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;PARAMETERS : R2 RADIOBUTTON GROUP RG .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;selection-screen begin of block b1 with frame.&lt;/P&gt;&lt;P&gt;parameters : a(10) type c modif id abc.&lt;/P&gt;&lt;P&gt;parameters : b(10) type c modif id abc.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b2 with frame.&lt;/P&gt;&lt;P&gt;parameters : c(40) type c modif id def.&lt;/P&gt;&lt;P&gt;parameters : d(20) type c modif id def.&lt;/P&gt;&lt;P&gt;selection-screen end of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&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 R1 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-name = '%B%_F006' or&lt;/P&gt;&lt;P&gt;   screen-group1 = 'DEF'.&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;IF R2 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-name = '%B%_F002' or&lt;/P&gt;&lt;P&gt;   screen-group1 = 'ABC'.&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;santhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kaluvala Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 12:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706988#M309559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706989#M309560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have understood your requirement right, u want two different selection screens to appear on the same screen. their appearance is determined by a radio button. if this is the case then there is definitely one way of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately  code for this method cant be given coz its a small procedure by itself. so i am listing the steps involved in doing this - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; this requires some fundamental knowledge on Module pool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a normal screen , say screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Add three objects in the screen &lt;/P&gt;&lt;P&gt;   -  Two Radio buttons with same group , say R1 and R2&lt;/P&gt;&lt;P&gt;   -  A subscreen container which fills rest of the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Now define two selection screens(as per your requirement). this can be done using the following syntax - &lt;/P&gt;&lt;P&gt;   "SELECTION-SCREEN BEGIN OF SCREEN scr AS SUBSCREEN."&lt;/P&gt;&lt;P&gt;  in the above syntax u can give ur prefered screen numbers in place of 'scr'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Now you have two selection screens (say, with numbers 200 &amp;amp; 300)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) In PBO and PAI of screen 100, write code to call the selection screen(s) to fill the sub screen area that you have added using screen painter. the code will be some thing similar to - &lt;/P&gt;&lt;P&gt;    "CALL SUBSCREEN b INCLUDING prog dynnr "&lt;/P&gt;&lt;P&gt;Here u can dynamically feed the value of 'b' with either 200 or 300 as per your radio button selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this method, u can alternate between selection screen on some user action.&lt;/P&gt;&lt;P&gt;Technically speaking, we are embedding a selection screen as subscreen inside a normal screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u in ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mukundhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 12:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706989#M309560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706990#M309561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijay,&lt;/P&gt;&lt;P&gt;Thnx for ur code, it solved my problem, really am very thank full to u,&lt;/P&gt;&lt;P&gt;Bye.&lt;/P&gt;&lt;P&gt;BALU.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 12:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706990#M309561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T12:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: code on Selection-screen radio button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706991#M309562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;hope this should solve ur problem


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(40) 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-name = '%B%_F006' or
   screen-group1 = 'DEF'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 12:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-on-selection-screen-radio-button/m-p/1706991#M309562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T12:07:21Z</dc:date>
    </item>
  </channel>
</rss>

