<?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 How to avoid duplicated entries in database view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicated-entries-in-database-view/m-p/4792505#M1122469</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;I created a database view to show all the customers from KNA1 who has order(s) in VBAK, here is&lt;/P&gt;&lt;P&gt;my join condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KNA1-MANDT = VBAK-MANDT&lt;/P&gt;&lt;P&gt;KNA1-KUNNR = VBAK-KUNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In view fields I have KNA1-KUNNR and KNA1-NAME1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, if a customer has 10 orders, then it's id and name will show 10 times in the view.&lt;/P&gt;&lt;P&gt;How can I avoid the duplicates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2008 16:54:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-04T16:54:01Z</dc:date>
    <item>
      <title>How to avoid duplicated entries in database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicated-entries-in-database-view/m-p/4792505#M1122469</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;I created a database view to show all the customers from KNA1 who has order(s) in VBAK, here is&lt;/P&gt;&lt;P&gt;my join condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KNA1-MANDT = VBAK-MANDT&lt;/P&gt;&lt;P&gt;KNA1-KUNNR = VBAK-KUNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In view fields I have KNA1-KUNNR and KNA1-NAME1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is, if a customer has 10 orders, then it's id and name will show 10 times in the view.&lt;/P&gt;&lt;P&gt;How can I avoid the duplicates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 16:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicated-entries-in-database-view/m-p/4792505#M1122469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid duplicated entries in database view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicated-entries-in-database-view/m-p/4792506#M1122470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this is possible. You have SELECT....DISTINCT while selecting records from these database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 17:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-avoid-duplicated-entries-in-database-view/m-p/4792506#M1122470</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-12-04T17:12:21Z</dc:date>
    </item>
  </channel>
</rss>

