<?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: select one in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678421#M1100224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MIN( date ).&lt;/P&gt;&lt;P&gt;is not working with for all entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 07:57:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T07:57:33Z</dc:date>
    <item>
      <title>select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678414#M1100217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii,&lt;/P&gt;&lt;P&gt;one personnel number has 2-3 joining date in table.&lt;/P&gt;&lt;P&gt;i want to select the  first joining date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678414#M1100217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T07:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678415#M1100218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;retrieve the joining dates  in internal table, sort then use read table with index 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678415#M1100218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678416#M1100219</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;Do you want to take the earliest data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so do like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from the tabe to an internal table where conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by datefield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab into wa index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678416#M1100219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T07:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678417#M1100220</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;after getting all the records into your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort your internal table ascending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM it_pa0001 COMPARING pernr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678417#M1100220</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-10-23T07:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678418#M1100221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be HR compliant, use macro rp_provide_from_first&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678418#M1100221</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-10-23T07:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678419#M1100222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT min( date )
FROM...
INTO...
WHERE employee = employee_number.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date is the name of the field in the table for the joining date&lt;/P&gt;&lt;P&gt;employee is the name of the field in the table for the employee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678419#M1100222</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-23T07:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678420#M1100223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You Can first take all dates in an internal and take the first by setting index&lt;/P&gt;&lt;P&gt;or you can use it by usin min statement in your select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678420#M1100223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T07:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678421#M1100224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MIN( date ).&lt;/P&gt;&lt;P&gt;is not working with for all entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678421#M1100224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T07:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678422#M1100225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so you want to select the earlies joining dates for several employee at the same time? if yes, than you have to select all employee numners and dates into an internal table and:&lt;/P&gt;&lt;P&gt;SORT itab.&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;AT NEW date.&lt;/P&gt;&lt;P&gt;==&amp;gt; this will be the earliest date for the employee.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 08:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678422#M1100225</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-23T08:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678423#M1100226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be correct... but this is not the way of doing such things in HR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 08:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678423#M1100226</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-10-23T08:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678424#M1100227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are right... but in the original question it is never mentioned that it is about HR, it could be any Z... table &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 08:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678424#M1100227</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-23T08:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678425#M1100228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The original question and subject line is so vague, I wouldn't bother at all. I mean, everybody is guessing around just because the OP cannot or does not want to phrase a proper and detailed question.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 08:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678425#M1100228</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-10-23T08:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678426#M1100229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yupp, i'm always taking my way of doing things, and if the data is stored elswehere, i would never store them a seconf time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the OP kann specify a little bit more e.g. if he's using LDB and taking hiring/firing from infotype zero. And: there are function modules to get the hire/fire dates out from there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way... i need to take something out of my car, how can i do this? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 08:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678426#M1100229</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-10-23T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: select one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678427#M1100230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Eric..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 09:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-one/m-p/4678427#M1100230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T09:07:41Z</dc:date>
    </item>
  </channel>
</rss>

