<?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 in dialog program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489270#M1256311</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;In addition to above answer if you are using Table control and want to change attributes at press of either of buttons, then you should read structure TAB_C-COLS, where TAB_C is name of table control.&lt;/P&gt;&lt;P&gt;COLS has structure similar to SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2009 15:51:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-23T15:51:25Z</dc:date>
    <item>
      <title>Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489268#M1256309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 radio buttons in my screen. I have grouped them. My requirement is that when i select RB1 one input/output field should be enabled and when i select RB2 it should be disabled.&lt;/P&gt;&lt;P&gt;Also when Iam trying to select the other radio button its asking me to fill in all the required fields. but i want other mandatory fields to be filled after selecting the radio button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489268#M1256309</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-04-23T13:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489269#M1256310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;enabling and disabling can be done using loop at screen in pbo module. &lt;/P&gt;&lt;P&gt;Just search the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For other issue. Don't mark any fields as mandatory. instead you check it manually the mandatory fields initial check.&lt;/P&gt;&lt;P&gt;So that you can avoid that error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489269#M1256310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T13:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489270#M1256311</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;In addition to above answer if you are using Table control and want to change attributes at press of either of buttons, then you should read structure TAB_C-COLS, where TAB_C is name of table control.&lt;/P&gt;&lt;P&gt;COLS has structure similar to SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 15:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489270#M1256311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T15:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489271#M1256312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;LOOP at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'Your field"&lt;/P&gt;&lt;P&gt;Screen-Input = 0.&lt;/P&gt;&lt;P&gt;Screen-Invisible = 1.&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;HR originaltext="--------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code hope it will solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 00:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489271#M1256312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T00:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489272#M1256313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suvendu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. Your code has worked. But when I am trying to inactive two fields at a time it's not working.&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;WHEN 'F_AT'.&lt;/P&gt;&lt;P&gt;IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;IF screen-name = 'field1' AND screen-name = 'field2'.&lt;/P&gt;&lt;P&gt;Screen-Input = 0.&lt;/P&gt;&lt;P&gt;Screen-Invisible = 1.&lt;/P&gt;&lt;P&gt;Modify Screen.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not working. what might be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 04:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489272#M1256313</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-04-24T04:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489273#M1256314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put Field1 and Field2 in one screen Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE sy-ucomm.
WHEN 'F_AT'.
Loop at screen.
IF R1 = 'X'.
IF screen-Group1 = &amp;lt;Group&amp;gt;.
Active = 0.
Modify Screen.
ENDIF.
ENDIF.
Endloop.
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR:&lt;/P&gt;&lt;P&gt;IN PBO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at screen.
IF R1 = 'X'.
IF screen-Group1 = &amp;lt;Group&amp;gt;.
Active = 0.
Modify Screen.
ENDIF.
ENDIF.
Endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 05:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489273#M1256314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T05:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489274#M1256315</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;This is my pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. SELECTION-SCREEN&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS  RB1  RADIOBUTTON  GROUP  GRP1  USER-COMMAND  C1000   DEFAULT 'X'.
PARAMETERS  P_BUKRS1  TYPE  BUKRS  MODIF ID I01.
PARAMETERS  P_BUKRS2  TYPE  BUKRS  MODIF ID I01.

PARAMETERS  RB2  RADIOBUTTON  GROUP  GRP1.
PARAMETERS  P_MATNR1  TYPE  MATNR  MODIF ID I02.
PARAMETERS  P_MATNR2  TYPE  MATNR  MODIF ID I02.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. AT SELECTION-SCREEN OUTPUT&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  IF RB1 NE 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 EQ 'I01'.          " MODIF ID
        SCREEN-ACTIVE = '0'.                   "(or Vissible, InVisible)
      ELSE.
        SCREEN-ACTIVE = '1'.                   "(or Vissible, InVisible)
      ENDIF.
      MODIFY SCREEN..
    ENDLOOP.
  ENDIF.

  IF RB2 NE 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 EQ 'I02'.          " MODIF ID
        SCREEN-ACTIVE = '0'.                   "(or Vissible, InVisible)
      ELSE.
        SCREEN-ACTIVE = '1'.                   "(or Vissible, InVisible)
      ENDIF.
      MODIFY SCREEN..
    ENDLOOP.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^^;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: William KIM on Apr 24, 2009 8:01 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: William KIM on Apr 24, 2009 8:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 06:00:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489274#M1256315</guid>
      <dc:creator>former_member517992</dc:creator>
      <dc:date>2009-04-24T06:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489275#M1256316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I know how to put 2 fields in one screen-group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 06:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489275#M1256316</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-04-24T06:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489276#M1256317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Module Pool:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Goto--&amp;gt;Screen Painter--&amp;gt;Properties of  the Input/Output Field--&amp;gt;Give the group name(First box only).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report:&lt;/P&gt;&lt;P&gt;Use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Modif ID 'XX'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 06:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489276#M1256317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T06:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489277#M1256318</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;Thanks for ur inputs. &lt;/P&gt;&lt;P&gt;Every thing went right untill this problem araised.&lt;/P&gt;&lt;P&gt;I am haveing 5 radio buttons in my screen where where 2 buttons are one group and the rest are grouped in another group.&lt;/P&gt;&lt;P&gt;when one radio button in group 1 is selected then the required screen-group is getting disabled, and again when i am selecting radio button in group 2 another screen-group is getting disabled but the previously disabled screen-group is getting enabled again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please provide a solution to my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 07:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489277#M1256318</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-04-24T07:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489278#M1256319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you Click the Button the Field is disable and again when you click the other button make the screen field active(Screen-Active = 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF button1 = 'X'.
Loop at screen.
IF screen-Group1 = &amp;lt;Group&amp;gt;.
Active = 0.
Modify Screen.
ENDIF.
Endloop.
ELSE.
Loop at screen.
IF screen-Group1 = &amp;lt;Group&amp;gt;.
Active = 1.
Modify Screen.
ENDIF.
Endloop.
ENDIF.&lt;/CODE&gt;&lt;/PRE&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;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 07:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489278#M1256319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T07:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489279#M1256320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurupreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO my code goes like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'F_AT'.&lt;/P&gt;&lt;P&gt;IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'G1'.&lt;/P&gt;&lt;P&gt;Screen-Input = 0.&lt;/P&gt;&lt;P&gt;Screen-Invisible = 1.&lt;/P&gt;&lt;P&gt;Modify Screen.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'F_MOP'.&lt;/P&gt;&lt;P&gt;IF R3 = 'X'.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'G2'.&lt;/P&gt;&lt;P&gt;Screen-Input = 0.&lt;/P&gt;&lt;P&gt;Screen-Invisible = 1.&lt;/P&gt;&lt;P&gt;Modify Screen.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF R4 = 'X'.&lt;/P&gt;&lt;P&gt;if screen-name = 'field1'.&lt;/P&gt;&lt;P&gt;Screen-Input = 0.&lt;/P&gt;&lt;P&gt;Screen-Invisible = 1.&lt;/P&gt;&lt;P&gt;Modify Screen.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF R5 = 'X'.&lt;/P&gt;&lt;P&gt;if screen-name = 'field2'.&lt;/P&gt;&lt;P&gt;Screen-Input = 0.&lt;/P&gt;&lt;P&gt;Screen-Invisible = 1.&lt;/P&gt;&lt;P&gt;Modify Screen.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any changes that I need to make to this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 08:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489279#M1256320</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-04-24T08:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489280#M1256321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where ever you require the field to diaply Use&lt;/P&gt;&lt;P&gt;Subroutine Perform screen_opt_grp USING 'G1' '1' '0'. Pass the Group name not displaying.&lt;/P&gt;&lt;P&gt;Try to Avoid Case statement inside the LOOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE SY_UCOMM.
WHEN 'F_AT'.
IF R1 = 'X'.
Perform screen_opt_grp USING 'G1' '0' '1'.
ELSE.              " R2 = 'X' Display the field
Perform screen_opt_grp USING 'G1' '1' '0'.
ENDIF.

WHEN 'F_MOP'.

IF R3 = 'X'.
Perform screen_opt_grp USING 'G2' '0' '1'.
ELSEIF R4 = 'X'.
PErform Screen_opt_name USING 'FIELD1' '0' '1'.
ELSEIF R5 = 'X'.
PErform Screen_opt_name USING 'FIELD2' '0' '1'.
ENDIF.
ENDCASE.

FORM Screen_OPT_GRP Using VALUE(GRP)
                          Value(W1)
                          Value(W2).               " SCreen Group
LOOP AT SCREEN.
if screen-group1 = GRP.
Screen-Input = W1.
Screen-Invisible = W2.
Modify Screen.
ENDIF.
ENDLOOP.
ENDFORM.


FORM Screen_OPT_NAMEUsing VALUE(L_NAME)
                          Value(W1)
                          Value(W2).           " Screen Name.
LOOP AT SCREEN.
if screen-name = L_NAME.
Screen-Input = W1.
Screen-Invisible = W2.
Modify Screen.
ENDIF.
ENDLOOP.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&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;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 08:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489280#M1256321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T08:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489281#M1256322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurupreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply. But my problem has not rectified with that. still when I am selecting RB from second group the previously disabled screen-group (when selecting RB from first group)is getting enabled.&lt;/P&gt;&lt;P&gt;please try to rectify my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Sri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 11:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489281#M1256322</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-04-24T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489282#M1256323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think now i have the correct picture of your problem.&lt;/P&gt;&lt;P&gt;Everytime you select radiobutton from 2nd group PBO is execute again and the screen table is refreshed.Which enables the disable field.Make the field disable in the 2nd case also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY_UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'F_AT'.&lt;/P&gt;&lt;P&gt;IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;Disable Screen Group&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WHEN 'F_MOP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF R1 = 'X'.
Disable Screen Group                 " Check the radiobutton here also
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF R3 = 'X.&lt;/P&gt;&lt;P&gt;Process.&lt;/P&gt;&lt;P&gt;ELSEIF R4 = 'X'.&lt;/P&gt;&lt;P&gt;Process.&lt;/P&gt;&lt;P&gt;ENDIF.'&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 12:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489282#M1256323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T12:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489283#M1256324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enabling and disabling of screen fields can be done only in PBO .&lt;/P&gt;&lt;P&gt;You can check if the field is X in PBO then display two field else the other two fields.&lt;/P&gt;&lt;P&gt;Or if you are using PAI set some flag or value and check the same in PBO. before hiding the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample code is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO : &lt;/P&gt;&lt;P&gt;If R1 = X. (field value set or flag set)&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;IF screen-name = 'field1' OR screen-name = 'field2'.&lt;/P&gt;&lt;P&gt;Screen-Input = 0.&lt;/P&gt;&lt;P&gt;Screen-Invisible = 1.&lt;/P&gt;&lt;P&gt;Modify Screen.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Komal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 12:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489283#M1256324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T12:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button in dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489284#M1256325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurupreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u very much. Problem solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 13:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-in-dialog-program/m-p/5489284#M1256325</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-04-24T13:25:04Z</dc:date>
    </item>
  </channel>
</rss>

