<?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: help in select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select/m-p/3191843#M760392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can't so it in the select statement because the order of retireved data is not guaranteed. Pull them into internal table with first two fields project and Period. Sort itab. loop at itab. AT END OF PROJECT. Here you have the highest period for a project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Dec 2007 14:09:57 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2007-12-16T14:09:57Z</dc:date>
    <item>
      <title>help in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select/m-p/3191842#M760391</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;i wont to select data from table for project last version and all the projects have entries for period but all projects end in  different date.&lt;/P&gt;&lt;P&gt; i give example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume i have table itab with projects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;project------Period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1000 -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;ET0712 "YEAR AND MONTH&lt;/P&gt;&lt;P&gt;1000 -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;ET0711&lt;/P&gt;&lt;P&gt;1000 -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;ET0710&lt;/P&gt;&lt;P&gt;2000----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;ET0710&lt;/P&gt;&lt;P&gt;2000----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;ET0709   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i wont to move to my second table is to take the last version of the project like in project 1000 is ET0712 and in project 2000 ET0710&lt;/P&gt;&lt;P&gt;how i can do that and consider that all project has  different time for last version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2007 13:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select/m-p/3191842#M760391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-16T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: help in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select/m-p/3191843#M760392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can't so it in the select statement because the order of retireved data is not guaranteed. Pull them into internal table with first two fields project and Period. Sort itab. loop at itab. AT END OF PROJECT. Here you have the highest period for a project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2007 14:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select/m-p/3191843#M760392</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-12-16T14:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: help in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select/m-p/3191844#M760393</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 also do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort itab by project period descending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt; on change of project.&lt;/P&gt;&lt;P&gt;   move to another internal table.&lt;/P&gt;&lt;P&gt; endon.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2007 15:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-select/m-p/3191844#M760393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-16T15:57:49Z</dc:date>
    </item>
  </channel>
</rss>

