<?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: for all entry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835865#M922423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please ask your question properly, the database table can not have duplicates, because the primary key MUST be unique. If you select which&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES with Select * or Select primary key, then you get everything there is nothing missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the  FAE is a select´distinct, if you have a field list with less fields, such that you woould get duplicates, then they will disappear from the result table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; choose your field list properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2008 06:44:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-23T06:44:17Z</dc:date>
    <item>
      <title>for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835859#M922417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. how can i get the duplicate data while using on for all entry?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 12:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835859#M922417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T12:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835860#M922418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe a query like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field from table into corresponding fields of i_table group by field having count( * ) &amp;gt; 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 12:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835860#M922418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T12:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835861#M922419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chakri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      When you use &lt;STRONG&gt;FOR ALL ENTRIES&lt;/STRONG&gt; syntax,  the data is fetched based on the data stored in the first internal table, on which you write , &lt;STRONG&gt;IF NOT INITIAL&lt;/STRONG&gt;  condiiton. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I general, &lt;STRONG&gt;FOR ALL ENTRIES&lt;/STRONG&gt; does not fetch duplicate entries, so it is better to opt for writing seperate &lt;STRONG&gt;SELECT&lt;/STRONG&gt; stmts. to fetch the data as per your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hope this is helpful to you. If you need further information, revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nagaraj T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 13:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835861#M922419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T13:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835862#M922420</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;say if the source table has duplicate entries:&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you dont delete the duplicates and use it in for all entries to fetch data, ex. 1 occurs twice, the same data will be fetched twice. same is the case for 3 too. if u delete the duplicates, only once the matching data will be fetched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 15:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835862#M922420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T15:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835863#M922421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For ALL ENTRIES doesnt give u a duplicate data depending on the selected tables. If it is so you can use &lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM it_table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 00:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835863#M922421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T00:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835864#M922422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For all entries in select statement always deletes duplicates data in result internal table comparing all fields.&lt;/P&gt;&lt;P&gt;Therefore, If you want some duplicates data in some fields, I suggest you to get all key fields of the selected table into your internal table then you will get duplicates data you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chaiphon Pulnitiporn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 19:13:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835864#M922422</guid>
      <dc:creator>chaiphon</dc:creator>
      <dc:date>2008-05-22T19:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835865#M922423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please ask your question properly, the database table can not have duplicates, because the primary key MUST be unique. If you select which&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES with Select * or Select primary key, then you get everything there is nothing missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the  FAE is a select´distinct, if you have a field list with less fields, such that you woould get duplicates, then they will disappear from the result table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; choose your field list properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2008 06:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835865#M922423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-23T06:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835866#M922424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;let say..&lt;/P&gt;&lt;P&gt;if itab is the source table having 2 same data&lt;/P&gt;&lt;P&gt;then whiling joining by for all entries at that time the data will fetch from the source is default one or first one &lt;/P&gt;&lt;P&gt;that is why u can avoid the duplicacy.&lt;/P&gt;&lt;P&gt;if u want to populate duplicate value then use innre join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;sachhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 08:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835866#M922424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-27T08:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: for all entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835867#M922425</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 want to have duplicate data with For all entries&lt;/P&gt;&lt;P&gt;you must avoid to select key field in the select statement.&lt;/P&gt;&lt;P&gt;because of For all entries will removed duplicates data from the current select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Wiparat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 17:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entry/m-p/3835867#M922425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-03T17:10:56Z</dc:date>
    </item>
  </channel>
</rss>

