<?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: At selection screen output problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124403#M1511550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TO TRIGGER an output event you need to give user-command to the radiobuttions:&lt;/P&gt;&lt;P&gt;PARAMETER : rb_dwld RADIOBUTTON GROUP radi USER-COMMAND flag DEFAULT 'X',&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jul 2010 05:33:50 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2010-07-28T05:33:50Z</dc:date>
    <item>
      <title>At selection screen output problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124400#M1511547</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 trying to make a few fields disabled based on the selection of a radio button. I have done it in dialog programming, but in report its not working. Please tell me where i have gone wrong. My code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*----------------------------------------------------------------------*
* Selection Screen
*----------------------------------------------------------------------*

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
PARAMETER : rb_dwld RADIOBUTTON GROUP radi DEFAULT 'X',
            rb_upld RADIOBUTTON GROUP radi.
SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
SELECT-OPTIONS : so_cctrl FOR /dceur/z_crconar-crdt_ctrldsa MODIF ID
                                         sc1 NO INTERVALS OBLIGATORY,
                 so_cusno FOR /dceur/z_crdtlmt-dealer MODIF ID sc1.
SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
SELECT-OPTIONS : so_ctrl1 FOR /dceur/z_crconar-crdt_ctrldsa MODIF ID
                                         sc2 NO INTERVALS OBLIGATORY.
PARAMETER pa_fname TYPE rlgrap-filename MODIF ID sc2.
SELECTION-SCREEN END OF BLOCK b3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 03:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124400#M1511547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T03:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen output problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124401#M1511548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;*----------------------------------------------------------------------*
* At selection screen
*----------------------------------------------------------------------*

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    CASE co_x.
      WHEN rb_dwld.
        IF screen-group1 = co_sc2.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      WHEN rb_upld.
        IF screen-group1 = co_sc1.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
    ENDCASE.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 03:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124401#M1511548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T03:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen output problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124402#M1511549</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 the below code.&lt;/P&gt;&lt;P&gt;This is one of my requirement.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Creation of two blocks with parameter fields for create and update
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME.
PARAMETER p_create LIKE rlgrap-filename MODIF ID crt.
SELECTION-SCREEN: END OF BLOCK b1.

SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME.
PARAMETER p_update LIKE rlgrap-filename MODIF ID upt.
SELECTION-SCREEN: END OF BLOCK b2.

* Making one parameter field active at a time
AT SELECTION-SCREEN OUTPUT.
  IF rb_crt = 'X'.                              "CREATE BUTTON IS SELECTED
    PERFORM hide_rb_options.
    CLEAR p_create.
  ELSE.                                         "UPDATE BUTTON IS SELECTED
    PERFORM hide_rb_options.
    CLEAR p_update.
  ENDIF.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  hide_rb_options
*&amp;amp;---------------------------------------------------------------------*

FORM hide_rb_options .
  IF rb_crt = 'X'    .
    LOOP AT SCREEN.
      CASE screen-group1.
        WHEN 'CRT'.
          screen-active = 1.
          MODIFY SCREEN.
        WHEN 'UPT'.
          screen-active = 0.
          MODIFY SCREEN.
      ENDCASE.
    ENDLOOP.
  ELSE.

    LOOP AT SCREEN.
      CASE screen-group1.
        WHEN 'UPT'.
          screen-active = 1.
          MODIFY SCREEN.
        WHEN 'CRT'.
          screen-active = 0.
          MODIFY SCREEN.
      ENDCASE.
    ENDLOOP.
  ENDIF.
ENDFORM.                    " hide_rb_options&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;May it helps you.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;DS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 04:36:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124402#M1511549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-28T04:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen output problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124403#M1511550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TO TRIGGER an output event you need to give user-command to the radiobuttions:&lt;/P&gt;&lt;P&gt;PARAMETER : rb_dwld RADIOBUTTON GROUP radi USER-COMMAND flag DEFAULT 'X',&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2010 05:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-output-problem/m-p/7124403#M1511550</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2010-07-28T05:33:50Z</dc:date>
    </item>
  </channel>
</rss>

