<?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/3836799#M922640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt; into table itab upto 2 rows ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2008 07:45:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-20T07:45:09Z</dc:date>
    <item>
      <title>Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836797#M922638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I have a report as mentioned below.But i want to select only the first 2 record from the table without using control-break statments.Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 07:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836797#M922638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T07:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836798#M922639</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 PACKAGE SIZE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT *
        INTO TABLE (internal table)
        FROM (Standard table)
             PACKAGE SIZE 2
       WHERE (Condition).
       ENDSELECT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 07:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836798#M922639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T07:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836799#M922640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt; into table itab upto 2 rows ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 07:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836799#M922640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T07:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836800#M922641</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into it_mara&lt;/P&gt;&lt;P&gt;up to 1 rows&lt;/P&gt;&lt;P&gt;where matnr = '000000000100000174'.&lt;/P&gt;&lt;P&gt;append it_mara.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If its useful reward points&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 08:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836800#M922641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T08:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836801#M922642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a relational database no "first" record exists. first second last is only relevant if you do a sorting. Just using package size or up to n rows is not sufficient, you need a sort to tell if you need the two actual values (sorting by date) or whatever. Without having a sort in the select clause you can not assure what values are the first ones.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 08:47:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/3836801#M922642</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-05-20T08:47:37Z</dc:date>
    </item>
  </channel>
</rss>

