<?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: how to remove endselect ?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870958#M366678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select belnr into table itab1 up to 1 rows&lt;/P&gt;&lt;P&gt;from BKPF .&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 06:02:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-10T06:02:31Z</dc:date>
    <item>
      <title>how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870950#M366670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select belnr into (itab1-l_belnr) up to 1 rows&lt;/P&gt;&lt;P&gt; from BKPF .&lt;/P&gt;&lt;P&gt; append itab1.&lt;/P&gt;&lt;P&gt; endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870950#M366670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870951#M366671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use into table statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870951#M366671</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2007-01-10T05:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870952#M366672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the following statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select belnr from bkpf into corresponding fields of table itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870952#M366672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870953#M366673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mansi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are appending internally you can try using INTO TABLE in select to remove ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;select belnr into &amp;lt;b&amp;gt;table itab1&amp;lt;/b&amp;gt; up to 1 rows&lt;/P&gt;&lt;P&gt;from BKPF .&lt;/P&gt;&lt;P&gt;*append itab1.&lt;/P&gt;&lt;P&gt;*endselect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that belnr is the first field in internal table itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If belnr is not the first field, then you have to use INTO CORRESPONDING FIELDS OF TABLE &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870953#M366673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870954#M366674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;demo code - &lt;/P&gt;&lt;P&gt;tables :pa0006.&lt;/P&gt;&lt;P&gt;data begin of itab occurs 0.&lt;/P&gt;&lt;P&gt; include structure pa0006.&lt;/P&gt;&lt;P&gt;data end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from Pa0006 up to 20 rows into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/itab-pernr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870954#M366674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870955#M366675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select belnr into corresponding fields of table itab1 from bkpf  up to 1 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use select single if you can define the condition in where clause.&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;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        SHIBA DUTTA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        SHIBA DUTTA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870955#M366675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870956#M366676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i thin ur requirtement is to add one filked in the internal table.&lt;/P&gt;&lt;P&gt;u dont want to use select-endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of Ty_bkpf,&lt;/P&gt;&lt;P&gt;          belnr type bkpf-belnr,&lt;/P&gt;&lt;P&gt;          end of ty_bkpf.&lt;/P&gt;&lt;P&gt;data: it_bkpf type table of ty_bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select belnr from bkpf into table it_bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;i created types, and internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;u can follow the same logic to include other fields,&lt;/P&gt;&lt;P&gt;also to filter the values from BKPF u can use appropriate conditions in the where clause of the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 05:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870956#M366676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T05:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870957#M366677</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 the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE belnr&lt;/P&gt;&lt;P&gt;FROM bkpf&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF  TABLE itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ REWARD POINTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 06:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870957#M366677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T06:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870958#M366678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select belnr into table itab1 up to 1 rows&lt;/P&gt;&lt;P&gt;from BKPF .&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 06:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870958#M366678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T06:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870959#M366679</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;soory &lt;/P&gt;&lt;P&gt;dont use&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 06:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870959#M366679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T06:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870960#M366680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mansi,&lt;/P&gt;&lt;P&gt;declare one more internal table like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab2 type bkpf-belnr occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then write the select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select belnr into table itab2 up to 1 rows from bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way also u can avoid endselect...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~~Guduri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 06:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870960#M366680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T06:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870961#M366681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if ur table is like this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;         belnr like bkpf-belnr,&lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select belnr from BKPF into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ur table is like this (contains other than  belnr fied..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;         belnr like bkpf-belnr,&lt;/P&gt;&lt;P&gt;         ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;/P&gt;&lt;P&gt;         ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, &lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;if u want to selct only belnr field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select belnr from BKPF into corresponding of table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want to specific recored use &amp;lt;b&amp;gt;up to N rows&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;if u r useing any condition add WHERE &amp;lt;field name &amp;gt; = &amp;lt;pass condition value&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 06:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870961#M366681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T06:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove endselect ??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870962#M366682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select belnr from bkpf into table itab.&lt;/P&gt;&lt;P&gt;if u want to restrict with condition, u can do it with where clause in select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujatha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 06:13:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-remove-endselect/m-p/1870962#M366682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T06:13:05Z</dc:date>
    </item>
  </channel>
</rss>

