<?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: why should we select all key fields when using for all entries in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189373#M1374321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no restriction that we should use all key fields while using for all entries.Like any other select statement ,using all key fields will increase the performance of the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2009 07:34:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-16T07:34:28Z</dc:date>
    <item>
      <title>why should we select all key fields when using for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189372#M1374320</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;Why should we select all key fields in our select query when using for all entries statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read about for all entries but this point was not clear in any post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 07:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189372#M1374320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T07:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: why should we select all key fields when using for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189373#M1374321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no restriction that we should use all key fields while using for all entries.Like any other select statement ,using all key fields will increase the performance of the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 07:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189373#M1374321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T07:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: why should we select all key fields when using for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189374#M1374322</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;We can increase the performance by using key fields in where condition but why should we select all key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean how duplicate entries will not get deleted when we use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhashini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 07:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189374#M1374322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T07:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: why should we select all key fields when using for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189375#M1374323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Subhasini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is because FOR ALL ENTRIES deletes the duplicate entries before populating the target internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do an F1 on FOR ALL ENTRIES &amp;amp; read the SAP documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I mean how duplicate entries will not get deleted when we use this?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Quite simple, if you select  all key fields then each entry will be unique &amp;amp; there will not be any duplicate entries to delete !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Oct 16, 2009 9:41 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 07:41:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189375#M1374323</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-10-16T07:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: why should we select all key fields when using for all entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189376#M1374324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subhasini,&lt;/P&gt;&lt;P&gt;as suhas has already explained... FAE (for all entries) will delete the duplicate entries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the help itself:&lt;/P&gt;&lt;P&gt;&amp;gt; The result set of the SELECT statement is the union of the individual selections for each line of the internal table. Duplicate lines &lt;/P&gt;&lt;P&gt;&amp;gt;are automatically eliminated from the result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so.. is the need of including all the key elements for no duplication&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 07:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-should-we-select-all-key-fields-when-using-for-all-entries/m-p/6189376#M1374324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-16T07:49:59Z</dc:date>
    </item>
  </channel>
</rss>

