<?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: Radio button processing in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568922#M256834</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 to hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: r_copy RADIOBUTTON GROUP R1 default 'X' user-command rusr,&lt;/P&gt;&lt;P&gt;r_delete RADIOBUTTON GROUP R1,&lt;/P&gt;&lt;P&gt;p_copy(10) modif id Z1,&lt;/P&gt;&lt;P&gt;p_delete(10) modif id z2.&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;      IF ( r_copy  = 'X' and SCREEN-GROUP1 = 'Z1' ) or&lt;/P&gt;&lt;P&gt;        ( r_delete = 'X' and SCREEN-GROUP1 = 'Z2' ) or&lt;/P&gt;&lt;P&gt;         ( screen-name CS 'R_COPY' ) or ( screen-name CS 'R_DELETE' ).&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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2006 06:21:08 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2006-10-17T06:21:08Z</dc:date>
    <item>
      <title>Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568915#M256827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai all.&lt;/P&gt;&lt;P&gt;I have two radio buttons i.e P0(copy) &amp;amp; P1(delete) on selection screen. if i click on copy it shoud display the copy related selection screen. if click delete it should display delete relate selection screen,. default is delete&lt;/P&gt;&lt;P&gt;related selection-screen. Now i am getting the above selection screen, but by default it is displaying all fileds on the selection-screen but iwant to display only the delete related selection-screen(P_VERDEL).Here i am copying the code. Please give me some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK rad1 WITH FRAME TITLE text-003 .&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 11.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(12) text-004 modif id mg1.&lt;/P&gt;&lt;P&gt;parameters p_verfr like zrepl_gps-ZVERSIONFROM modif id mg1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 41 .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 35(16) text-005 modif id mg1.&lt;/P&gt;&lt;P&gt;parameters p_verto like zrepl_gps-ZVERSIONTO modif id mg1.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 11.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(22) text-008 modif id mg2.&lt;/P&gt;&lt;P&gt;Parameters : p_verdel(10) type c modif id mg2.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen skip 4.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 11.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(10) text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P0 RADIOBUTTON GROUP RADI user-command ABCD.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 41.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 35(16) text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS P1 RADIOBUTTON GROUP RADI default 'X'.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;parameters : c2 as checkbox.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end OF BLOCK rad1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_chk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;  if sy-ucomm = 'ABCD'.&lt;/P&gt;&lt;P&gt;    v_chk = 'X'.&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;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  if v_chk = 'X'.&lt;/P&gt;&lt;P&gt;    loop at screen.&lt;/P&gt;&lt;P&gt;      IF P0 = 'X'.&lt;/P&gt;&lt;P&gt;        if SCREEN-GROUP1 = 'MG2'.&lt;/P&gt;&lt;P&gt;          screen-input = 0.&lt;/P&gt;&lt;P&gt;          screen-active = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      elseif P1 = 'X'.&lt;/P&gt;&lt;P&gt;        if SCREEN-GROUP1 = 'MG1'.&lt;/P&gt;&lt;P&gt;          screen-input = 0.&lt;/P&gt;&lt;P&gt;          screen-active = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      modify screen.&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>Tue, 17 Oct 2006 05:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568915#M256827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T05:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568916#M256828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;at selection-screen.---&amp;gt;problem is here ? check ur code 
if sy-ucomm = 'ABCD'.
v_chk = 'X'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 05:26:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568916#M256828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T05:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568917#M256829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;can please give the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rams&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 05:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568917#M256829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T05:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568918#M256830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check with below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK rad1 WITH FRAME TITLE text-003 .
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(12) text-004 modif id mg1.
parameters p_verfr like zrepl_gps-ZVERSIONFROM modif id mg1.
SELECTION-SCREEN POSITION 41 .
SELECTION-SCREEN COMMENT 35(16) text-005 modif id mg1.
parameters p_verto like zrepl_gps-ZVERSIONTO modif id mg1.
selection-screen end of line.
selection-screen skip 1.
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(22) text-008 modif id mg2.
Parameters : p_verdel(10) type c modif id mg2.
selection-screen end of line.
selection-screen skip 4.
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(10) text-001.

PARAMETERS : P0 RADIOBUTTON GROUP RADI user-command ABCD.
SELECTION-SCREEN POSITION 41.
SELECTION-SCREEN COMMENT 35(16) text-002.
PARAMETERS P1 RADIOBUTTON GROUP RADI default 'X'.
selection-screen end of line.
selection-screen skip 1.
parameters : c2 as checkbox.
SELECTION-SCREEN end OF BLOCK rad1.

data: v_chk.

at selection-screen.
  if sy-ucomm = 'ABCD'.
    v_chk = 'X'.
  endif.
************************************************************************
***********

AT SELECTION-SCREEN OUTPUT.
    loop at screen.
      case p0.
      when 'X'.
         if screen-name cs 'P_VERDEL'.
            screen-active = 0.
         else.
            screen-active = 1.
         endif.
      when others.
         if screen-name cs 'P_VERT' or scren-name cs 'P_VERF'.
            screen-active = 0.
         else.
            screen-active = 1.
         endif.
      endcase.
      modify screen.
    endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Eswar Rao  Boddeti&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 05:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568918#M256830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568919#M256831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;In this case, paramenter options are disabled but the selection secreen text is showing. But my requirment i don't want to display the selection-screen text also(i.E&lt;/P&gt;&lt;P&gt;Version from and Version to when i select Delete Radio Button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks i advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 06:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568919#M256831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T06:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568920#M256832</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 and kindly reward points if it helps.&lt;/P&gt;&lt;P&gt;PARAMETERS: r_copy RADIOBUTTON GROUP R1 default 'X' user-command rusr,&lt;/P&gt;&lt;P&gt;r_delete RADIOBUTTON GROUP R1,&lt;/P&gt;&lt;P&gt;p_copy(10) modif id Z1,&lt;/P&gt;&lt;P&gt;p_delete(10) modif id z2.&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;      IF ( r_copy  = 'X' and SCREEN-GROUP1 = 'Z1' ) or&lt;/P&gt;&lt;P&gt;        ( r_delete = 'X' and SCREEN-GROUP1 = 'Z2' ) or&lt;/P&gt;&lt;P&gt;         ( screen-name = 'R_COPY' ) or ( screen-name = 'R_DELETE' ).&lt;/P&gt;&lt;P&gt;        SCREEN-input = 1.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        SCREEN-input = 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 06:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568920#M256832</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-10-17T06:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568921#M256833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check by doing the following changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK rad1 WITH FRAME TITLE text-003 .
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(12) text-004 modif id mg1.
parameters p_verfr like zrepl_gps-ZVERSIONFROM modif id mg1.
SELECTION-SCREEN POSITION 41 .
SELECTION-SCREEN COMMENT 35(16) text-005 modif id mg1.
parameters p_verto like zrepl_gps-ZVERSIONTO modif id mg1.
selection-screen end of line.
selection-screen skip 1.
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(22) text-008 modif id mg2.
Parameters : p_verdel(10) type c modif id mg2.
selection-screen end of line.
selection-screen skip 4.
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(10) text-001.

PARAMETERS : P0 RADIOBUTTON GROUP RADI user-command ABCD.
SELECTION-SCREEN POSITION 41.
SELECTION-SCREEN COMMENT 35(16) text-002.
PARAMETERS P1 RADIOBUTTON GROUP RADI default 'X'.
selection-screen end of line.
selection-screen skip 1.
parameters : c2 as checkbox.
SELECTION-SCREEN end OF BLOCK rad1.

data: v_chk.

at selection-screen.
  if sy-ucomm = 'ABCD'.
    v_chk = 'X'.
  endif.
************************************************************************
***********

AT SELECTION-SCREEN OUTPUT.
    loop at screen.
      case p0.
      when 'X'.
         if &amp;lt;b&amp;gt;screen-group1 = 'MG1'&amp;lt;/b&amp;gt;. "name cs 'P_VERDEL'.
            screen-active = 0.
         else.
            screen-active = 1.
         endif.
      when others.
         if &amp;lt;b&amp;gt;screen-group1 = 'MG2'&amp;lt;/b&amp;gt;. "-name cs 'P_VERT' or scren-name cs 'P_VERF'.
            screen-active = 0.
         else.
            screen-active = 1.
         endif.
      endcase.
      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>Tue, 17 Oct 2006 06:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568921#M256833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T06:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568922#M256834</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 to hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: r_copy RADIOBUTTON GROUP R1 default 'X' user-command rusr,&lt;/P&gt;&lt;P&gt;r_delete RADIOBUTTON GROUP R1,&lt;/P&gt;&lt;P&gt;p_copy(10) modif id Z1,&lt;/P&gt;&lt;P&gt;p_delete(10) modif id z2.&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;      IF ( r_copy  = 'X' and SCREEN-GROUP1 = 'Z1' ) or&lt;/P&gt;&lt;P&gt;        ( r_delete = 'X' and SCREEN-GROUP1 = 'Z2' ) or&lt;/P&gt;&lt;P&gt;         ( screen-name CS 'R_COPY' ) or ( screen-name CS 'R_DELETE' ).&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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 06:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568922#M256834</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-10-17T06:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568923#M256835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eswar!&lt;/P&gt;&lt;P&gt;Can you please copy and test this program.&lt;/P&gt;&lt;P&gt;It working ok but only that i want to display delete &lt;/P&gt;&lt;P&gt;as default when we execute the report.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK rad1 WITH FRAME TITLE text-003.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 11.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(12) text-004 modif id mg1.&lt;/P&gt;&lt;P&gt;parameters p_verfr(10)  type c modif id mg1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 41.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 35(16) text-005 modif id mg1.&lt;/P&gt;&lt;P&gt;parameters p_verto(10)  type c modif id mg1.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 11.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(22) text-008 modif id mg2.&lt;/P&gt;&lt;P&gt;Parameters : p_seldel(10) type c  modif id mg2.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen skip 4.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 11.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(10) text-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : P0 RADIOBUTTON GROUP RADI user-command ABCD.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 41.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 35(16) text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS : P1 RADIOBUTTON GROUP RADI default 'X'.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end OF BLOCK rad1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_chk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;  if sy-ucomm = 'ABCD'.&lt;/P&gt;&lt;P&gt;    v_chk = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  if v_chk = 'X'.&lt;/P&gt;&lt;P&gt;    loop at screen.&lt;/P&gt;&lt;P&gt;      IF P0 = 'X'.&lt;/P&gt;&lt;P&gt;        if SCREEN-GROUP1 = 'MG2'.&lt;/P&gt;&lt;P&gt;          screen-input = 0.&lt;/P&gt;&lt;P&gt;          screen-active = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      elseif P1 = 'X'.&lt;/P&gt;&lt;P&gt;        if SCREEN-GROUP1 = 'MG1'.&lt;/P&gt;&lt;P&gt;          screen-input = 0.&lt;/P&gt;&lt;P&gt;          screen-active = 0.          &lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      modify screen.&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>Tue, 17 Oct 2006 06:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568923#M256835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T06:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568924#M256836</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;Check this.&lt;/P&gt;&lt;P&gt;PARAMETERS : P0 RADIOBUTTON GROUP RADI user-command ABCD default 'X' .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 41.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 35(16) text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS : P1 RADIOBUTTON GROUP RADI .&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end OF BLOCK rad1.&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>Tue, 17 Oct 2006 07:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568924#M256836</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-10-17T07:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button processing in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568925#M256837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Just by commenting the IF condition, it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK rad1 WITH FRAME TITLE text-003.
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(12) text-004 modif id mg1.
parameters p_verfr(10) type c modif id mg1.
SELECTION-SCREEN POSITION 41.
SELECTION-SCREEN COMMENT 35(16) text-005 modif id mg1.
parameters p_verto(10) type c modif id mg1.
selection-screen end of line.
selection-screen skip 1.
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(22) text-008 modif id mg2.
Parameters : p_seldel(10) type c modif id mg2.
selection-screen end of line.
selection-screen skip 4.
selection-screen begin of line.
SELECTION-SCREEN POSITION 11.
SELECTION-SCREEN COMMENT 1(10) text-001.
PARAMETERS : P0 RADIOBUTTON GROUP RADI user-command ABCD.
SELECTION-SCREEN POSITION 41.
SELECTION-SCREEN COMMENT 35(16) text-002.
PARAMETERS : P1 RADIOBUTTON GROUP RADI default 'X'.
selection-screen end of line.
SELECTION-SCREEN end OF BLOCK rad1.

data: v_chk.

at selection-screen.
  if sy-ucomm = 'ABCD'.
    v_chk = 'X'.
  endif.

AT SELECTION-SCREEN OUTPUT.
&amp;lt;b&amp;gt;*  if v_chk = 'X'.&amp;lt;/b&amp;gt;
    loop at screen.
      IF P0 = 'X'.
        if SCREEN-GROUP1 = 'MG2'.
          screen-input = 0.
          screen-active = 0.
        ENDIF.
      elseif P1 = 'X'.
        if SCREEN-GROUP1 = 'MG1'.
          screen-input = 0.
          screen-active = 0.
        ENDIF.
      endif.
      modify screen.
    endloop.
&amp;lt;b&amp;gt;*  ENDIF.&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I dont know why you are using V_CHK, but if you definetely need it, you can make the condition as &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    &amp;lt;b&amp;gt;if v_chk = 'X' or SY-UCOMM IS INITIAL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   This will also still work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Hope this time it helps you.&lt;/P&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>Tue, 17 Oct 2006 07:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-processing-in-selection-screen/m-p/1568925#M256837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T07:02:27Z</dc:date>
    </item>
  </channel>
</rss>

