<?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: splitting for all entries statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-for-all-entries-statement/m-p/3689783#M888471</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;First of all u should be very carefull while using this FOR ALL ENTRIES in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either u should select full key fieds in the select clause or full key fields in the where clause or else u will get some unwanted fileds ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maximum try to avoid this for all entries statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_table into fs_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1&lt;/P&gt;&lt;P&gt;         field2&lt;/P&gt;&lt;P&gt;field3&lt;/P&gt;&lt;P&gt;from table&lt;/P&gt;&lt;P&gt;into appending table t_some_table&lt;/P&gt;&lt;P&gt;where filed1 eq fs_table-filed1&lt;/P&gt;&lt;P&gt;filed2 eq fs_table-field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&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;&lt;/P&gt;&lt;P&gt;Sunil Kumar Mutyala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2008 11:22:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-21T11:22:57Z</dc:date>
    <item>
      <title>splitting for all entries statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-for-all-entries-statement/m-p/3689781#M888469</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 want to split the following select stmt with for all entries into 2 statements. Plz tell me how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select ebeln&lt;/P&gt;&lt;P&gt;        ebelp&lt;/P&gt;&lt;P&gt;        xblnr&lt;/P&gt;&lt;P&gt;        kschl&lt;/P&gt;&lt;P&gt;        stunr&lt;/P&gt;&lt;P&gt;        zaehk&lt;/P&gt;&lt;P&gt;        lifnr&lt;/P&gt;&lt;P&gt;        gjahr&lt;/P&gt;&lt;P&gt;        budat&lt;/P&gt;&lt;P&gt;        menge&lt;/P&gt;&lt;P&gt;        arewr&lt;/P&gt;&lt;P&gt;        dmbtr&lt;/P&gt;&lt;P&gt;        vgabe&lt;/P&gt;&lt;P&gt;        shkzg&lt;/P&gt;&lt;P&gt;        belnr&lt;/P&gt;&lt;P&gt;        buzei&lt;/P&gt;&lt;P&gt;        bewtp&lt;/P&gt;&lt;P&gt;   from ekbz&lt;/P&gt;&lt;P&gt;   into corresponding fields of table e_ekbz_tmp&lt;/P&gt;&lt;P&gt;    for all entries in t_bsisgr&lt;/P&gt;&lt;P&gt;  where ebeln eq t_bsisgr-ebeln&lt;/P&gt;&lt;P&gt;    and ebelp eq t_bsisgr-ebelp&lt;/P&gt;&lt;P&gt;    and kschl in r_price_cond_typ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 11:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-for-all-entries-statement/m-p/3689781#M888469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T11:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: splitting for all entries statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-for-all-entries-statement/m-p/3689782#M888470</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;if you are able to achieve something by making use of a single statement, why r u trying to do using two statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please specify your exact requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if this helps,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kiran&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 11:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-for-all-entries-statement/m-p/3689782#M888470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T11:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: splitting for all entries statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-for-all-entries-statement/m-p/3689783#M888471</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;First of all u should be very carefull while using this FOR ALL ENTRIES in the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either u should select full key fieds in the select clause or full key fields in the where clause or else u will get some unwanted fileds ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maximum try to avoid this for all entries statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_table into fs_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1&lt;/P&gt;&lt;P&gt;         field2&lt;/P&gt;&lt;P&gt;field3&lt;/P&gt;&lt;P&gt;from table&lt;/P&gt;&lt;P&gt;into appending table t_some_table&lt;/P&gt;&lt;P&gt;where filed1 eq fs_table-filed1&lt;/P&gt;&lt;P&gt;filed2 eq fs_table-field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&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;&lt;/P&gt;&lt;P&gt;Sunil Kumar Mutyala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 11:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-for-all-entries-statement/m-p/3689783#M888471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T11:22:57Z</dc:date>
    </item>
  </channel>
</rss>

