<?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: Auto-populate selection screen field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994414#M1803644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;İ think it should be on at selection screen output and for year field you should use &lt;SPAN style="color: blue; background: white;"&gt;USER-COMMAND &lt;/SPAN&gt;&lt;SPAN style="color: black; background: white;"&gt;COM &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jan 2014 12:20:18 GMT</pubDate>
    <dc:creator>asim_isik</dc:creator>
    <dc:date>2014-01-13T12:20:18Z</dc:date>
    <item>
      <title>Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994411#M1803641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have 2 selection-screen fields - quarter and year.&lt;/P&gt;&lt;P&gt;If I select quater as Q2 and year as 2011, my 3rd selecion screen field should auto-populate with start and end date of that year quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to achieve this once I press ENTER, after populating year. But on manullay filling quarter and year and clicking the third field using cursor, it does not auto-populate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the dates to auto-populate as soon as the cursor moves from year - by doing tab or mouse click or enter hit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 11:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994411#M1803641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-13T11:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994412#M1803642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the events AT SELECTION-SCREEN ON &amp;lt;Field&amp;gt; for quarter and year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And do the coding here using the&amp;nbsp; FM DYNP_VALUES_READ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 11:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994412#M1803642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-13T11:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994413#M1803643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already tried and it does not seem to work. At present I have added the code in the vent AT SELECTION_SCREEN ON &amp;lt;field year&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does populate the dates but only when I hit ENTER. My requirement is to populate the dates irrespective of hitting ENTER.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 12:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994413#M1803643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-13T12:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994414#M1803644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;İ think it should be on at selection screen output and for year field you should use &lt;SPAN style="color: blue; background: white;"&gt;USER-COMMAND &lt;/SPAN&gt;&lt;SPAN style="color: black; background: white;"&gt;COM &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 12:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994414#M1803644</guid>
      <dc:creator>asim_isik</dc:creator>
      <dc:date>2014-01-13T12:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994415#M1803645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you put quarter and year, or atleast quarter as listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With list box you can have a user command associated with it. So whenever these fields are populated, the at selection screen field event will be triggered without clicking enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use the DYNP_VALUES_READ to read the input for quarter and year and DYNP_VALUES_UPDATE to update the selection screen parameters for dates.&amp;nbsp; I dont think it would be required. The Values of quarter and year would be available in the at selection screen event. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 12:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994415#M1803645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-13T12:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994416#M1803646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;TYPE-POOLS: vrm.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;PARAMETERS&lt;/SPAN&gt; :&amp;nbsp;&amp;nbsp; p_qrtr &lt;SPAN class="L1S52"&gt;AS&lt;/SPAN&gt; LISTBOX VISIBLE LENGTH &lt;SPAN class="L1S32"&gt;10&lt;/SPAN&gt; USER-COMMAND abc,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_year &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; gjahr &lt;SPAN class="L1S52"&gt;AS&lt;/SPAN&gt; LISTBOX VISIBLE LENGTH &lt;SPAN class="L1S32"&gt;10&lt;/SPAN&gt; USER-COMMAND abc.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;PARAMETERS&lt;/SPAN&gt; : p_begda &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; begda, p_endda &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; endda.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;DATA&lt;/SPAN&gt;: name &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; vrm_id, list &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; vrm_values, &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;LIKE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;LINE&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OF&lt;/SPAN&gt; list.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;AT&lt;/SPAN&gt; SELECTION-&lt;SPAN class="L1S52"&gt;SCREEN&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;OUTPUT&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;clear&lt;/SPAN&gt; : list, &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;, name.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; name = &lt;SPAN class="L1S33"&gt;'P_QRTR'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;key&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'1'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'Quarter 1'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TO&lt;/SPAN&gt; list.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;key&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'2'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'Quarter 2'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TO&lt;/SPAN&gt; list.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;key&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'3'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'Quarter 3'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TO&lt;/SPAN&gt; list.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;key&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'4'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt; = &lt;SPAN class="L1S33"&gt;'Quarter 4'&lt;/SPAN&gt;. &lt;SPAN class="L1S52"&gt;APPEND&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;TO&lt;/SPAN&gt; list.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S31"&gt;* Set list box with value&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'VRM_SET_VALUES'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;id&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = name&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values = list.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;clear&lt;/SPAN&gt; list. &lt;SPAN class="L1S52"&gt;refresh&lt;/SPAN&gt; list.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;data&lt;/SPAN&gt; : lv_year(&lt;SPAN class="L1S32"&gt;4&lt;/SPAN&gt;) &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; n.&lt;BR /&gt; name = &lt;SPAN class="L1S33"&gt;'P_YEAR'&lt;/SPAN&gt;.&lt;BR /&gt; lv_year = &lt;SPAN class="L1S33"&gt;'1900'&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;do&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;150&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;times&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;clear&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;key&lt;/SPAN&gt; = lv_year.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt;-&lt;SPAN class="L1S52"&gt;text&lt;/SPAN&gt; = lv_year.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;append&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;value&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;to&lt;/SPAN&gt; list.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;add&lt;/SPAN&gt; &lt;SPAN class="L1S32"&gt;1&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;to&lt;/SPAN&gt; lv_year.&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;enddo&lt;/SPAN&gt;.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;call&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;function&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'VRM_SET_VALUES'&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;exporting&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;id&lt;/SPAN&gt; = name&lt;BR /&gt; values = list.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;at&lt;/SPAN&gt; SELECTION-&lt;SPAN class="L1S52"&gt;SCREEN&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;if&lt;/SPAN&gt; sy-ucomm = &lt;SPAN class="L1S33"&gt;'ABC'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;if&lt;/SPAN&gt; p_year &lt;SPAN class="L1S52"&gt;is&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;or&lt;/SPAN&gt; p_qrtr &lt;SPAN class="L1S52"&gt;is&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;exit&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;endif&lt;/SPAN&gt;.&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;case&lt;/SPAN&gt; p_qrtr.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;when&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'1'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'0101'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_begda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'0331'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_endda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;when&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'2'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'0401'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_begda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'0630'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_endda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;when&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'3'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'0701'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_begda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'0930'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_endda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;when&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'4'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'1001'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_begda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;concatenate&lt;/SPAN&gt; p_year &lt;SPAN class="L1S33"&gt;'1231'&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;into&lt;/SPAN&gt; p_endda.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;endcase&lt;/SPAN&gt;.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L1S52"&gt;endif&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 13:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994416#M1803646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-13T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994417#M1803647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year field is input text field and not list box as per my requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 05:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994417#M1803647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-15T05:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994418#M1803648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cant you not change it to a list box as given above? After all, year field can have only those set of values. So I guess, it will not make any difference to program, but provide the additional benefit of having a user command linked to it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 05:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994418#M1803648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-15T05:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994419#M1803649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I select a year for example, 2007 from the dropdown, it populates the correct dates based on the quarter. But if I change the year from 2007 to 2008, dates are not automatically changed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 05:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994419#M1803649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-20T05:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994420#M1803650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have the user command for the year drop down field also right?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;BR /&gt; &lt;SPAN class="L1S52"&gt;PARAMETERS&lt;/SPAN&gt; :&amp;nbsp;&amp;nbsp; p_qrtr &lt;SPAN class="L1S52"&gt;AS&lt;/SPAN&gt; LISTBOX VISIBLE LENGTH &lt;SPAN class="L1S32"&gt;10&lt;/SPAN&gt; USER-COMMAND abc,&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_year &lt;SPAN class="L1S52"&gt;type&lt;/SPAN&gt; gjahr &lt;SPAN class="L1S52"&gt;AS&lt;/SPAN&gt; LISTBOX VISIBLE LENGTH &lt;SPAN class="L1S32"&gt;10&lt;/SPAN&gt; USER-COMMAND abc.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;&lt;/SPAN&gt;&lt;BR /&gt;Check the sample code I have posted. Here whether you change year or quarter, the dates would be automatically changed. Use that same logic. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 05:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994420#M1803650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-20T05:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994421#M1803651</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;You can declare quarter field as list-box ( as there may be only 4 quarters in any year) and year field as parameter.&lt;/P&gt;&lt;P&gt;Firstly, enter year say 2014 and as soon as you select quarter from list box your date fields will be populated accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write the desired logic in the event AT SELECTION-SCREEN ON &amp;lt;quarter&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 05:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994421#M1803651</guid>
      <dc:creator>former_member43585</dc:creator>
      <dc:date>2014-01-20T05:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994422#M1803652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will have a small problem when you want to change the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially, on entering year and then entering quarter, the dates will be populated correctly. However, when you change the year, no event is triggered and hence dates remain the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why you need the user command associated with both fields if you want to handle the automatic population of dates accurately. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 06:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994422#M1803652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-20T06:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994423#M1803653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As prompted rightly date population logic should be carried out on both events( year &amp;amp; quarter).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 06:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994423#M1803653</guid>
      <dc:creator>former_member43585</dc:creator>
      <dc:date>2014-01-20T06:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-populate selection screen field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994424#M1803654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User command was added. Problem was with my append statement as I was using select-options for dates and not parameters unlike your pasted code. &lt;/P&gt;&lt;P&gt;Thanks, I have selected your answer as the solution to my main query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 06:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/auto-populate-selection-screen-field/m-p/9994424#M1803654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-20T06:33:00Z</dc:date>
    </item>
  </channel>
</rss>

