<?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: Doubt on Dates in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-on-dates/m-p/7139557#M1513336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi harsha&lt;/P&gt;&lt;P&gt;compare from_date with sdate-low &lt;/P&gt;&lt;P&gt;and  to_date with sdate_high&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *  lab lab ....where  from_date GE sdate-low and to_date LE sdate-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but before using this check if we can compare date fields directly. &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;If it is not possible at select statement level we can do that in internal table level very easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Aug 2010 16:50:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-07T16:50:17Z</dc:date>
    <item>
      <title>Doubt on Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-on-dates/m-p/7139556#M1513335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi exports,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create executable program which is having date field in selection screen. date is select-options field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my problem is i want to select the data from ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the table contains many filed in that one field is from_date and another is to_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: from date: 01.01.2010 to date: 31.12.2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in selection screen user will enter like: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: from date: 05.05.2010 ; to 31.05.2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to search the user enter date range is between the ztable from and to dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in example above it is following in that range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to select that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how can i write select statement for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me.&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;&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Aug 2010 15:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-on-dates/m-p/7139556#M1513335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-07T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt on Dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-on-dates/m-p/7139557#M1513336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi harsha&lt;/P&gt;&lt;P&gt;compare from_date with sdate-low &lt;/P&gt;&lt;P&gt;and  to_date with sdate_high&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *  lab lab ....where  from_date GE sdate-low and to_date LE sdate-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but before using this check if we can compare date fields directly. &lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;If it is not possible at select statement level we can do that in internal table level very easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Aug 2010 16:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-on-dates/m-p/7139557#M1513336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-07T16:50:17Z</dc:date>
    </item>
  </channel>
</rss>

