<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670119#M296263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont think you cant make a radio button mandatory in a selection screen , there is no such option to do that , but in webdynpro you can make a radio button mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2006 13:31:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-16T13:31:22Z</dc:date>
    <item>
      <title>selection-screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670115#M296259</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;Hw to make mandatory for two radio buttons in selection-screen.&lt;/P&gt;&lt;P&gt;if i click first radio-button the parameter p_adit should be enable  &amp;amp; madaory and second radio-button  parameter p_adit1 should be disable. The same thing for second radio-button &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks if yu help for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670115#M296259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T13:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670116#M296260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in the AT SELECTION SCREEN OUTPUT u should check wether p_audit is initial..&lt;/P&gt;&lt;P&gt;by using IF statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670116#M296260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T13:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670117#M296261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write code in at selection screen on radio group rg1.&lt;/P&gt;&lt;P&gt;if r1 = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;r2 = '0'. (disabled)&lt;/P&gt;&lt;P&gt;r1 = '1' (enabled).&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;the code is vice versa for other one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670117#M296261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T13:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670118#M296262</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;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      if first radiao button is selected.  &lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'ACC'.&lt;/P&gt;&lt;P&gt;        screen-active = 1.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSEIF screen-group1 = 'ACC1'&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'ACC'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSEIF screen-group1 = 'ACC1'&lt;/P&gt;&lt;P&gt;        screen-active = 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;And for mandatory check at the at selection-screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not p_radio1 is initial and&lt;/P&gt;&lt;P&gt;  p_adit is initial.&lt;/P&gt;&lt;P&gt;  message e000 with 'Please enter the value'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_radio1 is initial and&lt;/P&gt;&lt;P&gt;  p_adit1 is initial.&lt;/P&gt;&lt;P&gt;  message e000 with 'Please enter the value'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670118#M296262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T13:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670119#M296263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont think you cant make a radio button mandatory in a selection screen , there is no such option to do that , but in webdynpro you can make a radio button mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670119#M296263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T13:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670120#M296264</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 can be done in the event at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by default you will make one radio button will be checked, thats how radio button works, so you need not to do any extra thing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but making ediable and mandatory then loop at screen.and modify the screen attributes for the field.&lt;/P&gt;&lt;P&gt;mandatroy check can be done at at selection-screen event.&lt;/P&gt;&lt;P&gt;you can give error message when it is initial(if no data entered by user)/&lt;/P&gt;&lt;P&gt;check the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST             .


parameters: r1  radiobutton group g1 user-command ABC,
            p_adit(10),
            r2  radiobutton group g1,
            p_adit1(10).

at selection-screen output.

if r1 = 'X'.
loop at screen.
if screen-name = 'P_ADIT'.
screen-input = 1.
endif.
if screen-name = 'P_ADIT1'.
screen-input = 0.
endif.
modify screen.
endloop.
else.
loop at screen.
if screen-name = 'P_ADIT1'.
screen-input = 1.
endif.
if screen-name = 'P_ADIT'.
screen-input = 0.
endif.
modify screen.
endloop.

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670120#M296264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670121#M296265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this is what you are looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of line.
  parameters:p_rad1 radiobutton group rad1 default 'X' user-command RAD,
             p_adit(10) type c.
selection-screen end of line.
selection-screen begin of line.
  parameters: p_rad2 radiobutton group rad1,
              p_adit1(1) type c.
selection-screen end of line.

at selection-screen output.
   loop at screen.
     case screen-name.
     when 'P_ADIT'.
        if not p_rad1 is initial.
           screen-active = 1.
           screen-required = 1.
        else.
           screen-active = 0.
           screen-required = 0.
        endif.
     when 'P_ADIT1'.
        if not p_rad1 is initial.
           screen-active = 0.
           screen-required = 0.
        else.
           screen-active = 1.
           screen-required = 1.
        endif.
     endcase.
     modify screen.
   endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1670121#M296265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T13:59:17Z</dc:date>
    </item>
  </channel>
</rss>

