<?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: All Dates between two given Dates in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002579#M407860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:    s_date for sy-datum.&lt;/P&gt;&lt;P&gt;s_date-low = '01/01/2007'.&lt;/P&gt;&lt;P&gt;s_date-sign   = 'E'.&lt;/P&gt;&lt;P&gt;s_date-option = "EQ".  &lt;/P&gt;&lt;P&gt;s_date-high = '31/03/2007'.&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;Regards,&lt;/P&gt;&lt;P&gt;Kiran B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2007 10:27:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-23T10:27:06Z</dc:date>
    <item>
      <title>All Dates between two given Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002574#M407855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need all the dates between two given dates in select-options .&lt;/P&gt;&lt;P&gt;For example  the range in select-options is 01/01/2007 - 31/03/2007 .&lt;/P&gt;&lt;P&gt;I need  all the dates between the two given dates .&lt;/P&gt;&lt;P&gt;How can i do this .Is there any FM for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 10:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002574#M407855</guid>
      <dc:creator>shaik_zia</dc:creator>
      <dc:date>2007-03-23T10:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: All Dates between two given Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002575#M407856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSCP_PARA1_GET_PERIODS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:begin of daytab occurs 0.&lt;/P&gt;&lt;P&gt;        include structure scscp_period_str.&lt;/P&gt;&lt;P&gt;data:end of daytab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'CSCP_PARA1_GET_PERIODS'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_datuv    = r_budat-low&lt;/P&gt;&lt;P&gt;      i_datub    = r_budat-high&lt;/P&gt;&lt;P&gt;      i_timeunit = 'D'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      et_dates   = daytab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here u have to put one more logic.&lt;/P&gt;&lt;P&gt;   loop at daytab where datuv in r_budat.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;So u will get all the dates&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;prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 10:09:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002575#M407856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: All Dates between two given Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002576#M407857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSCP_PARA1_GET_PERIODS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 10:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002576#M407857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T10:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: All Dates between two given Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002577#M407858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi dear &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can simply do this in abap coding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by just giving&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if datfrom &amp;gt; datto  in where condition of ur select program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;amit singla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 10:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002577#M407858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: All Dates between two given Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002578#M407859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its better to do in while ---endwhile.&lt;/P&gt;&lt;P&gt;I am here giving u pseudocode&lt;/P&gt;&lt;P&gt;date1 = 01/01/2007.&lt;/P&gt;&lt;P&gt;date2 =- 31/03/2007 &lt;/P&gt;&lt;P&gt;while date1 &amp;lt;= date2.&lt;/P&gt;&lt;P&gt; date1= date1 + 1.&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here at each loop pass u get a different date which is less than date2.&lt;/P&gt;&lt;P&gt;Hence u can get all the dates between those two dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sujatha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sujatha Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 10:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002578#M407859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T10:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: All Dates between two given Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002579#M407860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:    s_date for sy-datum.&lt;/P&gt;&lt;P&gt;s_date-low = '01/01/2007'.&lt;/P&gt;&lt;P&gt;s_date-sign   = 'E'.&lt;/P&gt;&lt;P&gt;s_date-option = "EQ".  &lt;/P&gt;&lt;P&gt;s_date-high = '31/03/2007'.&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;Regards,&lt;/P&gt;&lt;P&gt;Kiran B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 10:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/all-dates-between-two-given-dates/m-p/2002579#M407860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T10:27:06Z</dc:date>
    </item>
  </channel>
</rss>

