SAP Knowledge Base Article - Public

3026822 - Upload file failed when extending product to storage locations

Symptom

With "Product - extend existing record by new org levels" migration object, product has been extended to plant in "Migrate Your Data" App.

When uploading second file to extend product to storage locations, the following errors occur.

Cannot insert xxxxxx|xxx into table xxxxxxxx (S_MARC); instance already exists in the table.

Cannot insert into table ; instance already exists in the table.

Import failed for file.

Environment

SAP S/4HANA Cloud

Cause

With the new migration app "Migrate Your Data" the logic from the migration tool changed. The migration templates from new and old apps are identical, but the behavior is completely different. Within the old app each file is separated and will be processed one by one. With the new app all the data will be stored in staging tables and the complete content will be executed.

When product has been extended to plant, related data has been stored in staging table. When uploading second file to extend product to storage locations in the same migration project, error message "instance already exists in the table" will occur.

Resolution

Extend the product to the plant and storage location simultaneously with one "Product - extend existing record by new org levels" migration template.

Keywords

Product - extend existing record by new org levels, storage location, instance already exists in the table, Migrate Your Data , KBA , CA-LT-MC , S4 Hana Migration Cockpit , CA-GTF-MIG , SAP S/4HANA Data Migration Cockpit Content (LTMC) , Problem

Product

SAP S/4HANA Cloud all versions