<?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: Select-options.. Date range..URgent... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021433#M413741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  You can calculate the current month , once you get it get the previous month from it and then assign this to the FM RP_LAST_DAY_OF_MONTHS&lt;/P&gt;&lt;P&gt;which will give you the last date of the month ( in this case last date of previous month) and then use this in your select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2007 06:56:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-20T06:56:00Z</dc:date>
    <item>
      <title>Select-options.. Date range..URgent...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021432#M413740</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;Can anyone let me know.. how to give last one month date range in select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Parvez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 06:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021432#M413740</guid>
      <dc:creator>former_member2382</dc:creator>
      <dc:date>2007-03-20T06:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options.. Date range..URgent...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021433#M413741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  You can calculate the current month , once you get it get the previous month from it and then assign this to the FM RP_LAST_DAY_OF_MONTHS&lt;/P&gt;&lt;P&gt;which will give you the last date of the month ( in this case last date of previous month) and then use this in your select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 06:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021433#M413741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options.. Date range..URgent...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021434#M413742</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 manipulate the start date and end date of the previous month using any fm and use "between st_date and end_date" in your select query....but you could better build a range for the same and use it in the query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 06:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021434#M413742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T06:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options.. Date range..URgent...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021435#M413743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the INITIALIZATION event you can do that.&lt;/P&gt;&lt;P&gt;v_month = sy-datum+4(2) - 1.&lt;/P&gt;&lt;P&gt;v_year = sy-datum+0(4).&lt;/P&gt;&lt;P&gt;concatenate  v_year v_month 01 to v_date1&lt;/P&gt;&lt;P&gt;concatenate  v_year v_month 31 to v_date2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or get the 1st and last dates of the last month and&lt;/P&gt;&lt;P&gt;s_date-low = date1 (1st date of last month).&lt;/P&gt;&lt;P&gt;s_date-sign= 'I'&lt;/P&gt;&lt;P&gt;s_date-high = date2 (last date of last month).&lt;/P&gt;&lt;P&gt;s_date-option = 'BT'&lt;/P&gt;&lt;P&gt;append s_date.&lt;/P&gt;&lt;P&gt;reward if useful&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>Tue, 20 Mar 2007 06:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021435#M413743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T06:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options.. Date range..URgent...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021436#M413744</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 FM    &amp;lt;b&amp;gt;LAST_DAY_OF_MONTHS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 07:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-date-range-urgent/m-p/2021436#M413744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T07:01:09Z</dc:date>
    </item>
  </channel>
</rss>

