<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951869#M392014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;u can try as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select max( bedat ) from eipa into v_bedat where (your condtions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from eipa where bedat = v_bedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2007 09:52:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-26T09:52:25Z</dc:date>
    <item>
      <title>SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951866#M392011</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 need to select only one row from table eipa where the date(bedat) is the latest.&lt;/P&gt;&lt;P&gt;is anyone know how can i do this?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;dana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951866#M392011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951867#M392012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the select query  add the addition BYPASSING BUFFER which guarantees that the data you read is the most up to date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951867#M392012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951868#M392013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE * FROM eipa 
              INTO TABLE i_eipa.
if sy-subrc = 0.
 SORT i_eipa descending by bedat.
 READ i_eipa INTO wa_eipa INDEX 1.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves ur query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE * FROM eipa 
              INTO wa_eipa 
              ORDER BY bedat.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if this helsp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951868#M392013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951869#M392014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;u can try as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select max( bedat ) from eipa into v_bedat where (your condtions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from eipa where bedat = v_bedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951869#M392014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951870#M392015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select * from eipa 
up to 1 rows
where ....
order by object bedat descending.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951870#M392015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951871#M392016</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 sort the internal table and then read the first row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from eipa into table itab.&lt;/P&gt;&lt;P&gt;sort itab descending by bedat.&lt;/P&gt;&lt;P&gt;read table itab into wa_itab index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Beejal&lt;/P&gt;&lt;P&gt;**reward if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951871#M392016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951872#M392017</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 use select single or select upto 1 rows for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951872#M392017</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-02-26T09:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951873#M392018</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;chk this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. select all the records to an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. sort by date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. read the internal table, the latest bedat will be in top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951873#M392018</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-02-26T09:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951874#M392019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dana,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; CLEAR  EIPA.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; SELECT MAX( bedat ) FROM EIPA INTO eipa-bedat&lt;/P&gt;&lt;P&gt;   WHERE  ........your conditions.&lt;/P&gt;&lt;P&gt;    if  not eipa-bedat is initial.&lt;/P&gt;&lt;P&gt;      select * from eipa where bedat = eipa-bedat.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls. reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951874#M392019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951875#M392020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi dana,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: EIPA.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SELECT * FROM EIPA order by bedat descending.&lt;/P&gt;&lt;P&gt;write: eipa-infnr.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 10:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951875#M392020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T10:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951876#M392021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much,for all your replies.&lt;/P&gt;&lt;P&gt;you helped me solve the problem,&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 12:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1951876#M392021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T12:31:56Z</dc:date>
    </item>
  </channel>
</rss>

