You are trying to migrate information to your system, but you are receiving the below error messages:
"Error detected in source record with key value XYZ, Is Ship-To Party Of, ABC" (XYZ represents the ID of the first business partner / ABC represents the ID of the second business partner)
"Locking object not possible; object locked by USERID (Name of the user)" (USERID represents the ID of the Business User)
Observation: This KBA will reference the migration of Business Partner Relationships, but the scenario is also observable in other migration objects, such as Opportunities.
SAP Hybris Cloud for Customer.
SAP Business ByDesign.
Reproducing the Issue
- Go to the Business Configuration work center, in Overview view.
- Search for Migration of Customers and open the activity.
- Click on Migrate business partner relationships using the migration tool.
- Upload the template and click on Execute Migration, then Step by Step.
- In step 3 (Simulation) receive the locking error messages.
The locking error occurs when a given record is repeated a lot throughout the migration template. If you add too many lines that need to lock the same object in order to use it, the tool might try to write at the same time on the same record, which causes the lock. It is the same logic in UI, if you are editing a record and another user tries to edit it too, this other user will get the locking message, stating that your user is editing the record.
This error can be avoided by lowering the number of records (lines) in the migration template. For example, if you are using a template with 5.000 lines, divide it in two templates of 2.500 each and run the migration again.
migration of business partner relationship, migration of opportunity, locking object not possible, locking error , KBA , SRD-CC-MIG , Migration , LOD-LE-MIG , LEAP Migration , Problem