<?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: Dynamic Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869522#M49600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jan 2005 07:48:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-01-04T07:48:21Z</dc:date>
    <item>
      <title>Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869518#M49596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;    In my Report program I have two option buttons and two field parameters. The fields for my field parameter will correspond with the two option button I created. Meaning, when I choose option one, the reference fields for my field parameters will be from table1 else it will be from table2. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2005 06:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869518#M49596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-04T06:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869519#M49597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think its possible. but you have have two set of parameters and based on option hide or unhide the selection-screen blocks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2005 06:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869519#M49597</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-01-04T06:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869520#M49598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeffrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is possible. This is a small code snippet. Try out and let me know, if I am way tangent here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

SELECTION-SCREEN BEGIN OF BLOCK blk.
PARAMETERS : p_rb1 TYPE c RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND FC,
             p_rb2 TYPE c RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK blk.

SELECTION-SCREEN BEGIN OF BLOCK blk_1 WITH FRAME.
PARAMETERS : p_werks1 TYPE werks_d MODIF ID bk1.
SELECTION-SCREEN END OF BLOCK blk_1.

SELECTION-SCREEN BEGIN OF BLOCK blk_2 WITH FRAME.
PARAMETERS : p_werks2 TYPE werks_d MODIF ID bk2,
             p_matnr2 TYPE matnr   MODIF ID bk2.
SELECTION-SCREEN END OF BLOCK blk_2.


AT SELECTION-SCREEN OUTPUT.
  IF p_rb1 = 'X'.
    LOOP AT SCREEN.
      IF screen-group1 = 'BK1'.
        screen-active = 0.
        MODIFY SCREEN.
      ELSE.
        screen-active = 1.
        MODIFY SCREEN.
      ENDIF.

    ENDLOOP.
  ELSE.
    LOOP AT SCREEN.
      IF screen-group1 = 'BK2'.
        screen-active = 0.
        MODIFY SCREEN.
      ELSE.
        screen-active = 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;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2005 07:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869520#M49598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-04T07:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869521#M49599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me re-phrase my answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot change the reference of a parameter at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can have two set of parameters with different references and hide/unhide them based on the option selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2005 07:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869521#M49599</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-01-04T07:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869522#M49600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2005 07:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869522#M49600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-04T07:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869523#M49601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Subramanian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code you gave is totally Awesome!!!&lt;/P&gt;&lt;P&gt;Thanks a lot for the info. &lt;/P&gt;&lt;P&gt;You guys are a real GURU!&lt;/P&gt;&lt;P&gt;It's been a pleasure being a member in&lt;/P&gt;&lt;P&gt;this community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2005 11:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/869523#M49601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-04T11:55:41Z</dc:date>
    </item>
  </channel>
</rss>

