<?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 AT SELECTION SCREEN OUTPUT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542620#M1428255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;             I have write following code for AT selection screen output to enable or disable the field of date and year. e.g; when user select radio button1 (r_da) then radion button2 (r_fy) becomes disable and vice versa of that. now the problem is that I have to press enter after selecting corresponding radio button in order to enable or disable the selection screen parameter. I want that user don't have to press the ENTER Key, and fields immediately becomes enable or disable as user select radio button. How I can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK abc WITH FRAME TITLE text-001.
PARAMETERS: r_da   RADIOBUTTON GROUP RAD2 DEFAULT 'X' ,
                           r_fy   RADIOBUTTON GROUP  RAD2.
SELECTION-SCREEN END OF BLOCK abc.

AT SELECTION-SCREEN OUTPUT.
  IF r_da = 'X'.
   LOOP AT SCREEN.
    IF Screen-name = 'P_GJAHR'.
      Screen-input = 0.
      screen-group1 = 'BL1'.
      MODIFY SCREEN.
    ENDIF.
   ENDLOOP.
  ENDIF.

 IF r_fy = 'X'.
   LOOP AT SCREEN.
    IF Screen-name = 'S_BUDAT-LOW' OR Screen-name = 'S_BUDAT-HIGH'.
      Screen-input = 0.
      screen-group1 = 'BL1'.
      MODIFY SCREEN.
    ENDIF.
   ENDLOOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sohail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Jan 2010 06:53:39 GMT</pubDate>
    <dc:creator>muhammad_sohail</dc:creator>
    <dc:date>2010-01-16T06:53:39Z</dc:date>
    <item>
      <title>AT SELECTION SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542620#M1428255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;             I have write following code for AT selection screen output to enable or disable the field of date and year. e.g; when user select radio button1 (r_da) then radion button2 (r_fy) becomes disable and vice versa of that. now the problem is that I have to press enter after selecting corresponding radio button in order to enable or disable the selection screen parameter. I want that user don't have to press the ENTER Key, and fields immediately becomes enable or disable as user select radio button. How I can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK abc WITH FRAME TITLE text-001.
PARAMETERS: r_da   RADIOBUTTON GROUP RAD2 DEFAULT 'X' ,
                           r_fy   RADIOBUTTON GROUP  RAD2.
SELECTION-SCREEN END OF BLOCK abc.

AT SELECTION-SCREEN OUTPUT.
  IF r_da = 'X'.
   LOOP AT SCREEN.
    IF Screen-name = 'P_GJAHR'.
      Screen-input = 0.
      screen-group1 = 'BL1'.
      MODIFY SCREEN.
    ENDIF.
   ENDLOOP.
  ENDIF.

 IF r_fy = 'X'.
   LOOP AT SCREEN.
    IF Screen-name = 'S_BUDAT-LOW' OR Screen-name = 'S_BUDAT-HIGH'.
      Screen-input = 0.
      screen-group1 = 'BL1'.
      MODIFY SCREEN.
    ENDIF.
   ENDLOOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sohail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2010 06:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542620#M1428255</guid>
      <dc:creator>muhammad_sohail</dc:creator>
      <dc:date>2010-01-16T06:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542621#M1428256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: r_da   RADIOBUTTON GROUP RAD2 DEFAULT 'X' USER-COMMAND ABC. " add user command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2010 06:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542621#M1428256</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-16T06:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542622#M1428257</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;PRE&gt;&lt;CODE&gt;PARAMETERS: r_da   RADIOBUTTON GROUP rad2  default 'X' USER-COMMAND f1 ,
           r_fy   RADIOBUTTON GROUP  rad2 .
" Once you assign a User Command either in selection or in Module pool programs
" it will trigger automaitic PAI/PBO. This is applicable only to Check Boxes, List Boxes and Radio Buttons

AT SELECTION-SCREEN OUTPUT.
  IF r_da = 'X'.
   LOOP AT SCREEN.
    IF Screen-name = 'P_GJAHR'.
      Screen-input = 0.
      screen-group1 = 'BL1'.
      MODIFY SCREEN.
    ENDIF.
   ENDLOOP. " Instead of closing this continue with ELSEIF
ELSEIF r_fy = 'X'.
   LOOP AT SCREEN.
    IF Screen-name = 'S_BUDAT-LOW' OR Screen-name = 'S_BUDAT-HIGH'.
      Screen-input = 0.
      screen-group1 = 'BL1'.
      MODIFY SCREEN.
    ENDIF.
   ENDLOOP.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2010 07:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542622#M1428257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-16T07:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN OUTPUT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542623#M1428258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muhammad Sohail,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute below code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTEST_ILESH.
PARAMETERS : RB_1  RADIOBUTTON GROUP G1 USER-COMMAND A1,
             RB_2  RADIOBUTTON GROUP G1 ,
             RB_3  RADIOBUTTON GROUP G1 .

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF RB_1 = 'X'.
      IF SCREEN-NAME = 'RB_2' OR
         SCREEN-NAME = 'RB_3'.
        SCREEN-INPUT = 0.
        MODIFY SCREEN.
      ENDIF.
    ELSEIF  RB_2 = 'X'.
      IF SCREEN-NAME = 'RB_1' OR
         SCREEN-NAME = 'RB_3'.
        SCREEN-INPUT = 0.
        MODIFY SCREEN.
      ENDIF.

    ELSEIF RB_3 = 'X'.
      IF SCREEN-NAME = 'RB_1' OR
         SCREEN-NAME = 'RB_2'.
        SCREEN-INPUT = 0.
        MODIFY SCREEN.
      ENDIF.

    ENDIF.

  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2010 07:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output/m-p/6542623#M1428258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-16T07:17:51Z</dc:date>
    </item>
  </channel>
</rss>

