<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138863#M113962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there are wrong values then, it will will be excluded from the select options.. as arun has mentioned, im using the list, but is there a better way  doing it, like popping a small screen with the values..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2006 09:56:44 GMT</pubDate>
    <dc:creator>madan_ullasa</dc:creator>
    <dc:date>2006-02-20T09:56:44Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138860#M113959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frnds,&lt;/P&gt;&lt;P&gt; my requirement, i have a selection screen with a select-option. After the user inputs the value in the select-options, i have to display a screen which shows some of the values which may not be correct. then the user will &lt;/P&gt;&lt;P&gt;go back to the selection screen to re-input the values..&lt;/P&gt;&lt;P&gt; any suggestions to do this elegently. Now im using some crude method. plz remember that, the displayed values will be more than 1, so i cant use a 'message'...&lt;/P&gt;&lt;P&gt;all answers assured points..&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Madan...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138860#M113959</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2006-02-20T09:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138861#M113960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. displayed values will be more than 1, so i cant use a 'message'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thats fine.&lt;/P&gt;&lt;P&gt; U can use&lt;/P&gt;&lt;P&gt;  a) alv list display&lt;/P&gt;&lt;P&gt;  b) simple write statement to show the information list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If some wrong value is there, then u can show&lt;/P&gt;&lt;P&gt;   as above a,b.&lt;/P&gt;&lt;P&gt;  Other wise u can process the rest of the logic.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138861#M113960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T09:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138862#M113961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi madan...&lt;/P&gt;&lt;P&gt;what is the relation between displayed values after the selection screen and the user inputs..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138862#M113961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T09:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138863#M113962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there are wrong values then, it will will be excluded from the select options.. as arun has mentioned, im using the list, but is there a better way  doing it, like popping a small screen with the values..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 09:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138863#M113962</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2006-02-20T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138864#M113963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Madan,&lt;/P&gt;&lt;P&gt; i think you can use CALL SELECTION-SCREEn..&lt;/P&gt;&lt;P&gt;something like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tables : vbak.
data : it like table of vbak with header line.

SELECTION-SCREEN BEGIN OF SCREEN 500 TITLE title
AS WINDOW.
PARAMETERS name TYPE sy-uname.
SELECTION-SCREEN END OF SCREEN 500.

SELECTION-SCREEN BEGIN OF SCREEN 200 AS WINDOW.
SELECTION-SCREEN COMMENT /2(30) TEXT-100.
SELECTION-SCREEN END OF SCREEN 200.
select * into table it from vbak where vbeln between '0000004970' and
'0000004980'.

SELECTION-SCREEN BEGIN OF SCREEN 300 AS WINDOW.
selection-screen comment /2(15) com.
SELECTION-SCREEN END OF SCREEN 300.

*COM = 'Unauthorised User'.
loop at it.
  concatenate it-vbeln com  into com.
endloop.

title = 'Input name'.

CALL SELECTION-SCREEN '0500' STARTING AT 5 5.
CALL SELECTION-SCREEN '0300' STARTING AT 5 5.

write : / 'hi'.
CALL SELECTION-SCREEN '0500' STARTING AT 5 5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it might work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it doesn't the best way will be to use an ALV ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138864#M113963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138865#M113964</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;&lt;/P&gt;&lt;P&gt;  If U have any check table for the values entered on the&lt;/P&gt;&lt;P&gt;  selection screen(I mean for the field) then U can write&lt;/P&gt;&lt;P&gt;  a select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Select Myfield from checktableforfield&lt;/P&gt;&lt;P&gt;         into table it_tab&lt;/P&gt;&lt;P&gt;         where myfield in s_myfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Now U can populate/show all these values which valid.&lt;/P&gt;&lt;P&gt;  I think this should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138865#M113964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138866#M113965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use FM &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ENDPOS_COL         = 5&lt;/P&gt;&lt;P&gt;    ENDPOS_ROW         = 5&lt;/P&gt;&lt;P&gt;    STARTPOS_COL       = 1&lt;/P&gt;&lt;P&gt;    STARTPOS_ROW       = 1&lt;/P&gt;&lt;P&gt;    TITLETEXT          = 'Title'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHOISE             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    VALUETAB           = vbeln&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BREAK_OFF          = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS             = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138866#M113965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138867#M113966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;POPUP_TO_GET_VALUE: This function can be used in a program to return some value to user through a popup on the screen.&lt;/P&gt;&lt;P&gt;for more details check this site...&lt;/P&gt;&lt;P&gt;&lt;A href="http://planetsap.com/Useful_function_modules.htm" target="test_blank"&gt;http://planetsap.com/Useful_function_modules.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138867#M113966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138868#M113967</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;Try this code.It will work for all the select-options low value.Even though I am using message,it will show you all the invalid values at a strectch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zzz_jaytest1 NO STANDARD PAGE HEADING message-id zhrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables pa0001.&lt;/P&gt;&lt;P&gt;select-options s_pernr for pa0001-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data v1(100).&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at s_pernr.&lt;/P&gt;&lt;P&gt;...check for invalid.If so,write the logic&lt;/P&gt;&lt;P&gt;concatenate v1 ',' s_pernr-low into v1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate v1 ' not valid' into v1.&lt;/P&gt;&lt;P&gt;message i000 with v1.&lt;/P&gt;&lt;P&gt;leave list-processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points by clikcing the star on the left of reply,if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138868#M113967</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-02-20T10:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138869#M113968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jayanthi,&lt;/P&gt;&lt;P&gt; im using the same logic as u have mentioned, but the control never goes to the list...&lt;/P&gt;&lt;P&gt;my code is sumting like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; start-of-selection.&lt;/P&gt;&lt;P&gt;  if itab[] is not initial.&lt;/P&gt;&lt;P&gt;   loop at itab.&lt;/P&gt;&lt;P&gt;   write:/ itab.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;  call selection-screen 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if  if itab[] is  initial.&lt;/P&gt;&lt;P&gt;  call screen 9000.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the control goes to the itab and write statement, but b4 the list is displayed, screen 9000 is called.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madan..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:49:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138869#M113968</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2006-02-20T10:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138870#M113969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI MADAN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. U want to show SMALL WINDOW ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. do like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zbha_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : A TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;        f(30) TYPE c,&lt;/P&gt;&lt;P&gt;         END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;itab-f = 'AAA'.&lt;/P&gt;&lt;P&gt;APPEND itab.&lt;/P&gt;&lt;P&gt;itab-f = 'BBB'.&lt;/P&gt;&lt;P&gt;APPEND itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    endpos_col         = 15&lt;/P&gt;&lt;P&gt;    endpos_row         = 15&lt;/P&gt;&lt;P&gt;    startpos_col       = 10&lt;/P&gt;&lt;P&gt;    startpos_row       = 10&lt;/P&gt;&lt;P&gt;    titletext          = 'Title'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHOISE             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    valuetab           = itab&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   BREAK_OFF          = 1&lt;/P&gt;&lt;P&gt;   OTHERS             = 2&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;P&gt;&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;AMIT M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 10:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138870#M113969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T10:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138871#M113970</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 understood from your code that,if itab is blank,you want screen 9000 to be called and if itab is not initial,you want to write something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing I want to tell you,avoid using write statement.Write won't work here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab[] is initial.&lt;/P&gt;&lt;P&gt;...write the logic as I told before using concatenation and then print finally the message&lt;/P&gt;&lt;P&gt;leave list-processing."Control will go to selection screen&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;call screen 9000.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 11:03:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1138871#M113970</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-02-20T11:03:02Z</dc:date>
    </item>
  </channel>
</rss>

