<?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/1994763#M405424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For displaying all the selection screen fields on the same line just use the syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;parameters: p_year type gjahr,&lt;/P&gt;&lt;P&gt;                  p_from_date type datum,&lt;/P&gt;&lt;P&gt;p_to_date type datum.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for populating the from and to dates automatically from the year, how do you determine 0104 and 3103 ?!?! Would it ALWAYS follow the fiscal year start and end dates? If so, then use the even AT SELECTION-SCREEN ON p_year &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and populate the other two values using ur logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Mar 2007 14:38:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-04T14:38:49Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994762#M405423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;               Here i am facing a problem in selection screen ,in this when i am entering the year  from date and to date should be automatically displayed.&lt;/P&gt;&lt;P&gt;and all should be in the same line. &lt;/P&gt;&lt;P&gt;                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year _______    _________  To __________ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Year is mandatory, From date &amp;amp; To are display field.   Eg. Year = 2006, then from = 01.04.2006 and to = 31.03.2007 )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2007 14:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994762#M405423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-04T14:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994763#M405424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For displaying all the selection screen fields on the same line just use the syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;parameters: p_year type gjahr,&lt;/P&gt;&lt;P&gt;                  p_from_date type datum,&lt;/P&gt;&lt;P&gt;p_to_date type datum.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for populating the from and to dates automatically from the year, how do you determine 0104 and 3103 ?!?! Would it ALWAYS follow the fiscal year start and end dates? If so, then use the even AT SELECTION-SCREEN ON p_year &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and populate the other two values using ur logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2007 14:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994763#M405424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-04T14:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994764#M405425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prince, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try executing this: &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 1(4) year.&lt;/P&gt;&lt;P&gt;selection-screen  POSITION 6.&lt;/P&gt;&lt;P&gt;PARAMETERS para(4) TYPE c.&lt;/P&gt;&lt;P&gt;selection-screen  POSITION 12.&lt;/P&gt;&lt;P&gt;select-options v1 for mara-matnr.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  year = 'year'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if it helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br, &lt;/P&gt;&lt;P&gt;Laxmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2007 14:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994764#M405425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-04T14:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994765#M405426</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 try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(4) TEXT-001.                 &amp;lt;---- Year 
SELECTION-SCREEN POSITION 6.
PARAMETERS : P_YEAR(4) OBLIGATORY.
SELECTION-SCREEN POSITION 11.
PARAMETERS : P_DATE1 LIKE SY-DATUM.
SELECTION-SCREEN COMMENT 21(2) TEXT-002.                &amp;lt;---- To 
SELECTION-SCREEN POSITION 24.
PARAMETERS : P_DATE2 LIKE SY-DATUM.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.


AT SELECTION-SCREEN OUTPUT.

IF NOT P_YEAR IS INITIAL.
 P_DATE1(4)   = P_YEAR.
 P_DATE1+4(4) = '0401'.
 P_DATE2(4)   = P_YEAR + 1.
 P_DATE2+4(4) = '0331'. 
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2007 15:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1994765#M405426</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-04T15:17:22Z</dc:date>
    </item>
  </channel>
</rss>

