<?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: Positioning the default SELECTION-SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114873#M1707235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just differentiated the screens to populate different values to the list box, I just used the same variable li_list for both screens. Two screens are not identical, the field names &amp;amp; screen no is different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 10:40:48 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2012-11-06T10:40:48Z</dc:date>
    <item>
      <title>Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114860#M1707222</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;I have a SELECTION-SCREEN in my program - well, two of them. In the first, I have not entered a specific dynnr, so it is the default SELscreen with dynnr 1000. I have a Dropdown list in that one.&lt;/P&gt;&lt;P&gt;The issue is, that SELscreen used to appear in the upper left-hand corner of my screen by default. That is not especially nice, I would like to display it AS WINDOW, positioned near the middle of the screen. I can do that - but then the Dropdown list is crippled - there is only the empty field. I can click the triangle on the right and something is visible below the field - just the very beginning of the list, maybe 1mm.&lt;/P&gt;&lt;P&gt;I have tried by leaving some more space below using the SKIP command, but to no avail.&lt;/P&gt;&lt;P&gt;Can anybody tell me what is the trick?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 12:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114860#M1707222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-05T12:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114861#M1707223</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;maybe posting the code here will make it somewhat easier for you to tell me what is wrong, so here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp;&amp;nbsp; Include&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZFH_GUI_DOC_CREATION_SELSCREEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* First, there will be a SELECTION SCREEN&lt;/P&gt;&lt;P&gt;* with a Dropdown list from which the user&lt;/P&gt;&lt;P&gt;* can select what type of document he wants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* We need one FIELD-SYMBOL here to hold the value for the&lt;/P&gt;&lt;P&gt;* language chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;LG&amp;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;***&amp;nbsp; The INITIALIZATION event: Everything within this block (it ends&lt;/P&gt;&lt;P&gt;***&amp;nbsp; only implicitly with the beginning of a new event-block) is&lt;/P&gt;&lt;P&gt;***&amp;nbsp; executed before displaying the SELECTION SCREEN.&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;TYPE-POOLS: VRM.&amp;nbsp; "Value request manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_name TYPE vrm_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; li_list TYPE vrm_values,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value LIKE LINE OF li_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The values for the Dropdown listbox&lt;/P&gt;&lt;P&gt;* have to be typed up. They are stored in their&lt;/P&gt;&lt;P&gt;* own INCLUDE just for purposes of clarity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************************************************************&lt;/P&gt;&lt;P&gt;*&amp;nbsp; Following, the values for our Dropdown_list (all the different types&lt;/P&gt;&lt;P&gt;*&amp;nbsp; of documents we want to provide tables for) have to be typed up,&lt;/P&gt;&lt;P&gt;*&amp;nbsp; each one with a block like the following.&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;l_value-key = '1'.&lt;/P&gt;&lt;P&gt;l_value-text = 'Accounting_vendor'.&lt;/P&gt;&lt;P&gt;APPEND l_value TO li_list.&lt;/P&gt;&lt;P&gt;CLEAR l_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_value-key = '2'.&lt;/P&gt;&lt;P&gt;l_value-text = 'Accounting_customer'.&lt;/P&gt;&lt;P&gt;APPEND l_value TO li_list.&lt;/P&gt;&lt;P&gt;CLEAR l_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_value-key = '3'.&lt;/P&gt;&lt;P&gt;l_value-text = 'Personnel'.&lt;/P&gt;&lt;P&gt;APPEND l_value TO li_list.&lt;/P&gt;&lt;P&gt;CLEAR l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;l_name = 'TYPED'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = l_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = li_list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_illegal_name = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1001 AS WINDOW.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 01(65) text-030 FOR FIELD TYPED.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 70.&lt;/P&gt;&lt;P&gt;PARAMETERS: TYPED AS LISTBOX VISIBLE LENGTH 30 OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 9.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 01(65) text-031 FOR FIELD LANG.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 70.&lt;/P&gt;&lt;P&gt;PARAMETERS LANG TYPE C LENGTH 2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 01(83) text-032.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 13:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114861#M1707223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-05T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114862#M1707224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please read the f1 help of "&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SELECTION-SCREEN", It explains how to use window co-ordinates.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 05:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114862#M1707224</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T05:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114863#M1707225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavadas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;I know how to use the coordinates. I can have my SELscreen displayed in the middle of my screen all right - what I don't know is the nature of the effect that has on the listbox - as I wrote, if I do that, my listbox is reduced to approx. 1mm or less - I can click the triangle on the right and I see something happening, but none of the options in there become visible.&lt;/P&gt;&lt;P&gt;I tried introducing a SKIP command - in the language I worked with before this, you had to leave some empty space underneath a Dropdown list to make it work - but that wasn't it.&lt;/P&gt;&lt;P&gt;Well, I'll try.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 08:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114863#M1707225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T08:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114864#M1707226</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;This should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;field-symbols &amp;lt;lg&amp;gt;.&lt;/P&gt;&lt;P&gt;type-pools: vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_name type vrm_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; li_list type vrm_values,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_return type standard table of ddshretval,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value like line of li_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of screen 1001 as window.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(20) text-030 for field typed.&lt;/P&gt;&lt;P&gt;selection-screen position 22.&lt;/P&gt;&lt;P&gt;parameters: typed as listbox visible length 30 obligatory.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(20) text-031 for field lang.&lt;/P&gt;&lt;P&gt;selection-screen position 22.&lt;/P&gt;&lt;P&gt;parameters lang type c length 2.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(83) text-032.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen end of screen 1001.&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;&amp;nbsp; clear li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_value-key = '1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_value-text = 'Accounting_vendor'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_value-key = '2'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_value-text = 'Accounting_customer'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_value-key = '3'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_value-text = 'Personnel'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp; l_name = 'TYPED'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; call function 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exporting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = l_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = li_list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exceptions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_illegal_name = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp; if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&amp;nbsp; endif.&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;&amp;nbsp; call selection-screen '1001' starting at 8 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; write typed.&lt;/P&gt;&lt;P&gt;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114864#M1707226</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T09:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114865#M1707227</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;We do not need any fm. Just add it to the event at selection-screen output. I have edited the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114865#M1707227</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T09:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114866#M1707228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I guess I was reading on the wrong tab.&lt;/P&gt;&lt;P&gt;I have to compare your code to mine to see what you are actually doing differently.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114866#M1707228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T09:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114867#M1707229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12.222222328186035px; background-color: #ffffff;"&gt;Your initial code did not have any "events" to be processed when the selection screen was called. This was your issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114867#M1707229</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T09:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114868#M1707230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True.&lt;/P&gt;&lt;P&gt;I did fill the values for the function 'VRM_SET_VALUES', but not in an event-block. That is likely. I have already had a bunch of problems with SAP telling me there was an out-of-memory-issue just because the order of events in my program was somehow wrong. Up to now, I could always solve those issues by fixing the order of events.&lt;/P&gt;&lt;P&gt;I'll try.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Oh no - I cannot tell if it works because now I have another issue: There is a second SELECTION-SCREEN defined in my program and it also uses an AT SELECTION-SCREEN OUTPUT event - apparently I cannot have two of those in my program. Well, I'll see if I can rearrange that. The second SELscreen is also called AS WINDOW, so I should be able to also define it in the INITIALIZATION event-block and call it in the START-OF-SELECTION block.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114868#M1707230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T09:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114869#M1707231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The screen field names in each screen will be different, so you can use a single event for all screens. Just try to include the&amp;nbsp; check if li_list[] is initial...endif etc etc. Many possibilities &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114869#M1707231</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T09:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114870#M1707232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavadas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no, it doesn't work.&lt;/P&gt;&lt;P&gt;I have now rearranged everything a bit: Both SELscreens I have - both AS WINDOW - are packed each in their own INCLUDE and following the two there is an AT SEL... event where I populate the values for the listbox and prepare some variables to be displayed in the second SELscreen. &lt;/P&gt;&lt;P&gt;Then comes the START-OF-SELECTION event and there I call both SELscreens in order, using the same set of coordinates which position the SELscreen in the middle of my screen - using both STARTING AT and ENDING AT.&lt;/P&gt;&lt;P&gt;The program starts all right, but the outcome is the same - I see my listbox, I can click on the triangle, but none of the options in the list appear.&lt;/P&gt;&lt;P&gt;I'll go on trying. There has to be a way to get this right...&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 09:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114870#M1707232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114871#M1707233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this works for you, then there is some adjustment you need to do in your code. Please check the available options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;field-symbols &amp;lt;lg&amp;gt;.&lt;/P&gt;&lt;P&gt;type-pools: vrm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: l_name type vrm_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; li_list type vrm_values,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_return type standard table of ddshretval,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value like line of li_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of screen 1001 as window.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(20) text-030 for field typed.&lt;/P&gt;&lt;P&gt;selection-screen position 22.&lt;/P&gt;&lt;P&gt;parameters: typed as listbox visible length 30 obligatory.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(20) text-031 for field lang.&lt;/P&gt;&lt;P&gt;selection-screen position 22.&lt;/P&gt;&lt;P&gt;parameters lang type c length 2.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(83) text-032.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen end of screen 1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of screen 1002 as window.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(20) text-030 for field typed.&lt;/P&gt;&lt;P&gt;selection-screen position 22.&lt;/P&gt;&lt;P&gt;parameters: typed1 as listbox visible length 30 obligatory.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(20) text-031 for field lang.&lt;/P&gt;&lt;P&gt;selection-screen position 22.&lt;/P&gt;&lt;P&gt;parameters lang1 type c length 2.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 01(83) text-032.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen end of screen 1002.&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;&amp;nbsp; clear li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp; if sy-dynnr = '1001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-key = '1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-text = 'Accounting_vendor-1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-key = '2'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-text = 'Accounting_customer-1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-key = '3'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-text = 'Personnel-1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_name = 'TYPED'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; elseif sy-dynnr = 1002.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-text = 'Accounting_vendor-2'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-key = '2'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-text = 'Accounting_customer-2'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-key = '3'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_value-text = 'Personnel-2'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; append l_value to li_list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clear l_value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_name = 'TYPED1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp; call function 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exporting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = l_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = li_list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exceptions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id_illegal_name = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; others&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp; if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;&amp;nbsp; endif.&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;&amp;nbsp; call selection-screen '1001' starting at 8 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp; check sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp; call selection-screen '1002' starting at 8 12.&lt;/P&gt;&lt;P&gt;&amp;nbsp; check sy-subrc = 0.&amp;nbsp; write typed.skip 1. write typed1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114871#M1707233</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T10:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114872#M1707234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavadas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have two identical SELscreens here and the AT-event is also split into two identical parts; If you don't mind, please tell me what is the point of that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:33:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114872#M1707234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T10:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114873#M1707235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just differentiated the screens to populate different values to the list box, I just used the same variable li_list for both screens. Two screens are not identical, the field names &amp;amp; screen no is different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114873#M1707235</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-06T10:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Positioning the default SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114874#M1707236</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;yes, the names are different of course.&lt;/P&gt;&lt;P&gt;Well, now it works. I think the critical point was that that event-block AT... had to come before the FM - logical, the FM uses the list that is put together in the event-block. I used to have that in the same INCLUDE as the definition of the first SELscreen and then I introduced that event-block afterwards to make it (the event-block) available to both SELscreens, so that did not work out. I could see in the Debugger that at the "time" when that SELscreen was called, the list used by the LISTBOX was empty.&lt;/P&gt;&lt;P&gt;I have now rearranged that and it works. Great!&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 10:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/positioning-the-default-selection-screen/m-p/9114874#M1707236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-06T10:56:07Z</dc:date>
    </item>
  </channel>
</rss>

