Symptom
While executing the CTC task "SAP ME Database and Data Migration for Upgrade" you get an error message similar to the following: "An error occurred while migrating the data. The error message is: java.lang.RuntimeException: java.lang.RuntimeException: Exception 1006 records deleted; expected 1000 occurred (Message 10001)".
On Default Trace logs you see this error or similar in the logs:
"Caused by: Exception 1002 records deleted; expected 1001 occurred (Message 10001
at com.sap.me.dbmigration.migrate154to155.DBMigrationToArchiveBase.moveRecordsToArchive(DBMigrationToArchiveBase.java:93)
at com.sap.me.dbmigration.migrate154to155.DBMigrationToArchiveBase.moveRecordsToArchive(DBMigrationToArchiveBase.java:61)
at com.sap.me.dbmigration.migrate154to155.DBMigrateActivityLog.migrateTable(DBMigrateActivityLog.java:35)
at com.sap.me.dbmigration.migrate154to155.DBMigrationBase.migrate(DBMigrationBase.java:91)
at com.sap.me.dbmigration.migrate154to155.DBMigrationToArchiveBase.migrate(DBMigrationToArchiveBase.java:46)
at com.sap.me.dbmigration.migrate154to155.DBMigrate.migrateAll(DBMigrate.java:113)
at com.sap.me.dbmigration.migrate154to155.DBMigrate.executeProcess(DBMigrate.java:59)
at com.sap.me.frame.BatchProcess.start(BatchProcess.java:286)
at com.sap.me.ctc.services.dictionary.DictionaryService.databaseMigration(DictionaryService.java:1070)"
Read more...
Environment
- SAP MFG Execution
Product
Keywords
Visiprise, SAP ME Database and Data Migration for Upgrade, CTC task, dbmigration.sql.batch.size, expected, Message 10001, records deleted; expected, occurred (Message 10001) , archiving, ACTIVITY_LOG, RES_CHANGE_STAT , KBA , MFG-ME , SAP Manufacturing Execution , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview