<?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: Last date wise data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944784#M389536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sort the table on the date in descending order so that the last date will come as the first entry of the table. then read the table with index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;sort it_table by date descending.&lt;/P&gt;&lt;P&gt;read it_table index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't solve the purpose then explain your prob in a little more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2007 07:34:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-26T07:34:17Z</dc:date>
    <item>
      <title>Last date wise data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944781#M389533</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 have an internal table that was many fields including the asset number and Validation date each asset number can have 1,2,3 or more entries according to the number of times the cost centre of the asset had been changed in that internal table that i have with all the asset numbers and dates i wanted only the latest or the asset with other data only for the last valid date is there a way of achieving it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 07:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944781#M389533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T07:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Last date wise data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944782#M389534</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;use this:&lt;/P&gt;&lt;P&gt;sort itab by dtae descending.&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 07:31:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944782#M389534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T07:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Last date wise data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944783#M389535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Select the data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*sort desending by validate dates&lt;/P&gt;&lt;P&gt;*and delete adjecent dulicates comparing asset number ( so latest record will remain,,,)&lt;/P&gt;&lt;P&gt;-&amp;gt; u can also mention desending order on dates in select query...but above 3steps will b faster compar to using desending in select statement....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 07:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944783#M389535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T07:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Last date wise data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944784#M389536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sort the table on the date in descending order so that the last date will come as the first entry of the table. then read the table with index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;sort it_table by date descending.&lt;/P&gt;&lt;P&gt;read it_table index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't solve the purpose then explain your prob in a little more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kirti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 07:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944784#M389536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T07:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Last date wise data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944785#M389537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : wtab like itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by assetno date descending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab into wtab index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab where date ne wtab-date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now your itab contains the datas of latest valid dates &amp;lt;it may contain more than 1 row&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 07:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944785#M389537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T07:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Last date wise data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944786#M389538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/last-date-wise-data/m-p/1944786#M389538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:14:53Z</dc:date>
    </item>
  </channel>
</rss>

