<?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: selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917179#M686806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It got Solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2007 17:59:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-19T17:59:29Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917176#M686803</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 have 3 radiobuttons and 3 input fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i have select the 1 radiobutton , the 1 first input only accept the value and other 2,3  input fields are grayed out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i have select 2 radio button , the 2 second input filed accept the value and other1 and 3 are grayed out respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Aj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917176#M686803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T17:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917177#M686804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can handle this in event AT SELECTION-SCREEN OUTPUT -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF RB1 = 'X'&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN&lt;/P&gt;&lt;P&gt;     IF SCREEN-NAME = RB2 / RB3, change screen input property to o&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;&lt;/P&gt;&lt;P&gt;Similar code you can do for remaining radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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;if rad1 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'RAD2' or SCREEN-NAME = 'RAD3'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0. "TO make it read only&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0. " TO Hide based on your requirement use any one line&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;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ashish Gundawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917177#M686804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T17:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917178#M686805</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;Please check this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: P_RAD1  RADIOBUTTON GROUP GRP1 DEFAULT 'X'
                    USER-COMMAND CHECK.
PARAMETERS: P_RAD2  RADIOBUTTON GROUP GRP1,
            P_RAD3  RADIOBUTTON GROUP GRP1.
                                                                        
PARAMETERS: P_FIELD1 TYPE C,
            P_FIELD2 TYPE C,
            P_FIELD3 TYPE C.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF ( P_RAD1 = 'X' AND ( SCREEN-NAME = 'P_FIELD2' OR
                            SCREEN-NAME = 'P_FIELD3' ) )
    OR ( P_RAD2 = 'X' AND ( SCREEN-NAME = 'P_FIELD1' OR
                            SCREEN-NAME = 'P_FIELD3' ) )
    OR ( P_RAD3 = 'X' AND ( SCREEN-NAME = 'P_FIELD1' OR
                            SCREEN-NAME = 'P_FIELD2' ) ).
      SCREEN-INPUT = '0'.
    ENDIF.

    MODIFY SCREEN.
  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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917178#M686805</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-19T17:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917179#M686806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It got Solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2917179#M686806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T17:59:29Z</dc:date>
    </item>
  </channel>
</rss>

