<?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: sele ction screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961697#M395304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sorry previous one doesnt work as they were lot of code errors in that, check this one, its working perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_datum for ekko-aedat.&lt;/P&gt;&lt;P&gt;data: temp type int2, firs(2), sec(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firs = sy-datum+4(2). " this will get present month&lt;/P&gt;&lt;P&gt;temp = firs.&lt;/P&gt;&lt;P&gt;sec = firs + 1. " this will get next month first day&lt;/P&gt;&lt;P&gt;unpack sec to sec.&lt;/P&gt;&lt;P&gt;*concatenate this into a date..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate sy-datum(4) firs '01' into s_datum-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate sy-datum(4) sec '01' into s_datum-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append s_datum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2007 13:12:02 GMT</pubDate>
    <dc:creator>rahulkavuri</dc:creator>
    <dc:date>2007-02-26T13:12:02Z</dc:date>
    <item>
      <title>sele ction screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961694#M395301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Select-options in lower field the first date of the current month and in higher field last date of the current field should be displayed. how we can write code for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 12:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961694#M395301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T12:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: sele ction screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961695#M395302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;concatenate sy-datum&lt;EM&gt;4(4) sy-datum&lt;/EM&gt;2(2) '01' into s_date-low.&lt;/P&gt;&lt;P&gt;call function 'LAST_DAY_OF_MONTHS'&lt;/P&gt;&lt;P&gt;exporting DAY_IN = sy-datum&lt;/P&gt;&lt;P&gt;importing LAST_DAY_OF_MONTH = s_date-high.&lt;/P&gt;&lt;P&gt;s_date-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_date-option = 'BT'.&lt;/P&gt;&lt;P&gt;append s_date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 13:00:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961695#M395302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T13:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: sele ction screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961696#M395303</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;In the INITIALIZATION event you can write this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_date-low  = .1st date of the month (concatenate  ..day(01)..month..year )..&lt;/P&gt;&lt;P&gt;s_date-high  = last date  ,,                      ,,               day (last) month  year     &lt;/P&gt;&lt;P&gt;s_date-option = EQ.&lt;/P&gt;&lt;P&gt;append s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 13:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961696#M395303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T13:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: sele ction screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961697#M395304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sorry previous one doesnt work as they were lot of code errors in that, check this one, its working perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_datum for ekko-aedat.&lt;/P&gt;&lt;P&gt;data: temp type int2, firs(2), sec(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firs = sy-datum+4(2). " this will get present month&lt;/P&gt;&lt;P&gt;temp = firs.&lt;/P&gt;&lt;P&gt;sec = firs + 1. " this will get next month first day&lt;/P&gt;&lt;P&gt;unpack sec to sec.&lt;/P&gt;&lt;P&gt;*concatenate this into a date..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate sy-datum(4) firs '01' into s_datum-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate sy-datum(4) sec '01' into s_datum-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append s_datum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 13:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961697#M395304</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-02-26T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: sele ction screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961698#M395305</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;ravi's code will work fine with one small correction&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INTIALIZATION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CONCATENATE sy-datum&lt;EM&gt;0(4) '01' sy-datum&lt;/EM&gt;4(2)    INTO v_low.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'LAST_DAY_OF_MONTHS'
exporting DAY_IN = sy-datum
importing LAST_DAY_OF_MONTH = s_date-high.
s_date-sign = 'I'.
s_date-option = 'BT'.
s_date-low = v_low.
APPEND s_date&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 13:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961698#M395305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: sele ction screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961699#M395306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : dat type d,&lt;/P&gt;&lt;P&gt;dat1 type d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dat = sy-datum.&lt;/P&gt;&lt;P&gt;dat1 = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dat+6(2) = 01.&lt;/P&gt;&lt;P&gt;dat&lt;EM&gt;4(2) = dat&lt;/EM&gt;4(2) + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dat1+6(2) = 01.&lt;/P&gt;&lt;P&gt;s_test-low = dat1.&lt;/P&gt;&lt;P&gt;s_test-high = dat - 1.&lt;/P&gt;&lt;P&gt;append s_test.&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;&lt;/P&gt;&lt;P&gt;Rusidar S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 13:15:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sele-ction-screen/m-p/1961699#M395306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T13:15:26Z</dc:date>
    </item>
  </channel>
</rss>

