SAP Knowledge Base Article - Preview

2234540 - How to add additional unique keys to any existing core item / (uniqueKeyAttributeQualifier) / Duplicate identifiers tool in hMC-hybris


For example, in Duplicate Identifiers tool in hMC/Catalog/Catalog Management Tools , the identifier of Price Row is defined as :Product,Unit,Product Price Class,Customer Price List,Scale,Pricing,Customer,Currency

screenshot as below



If you want to change the uniqueKeyAttribute in {yourextesion}-items.xml code as below to change the defination:

<itemtype code="PriceRow" autocreate="false"    generate="true">
<custom-properties><property name="uniqueKeyAttributeQualifier">


After ant all, error will be as below

Problem: can’t change uniqueKeyAttributeQualifier in {extension}_item.xml

Caused by: java.lang.IllegalStateException: custom property 'uniqueKeyAttributeQ

ualifier' of PriceRow::((europe1))::YComposedType[europe1-items.xml:228(ItemType

TagListener)] already set to '"product,pg,user,ug,unit,minqtd,currency,net" - ca

nnot set to '"product,pg,user,ug,unit,minqtd,currency,net"'



hybris with hMC 5.x


SAP Commerce all versions


KBA , CEC-COM-CPS-CKP , Cockpits & hMC , CEC-COM-CPS-CAS , Catalog & Sync , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.