<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357250#M805514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AS you have said it works fine with user command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i click the radio button 1 it ask for text field and it s also mandatory, when i click radio button 2 immediately withou filling the mandatory field i just want the mandatory field also to be hidden, but it is asking still to fill the required fiedls..&lt;/P&gt;&lt;P&gt;how this can be achieved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 10:37:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-28T10:37:11Z</dc:date>
    <item>
      <title>At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357245#M805509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the selection screen, i am having two radio buttons and a text field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1st radio button, i have kept the text field as mandatory and on selection of 2nd radio button i have made the field disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find the below code used&lt;/P&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;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name = 'P_RADIO1' OR screen-name = 'P_textfield'.&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;&lt;/P&gt;&lt;P&gt;  ELSEIF p_RADIO2 = 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-name = 'P_textfield'.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;        CLEAR p_textfield.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     SCREEN-OUTPUT = '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the radio button is selected and on pressing the enter button it works fine. i want to know whether the similar process should also work without pressing enter button. If so, how it is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 07:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357245#M805509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T07:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357246#M805510</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;AT SELECTION-SCREEN  event will be triggerd only when you do some action on the selection screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so after selection the radiobutton you must click on enter button&lt;/P&gt;&lt;P&gt;or other than enter also it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 07:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357246#M805510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T07:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357247#M805511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  u can do it when the user cliks on the radio button then next event should be happening.&lt;/P&gt;&lt;P&gt;   for that purpose&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;   p_rad radiobutton group g1 user-command  'Co'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 07:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357247#M805511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T07:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357248#M805512</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 possible and simple also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare your selection screen as defined below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen .......begin of.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_class RADIOBUTTON GROUP grp1  DEFAULT 'X' USER-COMMAND UC1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen...........end of......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax: USER COMMAND....will do this ABAP trick for the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is done, do the necessary logics in your AT Selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;JLN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 07:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357248#M805512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T07:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357249#M805513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check below sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameters: p_rd1 radiobutton group rad1 default 'X' user-command but,
            p_rd2 radiobutton group rad1,
            p_text type char128 obligatory.

at selection-screen output.

  loop at screen.
     if screen-name CP '*P_TEXT*'.
        if not p_rd1 is initial.
           screen-active = 1.
           screen-required = 1.
        else.
           screen-active = 0.
           screen-required = 0.
        endif.
        modify screen.
     endif.
  endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that by characteristic of Mandatory field, once set we need to give input before further processing can take place. Alternatively you can use error message handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember the addition &lt;STRONG&gt;USER-COMMAND&lt;/STRONG&gt; which triggers the action without using ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 07:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357249#M805513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T07:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357250#M805514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AS you have said it works fine with user command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i click the radio button 1 it ask for text field and it s also mandatory, when i click radio button 2 immediately withou filling the mandatory field i just want the mandatory field also to be hidden, but it is asking still to fill the required fiedls..&lt;/P&gt;&lt;P&gt;how this can be achieved...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 10:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357250#M805514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T10:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357251#M805515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Give some default values to avoid the error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 10:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357251#M805515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T10:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357252#M805516</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;If the fields are mandatory ones, then you have no other way but to enter the values in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your functionality can be achieved only if all the fields on selection screen are optional ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;JLN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 10:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357252#M805516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T10:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357253#M805517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block 1 with frame title text-001.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 1(31) text-002 for field R1.&lt;/P&gt;&lt;P&gt;parameter : R1 radiobutton group RAD default 'X' user-command file .&lt;/P&gt;&lt;P&gt;.&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 begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 1(31) text-003 for field par.&lt;/P&gt;&lt;P&gt;parameter : par like rlgrap-filename MODIF ID A.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&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 comment 1(31) text-002 for field R1.&lt;/P&gt;&lt;P&gt;parameter : R2 radiobutton group RAD  .&lt;/P&gt;&lt;P&gt;.&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 begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 1(31) text-003 for field par1.&lt;/P&gt;&lt;P&gt;parameter : par1 like rlgrap-filename MODIF ID B.&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 end of block 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;perform selection.&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for par.&lt;/P&gt;&lt;P&gt;perform request using par.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  SELECTION&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;FORM SELECTION .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at screen.&lt;/P&gt;&lt;P&gt;    case screen-group1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Presentation Server Radiobutton&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      when 'A'.&lt;/P&gt;&lt;P&gt;        if R1 = space.&lt;/P&gt;&lt;P&gt;          screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;          screen-input     = '0'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         p_pres = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       else.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         screen-invisible = '0'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         screen-input     = '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;        modify screen.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Shuttle Radiobutton&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      when 'B'.&lt;/P&gt;&lt;P&gt;        if R2 = space.&lt;/P&gt;&lt;P&gt;          screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;          screen-input     = '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       else.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         screen-invisible = '0'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         screen-input     = '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;       modify screen.&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;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " SELECTION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 10:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3357253#M805517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T10:54:50Z</dc:date>
    </item>
  </channel>
</rss>

