<?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: Problem in dynamic selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603351#M867876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can suggest one solution. Instead of taking selection screen directly take a screen generated thru screen painter and call it in place of selection screen. Here u can get the remaining paramters displayed by setting the properties in the PAI block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2008 06:33:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-20T06:33:02Z</dc:date>
    <item>
      <title>Problem in dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603350#M867875</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;I have a parameter P1 on the selection screen.When i am entering some value in that field some more field should be displayed below it on the selection screen.For ex. when i am entering 1  P2,P3,P4 should come.Whe i am entering 2  P3,P4,P5 should come.I also need a validation that the user cannot execute without pressing enter after entering the value in P1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mukesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 06:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603350#M867875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T06:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603351#M867876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can suggest one solution. Instead of taking selection screen directly take a screen generated thru screen painter and call it in place of selection screen. Here u can get the remaining paramters displayed by setting the properties in the PAI block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 06:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603351#M867876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T06:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603352#M867877</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;Check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;PARAMETER : p1 type &amp;lt; &amp;gt;  USER-COMMAND change,&lt;/P&gt;&lt;P&gt;PARAMETER : p2  type &amp;lt; &amp;gt; MODIF ID m3,&lt;/P&gt;&lt;P&gt;p3  type &amp;lt; &amp;gt; MODIF ID m3,&lt;/P&gt;&lt;P&gt;p4  type &amp;lt; &amp;gt; MODIF ID m3,&lt;/P&gt;&lt;P&gt;p5  type &amp;lt; &amp;gt; MODIF ID m4,    &lt;/P&gt;&lt;P&gt;p6 type &amp;lt; &amp;gt; MODIF ID m4.    &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK blk2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;check p1 is not initial.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  if p1 = '1'.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'M3'.     &lt;/P&gt;&lt;P&gt;        screen-INPUT = 1.&lt;/P&gt;&lt;P&gt;      ELSE. &lt;/P&gt;&lt;P&gt;        screen-INPUT = 0.&lt;/P&gt;&lt;P&gt;        screen-invisible = 1.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;if p1 = '2'.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'M4'.     &lt;/P&gt;&lt;P&gt;        screen-INPUT = 1.&lt;/P&gt;&lt;P&gt;      ELSE. &lt;/P&gt;&lt;P&gt;        screen-INPUT = 0.&lt;/P&gt;&lt;P&gt;        screen-invisible = 1.&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;      MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;For validation for pressing enter, check sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 06:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603352#M867877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T06:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603353#M867878</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;Please declare all the P2,P3.P4.P5 in the select-options.Make all the all the fields except P1 as screen-visible = '0'.&lt;/P&gt;&lt;P&gt;Now if user enter anything put the corresponding logic in AT selection-screen output saying if P1 = 1 then make LOOP at SCREEN with name as P2,P3,p5 and make VISIBLE = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose user directly executes then code at selection screen if P1 = 1 the LOOP at screen for P2 and check if it si still invisible if so throw message saying "Please enter after making entry in P1 field".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 06:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-dynamic-selection-screen/m-p/3603353#M867878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T06:45:34Z</dc:date>
    </item>
  </channel>
</rss>

