<?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>Question Re: Initial Load error due duplicate attributes in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811964#M3954751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that depends on which attribute it is. In your case where it is&amp;nbsp; MX_PROVISIONTASK with value -1 it should not matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ole K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 10:56:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-02-09T10:56:49Z</dc:date>
    <item>
      <title>Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaq-p/10811960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I am facing below error during initial load of one our system with further investigation &amp;amp; pointers from SAP , we have found that every privileges uploaded from back-end system contains attributes with duplicate values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initial Load Error screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/634412" height="219" width="647" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/634413" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query result detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/634421" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pherphas , Can some one guide best approach to clear duplicate enteries.&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;Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 20:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaq-p/10811960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-29T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811961#M3954748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I understood correctly from your message you have open dialogue / OSS-message with SAP(?), so then in case like this it's best to trust to the reply you get from them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are those task-attributes been re-defined as multi-value in IdM schema or is just fundamental problem in the Sp-level you have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Sp-level of design time do you have? Is it fresh install or upgrade?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Tero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 18:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811961#M3954748</guid>
      <dc:creator>terovirta</dc:creator>
      <dc:date>2015-01-30T18:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811962#M3954749</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 have seen this before, IdM creates duplicates in the mxi_values table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this in your Development system:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following query should list all these duplicates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;select mv.mskey, mv.attr_id, mv.searchvalue, count(1) from mxi_values mv&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;inner join mxi_attributes ma on mv.attr_id = ma.attr_id&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;where ma.multivalue = 0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;group by mv.mskey, mv.attr_id, mv.searchvalue&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;having count(1) &amp;gt; 1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;If you want to remove the duplicate rows, this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;delete from mxi_values where rowid not in&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; select min(mv.rowid) from mxi_values mv&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; inner join mxi_attributes ma on mv.attr_id = ma.attr_id&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; where ma.multivalue = 0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; group by mv.mskey, mv.attr_id, mv.searchvalue&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These queries are fir Oracle.&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;Ole K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 15:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811962#M3954749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-06T15:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811963#M3954750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the queries , I have one quick question regarding deleted query ,is this necessary to deleted depending newest of changenumber or Latest Modifytime , just to avoid inconsistency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 10:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811963#M3954750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-09T10:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811964#M3954751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that depends on which attribute it is. In your case where it is&amp;nbsp; MX_PROVISIONTASK with value -1 it should not matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ole K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 10:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811964#M3954751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-09T10:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811965#M3954752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi OLe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the duplicate attributes with value -1 , is it going to matter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MX_PROVISIONTASK&lt;/P&gt;&lt;P&gt;MX_DEPROVISIONTASK&lt;/P&gt;&lt;P&gt;MX_ADD_MEMBER_TASK&lt;/P&gt;&lt;P&gt;MX_DEL_MEMBER_TASK&lt;/P&gt;&lt;P&gt;MX_VALIDATE_ADD_TASK&lt;/P&gt;&lt;P&gt;MX_VALIDATE_DEL_TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 11:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811965#M3954752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-09T11:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811966#M3954753</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;It should be OK to remove these duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ole K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 11:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811966#M3954753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-09T11:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811967#M3954754</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;Did this solve your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ole K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 09:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811967#M3954754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-13T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Initial Load error due duplicate attributes</title>
      <link>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811968#M3954755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes indeed apart from your query , I have also run below query from Note : 2030931&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete from mxi_values where changenumber in&lt;/P&gt;&lt;P&gt;(select max(changenumber) from mxi_values group by mskey,attr_id,searchvalue,bChecksum having count(searchvalue)&amp;gt;1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was planning to perform complete initial load again that is why cant able to respond to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks &lt;/P&gt;&lt;P&gt;Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 10:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/initial-load-error-due-duplicate-attributes/qaa-p/10811968#M3954755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-15T10:08:55Z</dc:date>
    </item>
  </channel>
</rss>

