Tuesday, June 1, 2021

Re-migrating records with migration cockpit

 Re-migrating records with migration cockpit


Sometimes in test and dev, we need to migrate the same content more than one time.

The steps to do it for any object are:

1st - Delete the records in the target.

2nd – Delete the records in the Migration Cockpit

The second step depends on the approach you are using for migrating your object.

While in the Migration cockpit 1909 version and older ones, it was not possible to migrate again the objects already migrated using the direct approach; in the newer versions (2020 and onwards), it is possible.

 

Direct approach

 

For deleting the records in the migration cockpit object, direct approach you will need:

1st - Execute report CNV_PE_MC_DEL_ITEMS (Transaction code SA38):



 2nd - Select the project ID


 

3rd – select the Migration object ID.



 

Uncheck “Test Run” option and check the “Delete also migrated instance”.


 


 


 






And that is it!

File/stage transfer

 For the file stage/stagging table approach, it is easier.

Go to the "select data" section and select all the records.

Click the option Delete all Records

Arrow Straight



 





Delete the old version of the template (excel file).

 

References

https://blogs.sap.com/2020/04/04/sap-s-4hana-migration-cockpit-direct-transfer-can-i-repeat-the-selection-1909/