<?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: Help with selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455264#M1414609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below code works  perfectly as per ur requirement...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: W_CHAR TYPE I.

parameters: R1 radiobutton group RAD USER-COMMAND FCODE,
R2 radiobutton GROUP RAD,
R3 radiobutton GROUP RAD.

parameterS : p1 TYPE I MODIF ID MOD.
select-optionS: S1 FOR W_CHAR.

AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF R2 = 'X'." OR R1 = 'X'.
ELSE.
  IF SCREEN-GROUP1 = 'MOD'.
    SCREEN-ACTIVE = 0.
   MODIFY SCREEN.
  ENDIF.
ENDIF.
ENDLOOP.
&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;Deeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2010 12:37:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-13T12:37:18Z</dc:date>
    <item>
      <title>Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455261#M1414606</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;I Need help on radio button group ..My requirement is like below example and please give answers to particular one .dont be general&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg : &lt;/P&gt;&lt;P&gt; Below is the my selection screen block ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; parameters:   : R1  radiobutton &lt;/P&gt;&lt;P&gt;                         R2  radiobutton &lt;/P&gt;&lt;P&gt;                         R3  radiobutton &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; parameter   :  p1 &lt;/P&gt;&lt;P&gt; select option :S1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click radibutton R2 parameter p1 should be defaulted , and when again  i go to R1 or R3 i should clear P1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF  R3 =  'x'.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'M1' OR&lt;/P&gt;&lt;P&gt;         screen-group1 = 'M2'.&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;    IF r2 = 'x'.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'M1'.&lt;/P&gt;&lt;P&gt;        p1 = text-000. "defaiult text &lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF r3 = gc_x .&lt;/P&gt;&lt;P&gt;      IF screen-group1 EQ 'M1'.&lt;/P&gt;&lt;P&gt;        CLEAR: p1.&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;&lt;/P&gt;&lt;P&gt;I am  using above code . but  when give some values in S1 and P1 and press enter P1 is getting cleared which i dont &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give other ideas specific to above logic only .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;LOCKED BY MODERATOR - URGEN&lt;/STRONG&gt;, PLEAS* HE&lt;STRONG&gt;P OR SIMILAR ARE FORBIDDEN&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 13, 2010 9:58 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 13, 2010 9:58 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Jan 13, 2010 9:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 11:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455261#M1414606</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T11:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455262#M1414607</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 short example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: P1 DEFAULT 'X' RADIOBUTTON GROUP PR1 USER-COMMAND DUMMY.
PARAMETERS: P2             RADIOBUTTON GROUP PR1.
PARAMETERS: P3             RADIOBUTTON GROUP PR1.
PARAMETERS: VAL1(10) MODIF ID DI1.
PARAMETERS: VAL2(10) MODIF ID DI2.
*
AT SELECTION-SCREEN OUTPUT.
*
  IF P1 = 'X'.
       VAL1 = 'Muster'.
  ELSE.
       CLEAR VAL1.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455262#M1414607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T12:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455263#M1414608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you check this, its not tested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:pa type matnr.&lt;/P&gt;&lt;P&gt;parameters: : R1 radiobutton group1 default 'X' user-command ABC.&lt;/P&gt;&lt;P&gt;R2 radiobutton  group1,&lt;/P&gt;&lt;P&gt;R3 radiobutton  group1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if R1 = 'X' or R3 = 'X'.&lt;/P&gt;&lt;P&gt;clear pa.&lt;/P&gt;&lt;P&gt;elseif R2 = 'X'.&lt;/P&gt;&lt;P&gt;pa = 123.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455263#M1414608</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-13T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455264#M1414609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below code works  perfectly as per ur requirement...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: W_CHAR TYPE I.

parameters: R1 radiobutton group RAD USER-COMMAND FCODE,
R2 radiobutton GROUP RAD,
R3 radiobutton GROUP RAD.

parameterS : p1 TYPE I MODIF ID MOD.
select-optionS: S1 FOR W_CHAR.

AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF R2 = 'X'." OR R1 = 'X'.
ELSE.
  IF SCREEN-GROUP1 = 'MOD'.
    SCREEN-ACTIVE = 0.
   MODIFY SCREEN.
  ENDIF.
ENDIF.
ENDLOOP.
&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;Deeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455264#M1414609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T12:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455265#M1414610</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; If you can see code i pasted .i have used the same logic only ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try the same what you mentioned .When you press enter on selection screen The values in paramter is getting cleared which i dont  want .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mentioned it .Please look at it and one more its not probelm of nesting .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So clear statement wont work here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for ur reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455265#M1414610</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T12:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455266#M1414611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deeba &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if we use Screen-active = 0. The parameter itself  wont appear on screen which dont .Just I need blank parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455266#M1414611</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T12:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455267#M1414612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you press enter on selection screen The values in paramter is getting cleared &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if the radio button 1 or 3 are marked while you hit enter.   This was your requirement( if 1 or 3 choosed clear and if 2 choosed default ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by "should be defaulted".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455267#M1414612</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-13T12:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455268#M1414613</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;i give you a little short example and it solved what you need, isn't it??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you test it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455268#M1414613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T12:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455269#M1414614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi keshav &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; When we press enter also same At selection screen output will trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I can say you understood my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Do you have any idea on this . But  we cant check  radio buttons flag when we press ENTER&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455269#M1414614</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T12:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455270#M1414615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi even if we hit enter, the code will work only based on the 'if' condition written, so the enter doesnt have any precedence here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please me more clear, exactly what do you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455270#M1414615</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-13T12:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455271#M1414616</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;Yes I have tested it .still its clearing .See the below code same i pasted before.&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 TITLE text-a02.&lt;/P&gt;&lt;P&gt;PARAMETERS : p_rb1 TYPE c  RADIOBUTTON GROUP  gr1 USER-COMMAND u1,&lt;/P&gt;&lt;P&gt;             p_rb2 TYPE c RADIOBUTTON GROUP gr1,&lt;/P&gt;&lt;P&gt;             p_rb3 TYPE c RADIOBUTTON GROUP gr1,&lt;/P&gt;&lt;P&gt;             p_res TYPE hrs1000-stext MODIF ID m1 .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS :&lt;/P&gt;&lt;P&gt;           s_res_ob FOR hrp1240-objid MODIF ID m2   .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above is my selection screen apart with some fileds ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF p_rb3 = gc_x.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'M1' OR&lt;/P&gt;&lt;P&gt;         screen-group1 = 'M2'.&lt;/P&gt;&lt;P&gt;        screen-active = '0'.&lt;/P&gt;&lt;P&gt;        CLEAR: p_res.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF p_rb2 = gc_x.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'M1'.&lt;/P&gt;&lt;P&gt;        p_res = text-000.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF p_rb1 = gc_x .&lt;/P&gt;&lt;P&gt;      IF screen-group1 EQ 'M1'.&lt;/P&gt;&lt;P&gt;       clear : p_res.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455271#M1414616</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T12:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455272#M1414617</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; The parameters should clear only when toggle between other 2 radio buttons but not when we press enter on sel.screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But for my code its clearing parameter when i press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement is clear becauase i pasted code also.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 12:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455272#M1414617</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T12:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455273#M1414618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this is just a guess.&lt;/P&gt;&lt;P&gt;can you try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p1 type matnr memory ID TST.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 13:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455273#M1414618</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-13T13:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455274#M1414619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kamesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I worked with your code and SLIGHTLY modified and enhanced. &lt;/P&gt;&lt;P&gt;The lines changed/added are with comment @@@@@@&lt;/P&gt;&lt;P&gt;and it works fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;1. R2 to R1 = parameter is cleared&lt;/P&gt;&lt;P&gt;2. R1 and we press enter = Entered Value REMAINS (does not get cleared)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Just copy paste.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;



SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-a02.
PARAMETERS : p_rb1 TYPE c RADIOBUTTON GROUP gr1 USER-COMMAND u1,
p_rb2 TYPE c RADIOBUTTON GROUP gr1,
p_rb3 TYPE c RADIOBUTTON GROUP gr1,
p_res TYPE hrs1000-stext MODIF ID m1 .
SELECT-OPTIONS :
s_res_ob FOR hrp1240-objid MODIF ID m2 .

SELECTION-SCREEN END OF BLOCK b2.

*"@@@@@@@@@@@@@@@@@@@@@@ add this declaration
DATA : rb2flag type c.




*above is my selection screen apart with some fileds ...

AT SELECTION-SCREEN OUTPUT.
*BREAK-POINT.

  LOOP AT SCREEN.
    IF p_rb3 = 'X'.
      IF screen-group1 = 'M1' OR
      screen-group1 = 'M2'.
        screen-active = '0'.
*        CLEAR: p_res. "@@@@@@ comment this line
      ENDIF.
    ENDIF.
    IF p_rb2 = 'X'.
      IF screen-group1 = 'M1'.
*        p_res = text-000. "@@@@@@ comment this line
        screen-input = '0'.
        rb2flag = 'X'. "@@@@@ add this line.
      ENDIF.
    ENDIF.
    IF p_rb1 = 'X' .
      IF screen-group1 EQ 'M1'.
*        clear : p_res. "@@@@@@ comment this line
      ENDIF.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.

*"@@@@@@@@@@@@ add this code
  if rb2flag = 'X'.
    p_res = text-000.
    clear rb2flag.
  else.
    if p_res = text-000.
      clear p_res.
    endif.
  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;amit m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Mittal on Jan 13, 2010 6:42 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amit Mittal on Jan 13, 2010 6:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 13:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455274#M1414619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-13T13:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455275#M1414620</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;if you need Need &lt;STRONG&gt;help on radio button group&lt;/STRONG&gt;, why use a subject of '&lt;STRONG&gt;Help with selection screen&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="magenta" __jive_macro_name="color"&gt;&lt;SPAN __default_attr="1228" __jive_macro_name="size"&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 13:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455275#M1414620</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-01-13T13:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455276#M1414621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or try the menu System u2192 User specifications u2192 Hold data, mark it and check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 13:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455276#M1414621</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-13T13:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455277#M1414622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by Amit Mittal    	 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and Awarded points ..Close this forum..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 13:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455277#M1414622</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T13:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455278#M1414623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved  by Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 13:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-selection-screen/m-p/6455278#M1414623</guid>
      <dc:creator>kamesh_g</dc:creator>
      <dc:date>2010-01-13T13:41:17Z</dc:date>
    </item>
  </channel>
</rss>

