<?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 screen problems in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379711#M185614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure to award points for all helpful answers and mark the post which has helped you solve your problem the best.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jul 2006 12:18:41 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-07-08T12:18:41Z</dc:date>
    <item>
      <title>dynamic screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379706#M185609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have looked through some posts about screen, as my understanding, 1st, define a parameter with a user command, 2nd, in at selection-screen output, use loop screen to modify the screen, but how does it know which parameter it will trigger event for? if i define param1 with user command cmd1 and param2 with user command cmd2, how to control that? I found the "at selection-screen output" only trigger the param1, but if i also want to do it use param2, how to do that? i tried to use sy-comm = 'cmd1' to check, but there is no data in sy-comm, confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another question, can i use "at selection-screen on param1" to make the screen dynamic? seems not, only some form or function can be added there, but not changing the screen, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;legend&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 19:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379706#M185609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T19:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379707#M185610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually the user commands tied to parameters are only used for  checkboxes or radiobuttons,  you can specific two different user commands for two parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


parameters: p_check1 as checkbox user-command ck1.
parameters: p_check2 as checkbox user-command ck2.

at selection-screen.

  case sy-ucomm.
    when 'CK1'.
      message w001(00) with  'You have check P_CHECK1'.

    when 'CK2'.
      message w001(00) with  'You have check P_CHECK2'.
  endcase.

&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 19:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379707#M185610</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-07T19:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379708#M185611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make changes to the screen in the AT SELECTION-SCREEN OUTPUT event.  Please see this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001.


parameters: p_check1 as checkbox user-command ck1.
parameters: p_check2 as checkbox user-command ck2.
parameters: p_field1 type c,
            p_field2 type c.

at selection-screen output.

  loop at screen.
    if ( screen-name = 'P_FIELD1'
       and p_check1 = space )
      or ( screen-name = 'P_FIELD2'
        and p_check2 = space ).
      screen-input = '0'.
    else.
      screen-input = '1'.
    endif.
    modify screen.
  endloop.




at selection-screen.

  case sy-ucomm.
    when 'CK1'.
*      message w001(00) with  'You have check P_CHECK1'.

    when 'CK2'.
*      message w001(00) with  'You have check P_CHECK2'.
  endcase.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 19:50:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379708#M185611</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-07T19:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379709#M185612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi legend,&lt;/P&gt;&lt;P&gt;check these links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/example_code.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/example_code.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/" target="test_blank"&gt;http://www.sapgenie.com/abap/&lt;/A&gt;&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;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 20:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379709#M185612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-07T20:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379710#M185613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks so much! i got the point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 02:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379710#M185613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-08T02:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic screen problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379711#M185614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure to award points for all helpful answers and mark the post which has helped you solve your problem the best.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 12:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-problems/m-p/1379711#M185614</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-08T12:18:41Z</dc:date>
    </item>
  </channel>
</rss>

