<?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: Delete duplicates in Field Groups in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-duplicates-in-field-groups/m-p/1089891#M100377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanq very much John.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2005 14:51:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-11T14:51:36Z</dc:date>
    <item>
      <title>Delete duplicates in Field Groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-duplicates-in-field-groups/m-p/1089889#M100375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;I have a problem in field groups where one of them contains the duplicate entries. How to catch it and delete the duplicates. Please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx and regards in advance,&lt;/P&gt;&lt;P&gt;ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 14:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-duplicates-in-field-groups/m-p/1089889#M100375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicates in Field Groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-duplicates-in-field-groups/m-p/1089890#M100376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   The best option may be to catch it before you insert the data into the table, if you can.  If you are in a select loop and doing the insert there, you can use the "SELECT DISTINCT" option to make sure you are pulling unique records back from the data base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If that is not possible, you may need to use an internal table instead of the field group.  Either way, this option will get rid of duplicate entries in either field groups or tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-GROUPS: header.

delete adjacent duplicates from header.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: int_mara TYPE STANDARD TABLE OF mara.

delete adjacent duplicates from int_mara.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 14:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-duplicates-in-field-groups/m-p/1089890#M100376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T14:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicates in Field Groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-duplicates-in-field-groups/m-p/1089891#M100377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanq very much John.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2005 14:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-duplicates-in-field-groups/m-p/1089891#M100377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-11T14:51:36Z</dc:date>
    </item>
  </channel>
</rss>

