<?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 compare two dates in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790089#M911646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an internal table with 10 records.&lt;/P&gt;&lt;P&gt;one of the columns is 'Modification Date' ,&lt;/P&gt;&lt;P&gt;i need to get the latest of the records, ie. the date which is most recent.&lt;/P&gt;&lt;P&gt;how do i acomplish this task,&lt;/P&gt;&lt;P&gt;is there a function module to compare dates in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 23:04:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T23:04:54Z</dc:date>
    <item>
      <title>compare two dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790089#M911646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an internal table with 10 records.&lt;/P&gt;&lt;P&gt;one of the columns is 'Modification Date' ,&lt;/P&gt;&lt;P&gt;i need to get the latest of the records, ie. the date which is most recent.&lt;/P&gt;&lt;P&gt;how do i acomplish this task,&lt;/P&gt;&lt;P&gt;is there a function module to compare dates in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 23:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790089#M911646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T23:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: compare two dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790090#M911647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use sort based on date and as well as compare as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort table itab1 by dat1 descending.&lt;/P&gt;&lt;P&gt;sort table itab2 by dat2 descending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab1-dat1 &amp;gt; itab2-dat2.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 23:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790090#M911647</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-04-22T23:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: compare two dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790091#M911648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort the internal table by date descending and pick the first record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 23:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790091#M911648</guid>
      <dc:creator>former_member254848</dc:creator>
      <dc:date>2008-04-22T23:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: compare two dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790092#M911649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanjana-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the latest record comparing date field for ex:budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort i_tab by budat ascending.&lt;/P&gt;&lt;P&gt;read table i_tab into w_area index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;~Srini.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 04:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790092#M911649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T04:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: compare two dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790093#M911650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanjana-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the latest record comparing date field for ex:budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort i_tab by budat ascending.&lt;/P&gt;&lt;P&gt;read table i_tab into w_area index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;~Srini.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 05:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compare-two-dates/m-p/3790093#M911650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T05:00:03Z</dc:date>
    </item>
  </channel>
</rss>

