SAP Knowledge Base Article - Public

2024052 - Error: Category ID XYZ already exists

Symptom

Error Messages:

Category ID XYZ already exists
Category ID UVW already exists

is shown in the Simulation Phase of Migration of Product Category Hierarchies.

Reproducing the Issue

  1. Go to Business Configuration work center.
  2. Go the Overview view.
  3. Show: All Configuration Elements and find activity PRODUCT CATEGORY HIERARCHY
  4. Choose to Migrate product category hierarchy using the migration tool
  5. Upload the populated migration file and select the Execute Migration button.
  6. From the dropdown, select the Execute Migration Step by Step option.
  7. Continue to the Simulation Phase.

Cause

The reason as the message suggests is the duplicity of Category IDs.

However, the error is shown for only two duplicate entries from the bottom of the template even if there are more duplicate entries in the template. But the migration tool for Product Category is designed in a way only to display two first identified erroneous records. And the migration service starts pushing into the system from the bottom of the template. That is why the errors pertaining to only 2 IDs XYZ and UVW are displayed.

Resolution

Once the duplicate entries within the file are removed the migration should go through without any issues.

Keywords

KBA , category id , migration , duplicate , product category , product category hierarchies , LOD-CRM-EMP , Employee , How To

Product

SAP Hybris Cloud for Customer add-ins 1702 ; SAP Hybris Cloud for Customer add-ins 1705 ; SAP Hybris Cloud for Customer add-ins 1708