<?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/3200246#M762716</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;The best way to do this is to put radiobuttons on the selection screen for the different parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a modif id to the radiobuttons.&lt;/P&gt;&lt;P&gt;Also give modif id's to the different parameters on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is done,depending upon the radiobutton chosen you can make the other parameters inactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_radiobutton1 = gc_flag.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 EQ &amp;lt;modif id of 2nd parameter&amp;gt;.&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;      IF screen-group1 EQ &amp;lt;modif id of 3rd parameter&amp;gt;.&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example shown above,the other 2 parameters will become inactive once you choose the 1st radiobutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is useful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Dec 2007 14:04:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-28T14:04:07Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200244#M762714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection screen with three fields &lt;/P&gt;&lt;P&gt;s_matnr&lt;/P&gt;&lt;P&gt;s_matkl&lt;/P&gt;&lt;P&gt;s_prdha&lt;/P&gt;&lt;P&gt;Now my requirement is if i entered any one of the above field then the remaining field should not allow inputs.&lt;/P&gt;&lt;P&gt;It means if entered some value in s_matnr then the other two fields will not allow me to enter data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shoban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 13:44:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200244#M762714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T13:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200245#M762715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can put radio buttons for each type and ask the user to select the radio button and accordingly you can give inputs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that can be done by assingning modif id to s_matnr and other s_*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;       check screen-group1 = 'M'.&lt;/P&gt;&lt;P&gt;       SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;       MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 13:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200245#M762715</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-28T13:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200246#M762716</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;The best way to do this is to put radiobuttons on the selection screen for the different parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a modif id to the radiobuttons.&lt;/P&gt;&lt;P&gt;Also give modif id's to the different parameters on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is done,depending upon the radiobutton chosen you can make the other parameters inactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_radiobutton1 = gc_flag.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 EQ &amp;lt;modif id of 2nd parameter&amp;gt;.&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;      IF screen-group1 EQ &amp;lt;modif id of 3rd parameter&amp;gt;.&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example shown above,the other 2 parameters will become inactive once you choose the 1st radiobutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is useful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 14:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200246#M762716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T14:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200247#M762717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;write a event AT SELECTION SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;loop at screen if first two fields are not initail then for field 3 make &lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;P&gt;vivekanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 14:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200247#M762717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T14:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200248#M762718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Event&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT s_matnr IS INITIAL.&lt;/P&gt;&lt;P&gt;    Loop at Screen.&lt;/P&gt;&lt;P&gt;     CASE 'screen-name'.&lt;/P&gt;&lt;P&gt;      WHEN 'S_MATKL-LOW'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;      WHEN 'S_MATKL-HIGH'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;      WHEN 'S_PRDHA-LOW'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;      WHEN 'S_PRDHA-HIGH'.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;      ENDCASE.&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;&lt;/P&gt;&lt;P&gt;Copy the above code for S_MATKL and S_PRDHA not Initial.&lt;/P&gt;&lt;P&gt;and modify the other 2 select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!!&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 14:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3200248#M762718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T14:44:47Z</dc:date>
    </item>
  </channel>
</rss>

