<?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 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443213#M210590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.  You have to define all the fields, and only make so many visable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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_cust(10) type c,
            p_ship(10) type c,
            p_dis1(10) type c modif id 1,
            p_wgt1(10) type c modif id 1,
            p_dis2(10) type c modif id 2,
            p_wgt2(10) type c modif id 2,
            p_dis3(10) type c modif id 3,
            p_wgt3(10) type c modif id 3,
            p_dis4(10) type c modif id 4,
            p_wgt4(10) type c modif id 4,
            p_dis5(10) type c modif id 5,
            p_wgt5(10) type c modif id 5,
            p_dis6(10) type c modif id 6,
            p_wgt6(10) type c modif id 6,
            p_dis7(10) type c modif id 7,
            p_wgt7(10) type c modif id 7,
            p_dis8(10) type c modif id 8,
            p_wgt8(10) type c modif id 8,
            p_dis9(10) type c modif id 9,
            p_wgt9(10) type c modif id 9.


at selection-screen output.

  loop at screen.

    if screen-group1 &amp;gt; p_ship.
      screen-active = '0'.
    endif.
    modify screen.
  endloop.

&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, 23 Jun 2006 13:03:46 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-06-23T13:03:46Z</dc:date>
    <item>
      <title>selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443212#M210589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my selection screen, initially i got only 2 parameter&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;customer ___________&lt;/P&gt;&lt;P&gt;shipment leg ________&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if i enter the customer - ABC and shipment leg - 3 and press enter, i want to get 2 parameter(Distance and weight)  3 times(this is based on the value of the shipment leg) on the same screen . Is this possible???. Also there is no radiobutton.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;After i press enter, &lt;/P&gt;&lt;P&gt;this has to come 3 times dynamically (Based on the value in shipment leg).&lt;/P&gt;&lt;P&gt;distance _________&lt;/P&gt;&lt;P&gt;weight ___________&lt;/P&gt;&lt;P&gt;distance _________&lt;/P&gt;&lt;P&gt;weight ___________&lt;/P&gt;&lt;P&gt;distance _________&lt;/P&gt;&lt;P&gt;weight ___________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2006 12:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443212#M210589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-23T12:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443213#M210590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.  You have to define all the fields, and only make so many visable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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_cust(10) type c,
            p_ship(10) type c,
            p_dis1(10) type c modif id 1,
            p_wgt1(10) type c modif id 1,
            p_dis2(10) type c modif id 2,
            p_wgt2(10) type c modif id 2,
            p_dis3(10) type c modif id 3,
            p_wgt3(10) type c modif id 3,
            p_dis4(10) type c modif id 4,
            p_wgt4(10) type c modif id 4,
            p_dis5(10) type c modif id 5,
            p_wgt5(10) type c modif id 5,
            p_dis6(10) type c modif id 6,
            p_wgt6(10) type c modif id 6,
            p_dis7(10) type c modif id 7,
            p_wgt7(10) type c modif id 7,
            p_dis8(10) type c modif id 8,
            p_wgt8(10) type c modif id 8,
            p_dis9(10) type c modif id 9,
            p_wgt9(10) type c modif id 9.


at selection-screen output.

  loop at screen.

    if screen-group1 &amp;gt; p_ship.
      screen-active = '0'.
    endif.
    modify screen.
  endloop.

&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, 23 Jun 2006 13:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443213#M210590</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-23T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443214#M210591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mr. Heilman,&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But it will generate only upto 9 times if my value exceeds that, it also must be generated dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any such option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2006 13:11:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443214#M210591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-23T13:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443215#M210592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not do it dynamically.  What is the max number of the fields?&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, 23 Jun 2006 13:15:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443215#M210592</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-23T13:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443216#M210593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For more fields, we need to change it a bit.  Notice that the MODIF IDs  have changed as well as the P_SHIP field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001.

parameters: p_cust(10) type c,
&amp;lt;b&amp;gt;            p_ship(2) type n,&amp;lt;/b&amp;gt;
            p_dis1(10) type c modif id 01,
            p_wgt1(10) type c modif id 01,
            p_dis2(10) type c modif id 02,
            p_wgt2(10) type c modif id 02,
            p_dis3(10) type c modif id 03,
            p_wgt3(10) type c modif id 03,
            p_dis4(10) type c modif id 04,
            p_wgt4(10) type c modif id 04,
            p_dis5(10) type c modif id 05,
            p_wgt5(10) type c modif id 05,
            p_dis6(10) type c modif id 06,
            p_wgt6(10) type c modif id 06,
            p_dis7(10) type c modif id 07,
            p_wgt7(10) type c modif id 07,
            p_dis8(10) type c modif id 08,
            p_wgt8(10) type c modif id 08,
            p_dis9(10) type c modif id 09,
            p_wgt9(10) type c modif id 09,
            p_dis10(10) type c modif id 10,
            p_wgt10(10) type c modif id 10,
            p_dis11(10) type c modif id 11,
            p_wgt11(10) type c modif id 11,
            p_dis12(10) type c modif id 12,
            p_wgt12(10) type c modif id 12,
            p_dis13(10) type c modif id 13,
            p_wgt13(10) type c modif id 13,
            p_dis14(10) type c modif id 14,
            p_wgt14(10) type c modif id 14,
            p_dis15(10) type c modif id 15,
            p_wgt15(10) type c modif id 15,
            p_dis16(10) type c modif id 16,
            p_wgt16(10) type c modif id 16,
            p_dis17(10) type c modif id 17,
            p_wgt17(10) type c modif id 17,
            p_dis18(10) type c modif id 18,
            p_wgt18(10) type c modif id 18,
            p_dis19(10) type c modif id 19,
            p_wgt19(10) type c modif id 19,
            p_dis20(10) type c modif id 20,
            p_wgt20(10) type c modif id 20.

at selection-screen output.

  loop at screen.

    if screen-group1 &amp;gt; p_ship.
      screen-active = '0'.
    endif.
    modify screen.
  endloop.

&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, 23 Jun 2006 13:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443216#M210593</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-23T13:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443217#M210594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Krishna Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the reasons why I would like you to go for a normal screen (defined through SE51) instead of a selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You do not have any select-options anyways, so you don't really "need" the selection screen.&lt;/P&gt;&lt;P&gt;2. The correct UI element for your requirement will be either a table control or an ALV Grid. Because if the user enters the shipment leg as 15, then you would end up clutterring your screen.&lt;/P&gt;&lt;P&gt;3. You cannot have an ALV / Table control on the selection screen&lt;/P&gt;&lt;P&gt;4. It is technically not possible to have such dynamic number of elements on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2006 13:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443217#M210594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-23T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443218#M210595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Heilman,&lt;/P&gt;&lt;P&gt;Thanks a Lot. It really solved my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KrishnaKumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2006 13:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443218#M210595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-23T13:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443219#M210596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishnakumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put all the required parameters( 2 initial parameters and the 3 set of new parameters ) as inivisible initially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever you want to display after pressing the ENTER key can be assigned to a group (say GR1). Do the following steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Define a global variable (say FLAG) which is initialised to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In PBO , write like this&lt;/P&gt;&lt;P&gt;&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 SCREEN-GROUP1 = 'GR1' AND FLAG = 0.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&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;3) At PAI, set the flag to 1 for the function code for ENTER Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'ENTER'.&lt;/P&gt;&lt;P&gt;FLAG = 1.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2006 13:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443219#M210596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-23T13:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443220#M210597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to agree with Anand here.  A table control would be better for this.&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, 23 Jun 2006 13:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-issue/m-p/1443220#M210597</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-23T13:27:02Z</dc:date>
    </item>
  </channel>
</rss>

