2178683 - Error Message "Please Assign Party Role XYZ Only Once" During Migration of Customers

SAP Knowledge Base Article - Public

2178683 - Error Message "Please Assign Party Role XYZ Only Once" During Migration of Customers

Symptom

You want to assign the party role XYZ of the Account ID ABC to another employee using the activity Migration of Customers, with the migration mode Enhance already existing records.

The system reports the following error during the Simulate Import step:

"Please assign party role XYZ only once." (XYZ represents the ID of the Party Role and ABC represents the ID of the Account)

Environment

SAP Hybris Cloud for Customer 1711 and higher.

Reproducing the Issue

  1. Navigate to the Business Configuration work center;
  2. Select the Implementation Projects view;
  3. Click Open Activity List;
  4. Navigate to the Integrate and Extend tab;
  5. Open the activity Migration of Customers;
  6. Click Migrate customers using the migration tool;
  7. In the migration tool, click You Can Also - Download Migration Template;
  8. Save and open the new migration template;
  9. Navigate to the Direct Responsibilities worksheet and maintain the Account ID ABC, the Party Role ID XYZ and the new employee ID;
  10. Upload the template back into the system;
  11. Select the template, click Properties and select the migration mode Enhance already existing records;
  12. Click Execute Migration - Execute Migration Step by Step.

The error message occurs during the Simulate Import step.

Cause

If you have defined the Party Role as "Unique in Account Team" in the fine-tuning activity Party Role Definition the system is working as expected. An employee with the Party Role XYZ already exists for the Account ID ABC, the system will not allow you to add the same Party Role more than once. You will need to remove the already existing Party Role XYZ from the Account Team facet in order to be able to add a new employee with this party role.

Resolution

Please remove the party role either manually, or via Mass Data Maintenance, if you need to change this party role for a large number of accounts.

To remove it manually:

  1. Go to the Customers work center.
  2. Select the Accounts view.
  3. Open the account ABC.
  4. Go to the Account Team facet.
  5. Remove the existing Party Role XYZ by using the Delete icon.

To remove it via migration:

  1. In the migration tool, download your migration template for which the system reported the error;
  2. Download a new template, open it and go to the Direct Responsibilities worksheet;
  3. Maintain the Account ID ABC, the Party Role XYZ and the ALREADY EXISTING employee ID which is maintained in the account with this party role;
  4. Mark the Employee ID with X in the Deletion Indicator column;
  5. Upload the template back into the system;
  6. Select the template in the migration tool and click Properties;
  7. Select the migration mode Modify Already Existing Records;
  8. Perform the migration up to the end - the Party Role XYZ will get removed.

After performing these steps, please perform the same steps from the Reproducing the Issue section - the migration will work without errors and the Party Role XYZ will get successfully assigned to the new employee for the Account ID ABC.

Keywords

migration, customers, direct, responsibility, party, role, definition , KBA , LOD-LE-BP-BP , Business Partner , How To

Product

SAP Business ByDesign all versions ; SAP Hybris Cloud for Customer all versions