<?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/1598438#M268717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attach User Command to the radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in at selection-screen output. display the text field based on the radio button selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the at selection-screen, do the validation for the text fields for not initial if the radio button is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2006 08:23:10 GMT</pubDate>
    <dc:creator>former_member195698</dc:creator>
    <dc:date>2006-09-14T08:23:10Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598435#M268714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;i have a selection screen with 4 radio button.&lt;/P&gt;&lt;P&gt;when i click on the second radio button i have to show a text box that the user need to fill.(in the selection screen).&lt;/P&gt;&lt;P&gt;is anyone know how to do this?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;dana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 08:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598435#M268714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T08:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598436#M268715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you do it in dialog you can use &lt;/P&gt;&lt;P&gt;screen attribute  to do so  .&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;endloop .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 08:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598436#M268715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T08:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598437#M268716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;U can try like this.&lt;/P&gt;&lt;P&gt;In AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'TEXT1'.&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;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN ON RADIOBUTTON GROUP radi. &lt;/P&gt;&lt;P&gt;IF R2 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'TEXT1'.&lt;/P&gt;&lt;P&gt;SCREEN-INVISIBLE = '0'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '1'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 08:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598437#M268716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T08:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598438#M268717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attach User Command to the radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in at selection-screen output. display the text field based on the radio button selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the at selection-screen, do the validation for the text fields for not initial if the radio button is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 08:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598438#M268717</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2006-09-14T08:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598439#M268718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1&lt;/P&gt;&lt;P&gt;paramters : r1 radiobutton group r1 user-command ucom,&lt;/P&gt;&lt;P&gt;            r2 radiobuuton groupr1,&lt;/P&gt;&lt;P&gt;            p1(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if r1 = 'X'.&lt;/P&gt;&lt;P&gt;loop at screem.&lt;/P&gt;&lt;P&gt;if screen-name = 'p1'.&lt;/P&gt;&lt;P&gt;screen-input = '0'.&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;else.&lt;/P&gt;&lt;P&gt;loop at screem.&lt;/P&gt;&lt;P&gt;if screen-name = 'p1'.&lt;/P&gt;&lt;P&gt;screen-input = '1'.&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;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2006 08:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598439#M268718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T08:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598440#M268719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: P_RAD1 RADIOBUTTON GROUP RAD1 DEFAULT 'X'
                   USER-COMMAND P_SEL.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: P_RAD2 RADIOBUTTON GROUP RAD1,
            P_TEXT(20) TYPE C.
SELECTION-SCREEN END OF LINE.
PARAMETERS: P_RAD3 RADIOBUTTON GROUP RAD1,
            P_RAD4 RADIOBUTTON GROUP RAD1.

AT SELECTION-SCREEN OUTPUT.

 LOOP AT SCREEN.
      CHECK SCREEN-NAME CP '*P_TEXT*'.
      IF NOT P_RAD2 IS INITIAL.
         SCREEN-ACTIVE = 1.
         MODIFY SCREEN.
      ELSE.
         SCREEN-ACTIVE = 0.
         MODIFY SCREEN.
      ENDIF.
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&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, 14 Sep 2006 08:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598440#M268719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-14T08:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598441#M268720</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;Consider using pushbuttons instead of radiobuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program fragment below is for a related situation.  The user is offered the choice of 3 select-options (initially hidden).  There is a pushbutton for each select-option. Clicking on one of the buttons immediately makes the select-option appear, and hides the other 2 select-options.  The variable selby indicates the last-clicked-on pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See what you think,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YJNM_DYNAMIC_SELSCR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  posid_active like screen-active,&lt;/P&gt;&lt;P&gt;  kostl_active like screen-active,&lt;/P&gt;&lt;P&gt;  aufnr_active like screen-active,&lt;/P&gt;&lt;P&gt;  ucomm like sscrfields-ucomm,&lt;/P&gt;&lt;P&gt;  selby like sscrfields-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:&lt;/P&gt;&lt;P&gt;  sscrfields,&lt;/P&gt;&lt;P&gt;  prps,&lt;/P&gt;&lt;P&gt;  csks,&lt;/P&gt;&lt;P&gt;  aufk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;  selection-screen pushbutton (24) t_posid user-command POSID.&lt;/P&gt;&lt;P&gt;  select-options: s_posid for prps-posid.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen skip.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;  selection-screen pushbutton (24) t_kostl user-command KOSTL.&lt;/P&gt;&lt;P&gt;  select-options: s_kostl for csks-kostl.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen skip.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;  selection-screen pushbutton (24) t_aufnr user-command AUFNR.&lt;/P&gt;&lt;P&gt;  select-options: s_aufnr for aufk-aufnr.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ucomm = sscrfields-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&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;move '0' to:&lt;/P&gt;&lt;P&gt;  posid_active,&lt;/P&gt;&lt;P&gt;  kostl_active,&lt;/P&gt;&lt;P&gt;  aufnr_active.&lt;/P&gt;&lt;P&gt;case ucomm.&lt;/P&gt;&lt;P&gt;  when 'POSID'.&lt;/P&gt;&lt;P&gt;    selby = ucomm.&lt;/P&gt;&lt;P&gt;    posid_active = '1'.&lt;/P&gt;&lt;P&gt;  when 'KOSTL'.&lt;/P&gt;&lt;P&gt;    selby = ucomm.&lt;/P&gt;&lt;P&gt;    kostl_active = '1'.&lt;/P&gt;&lt;P&gt;  when 'AUFNR'.&lt;/P&gt;&lt;P&gt;    selby = ucomm.&lt;/P&gt;&lt;P&gt;    aufnr_active = '1'.&lt;/P&gt;&lt;P&gt;  when others.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name cp '&lt;STRONG&gt;S_POSID&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;    screen-active = posid_active.&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;  elseif screen-name cp '&lt;STRONG&gt;S_KOSTL&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;    screen-active = kostl_active.&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;  elseif screen-name cp '&lt;STRONG&gt;S_AUFNR&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;    screen-active = aufnr_active.&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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_posid = text-001. "pushbutton text&lt;/P&gt;&lt;P&gt;t_kostl = text-002. "pushbutton text&lt;/P&gt;&lt;P&gt;t_aufnr = text-003. "pushbutton text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / selby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1598441#M268720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T08:46:21Z</dc:date>
    </item>
  </channel>
</rss>

