<?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: Display paramters based on select-option click in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137968#M989480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enter a value in the s_date low....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p_test .&lt;/P&gt;&lt;P&gt;select-options:s_date for sy-datum.&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if not s_date is initial.&lt;/P&gt;&lt;P&gt;if screen-name = 'P_TEST'.&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-name = '%_P_TEST_%_APP_%-TEXT'.&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;endif.&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, 24 Jul 2008 10:52:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-24T10:52:43Z</dc:date>
    <item>
      <title>Display paramters based on select-option click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137966#M989478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding displaying parameter based on select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose, we have 2 select-option on selection screen and 2 parameters. Then, Can we make any parameter invisible based  on click on low or high of any select-option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, please let me know the possible solution.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 10:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137966#M989478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T10:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Display paramters based on select-option click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137967#M989479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii!&lt;/P&gt;&lt;P&gt; We can do this&lt;/P&gt;&lt;P&gt;Check out this sample code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT z_sdn.
TABLES:
  scarr.

SELECT-OPTIONS:
  s_carrid FOR scarr-carrid .
PARAMETERS:
  p_carrid TYPE scarr-carrid MODIF ID car.


AT SELECTION-SCREEN OUTPUT.
  IF s_carrid IS NOT INITIAL.
    LOOP AT SCREEN.
      IF screen-group1 EQ 'CAR'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSEIF s_carrid IS INITIAL.
    LOOP AT SCREEN.
      IF screen-group1 EQ 'CAR'.
        screen-input = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 10:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137967#M989479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T10:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display paramters based on select-option click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137968#M989480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enter a value in the s_date low....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:p_test .&lt;/P&gt;&lt;P&gt;select-options:s_date for sy-datum.&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if not s_date is initial.&lt;/P&gt;&lt;P&gt;if screen-name = 'P_TEST'.&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-name = '%_P_TEST_%_APP_%-TEXT'.&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;endif.&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, 24 Jul 2008 10:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137968#M989480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T10:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display paramters based on select-option click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137969#M989481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HII Akash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF LINE.
parameters:p_test .
SELECTION-SCREEN END OF LINE.


SELECTION-SCREEN BEGIN OF LINE.
select-options:s_date for sy-datum.
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN OUTPUT .

  IF s_date IS NOT INITIAL .
    LOOP AT SCREEN.
      IF screen-name CS 'P_TEST'.
        screen-invisible = 1.
        MODIFY SCREEN.
      ENDIF.                           
    ENDLOOP.                           

  ELSE.
   LOOP AT SCREEN.
      IF screen-name CS 'p_test'.
        screen-invisible = 0.
        MODIFY SCREEN.
      ENDIF.                           
    ENDLOOP.                           
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137969#M989481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T11:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Display paramters based on select-option click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137970#M989482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont hink so we can do it under 'AT SELECTION-SCREEN OUTPUT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coz, what you are asking like, when cursor focus enter into low or high, some parameters should get invisible. This cursor focus functionality can be handled by Windows, I dont think so this can be posible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can very well achieve this by using radio buttons or Check boxes.&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;Sujatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137970#M989482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T11:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Display paramters based on select-option click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137971#M989483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sujatha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got it correctly. We need to make any parameter invisible based on click on either low or high of select-option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it does not have any thing to do with select-option value. That is, its not necessary that select-option should contain any value.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Akash Sawant on Jul 24, 2008 1:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137971#M989483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T11:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display paramters based on select-option click</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137972#M989484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think so it is possible as per my knowledge,coz as I already said, focus gaining &amp;amp; loosing can be handled by Windows but not with SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the requirement that can be handled with Radio button or check boxes...&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;Sujatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 11:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-paramters-based-on-select-option-click/m-p/4137972#M989484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T11:54:27Z</dc:date>
    </item>
  </channel>
</rss>

