Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

SAP HANA System Copy - CREATE UNIQUE INDEX: ERROR - duplicate key found

$
0
0

Hi

 

I created a SWPM Database Instance Export of a "EHP7 FOR SAP ERP 6.0" system running on HANA.

 

On the Target System, on the Database Instance import, I'm getting these errors:

 

import_monitor.java.log:

 

Import Monitor jobs: running 7, waiting 7, completed 52, failed 0, total 66.

Loading of 'SAPSSEXC_3' import package: ERROR

 

 

Import Monitor jobs: running 2, waiting 7, completed 56, failed 1, total 66.

Loading of 'SAPSSEXC_5' import package: ERROR

 

 

  import_monitor.log:

 

ERROR: 2016-01-20 15:04:09 com.sap.inst.migmon.LoadTask run

Loading of 'SAPSSEXC_3' import package is interrupted with R3load error.

Process '/usr/sap/TDB/SYS/exe/uc/linuxx86_64/R3load -i SAPSSEXC_3.cmd -dbcodepage 4103 -l SAPSSEXC_3.log -c 100000 -loadprocedure dbsl -rowstorelist /tmp/sapinst_instdir/NW740SR2/HDB/COPY/SYSTEM/DISTRIBUTED/AS-ABAP/DB/rowstorelist.txt' exited with return code 2.

For mode details see 'SAPSSEXC_3.log' file.

 

 

ERROR: 2016-01-20 15:31:50 com.sap.inst.migmon.LoadTask run

Loading of 'SAPSSEXC_5' import package is interrupted with R3load error.

Process '/usr/sap/TDB/SYS/exe/uc/linuxx86_64/R3load -i SAPSSEXC_5.cmd -dbcodepage 4103 -l SAPSSEXC_5.log -c 100000 -loadprocedure dbsl -rowstorelist /tmp/sapinst_instdir/NW740SR2/HDB/COPY/SYSTEM/DISTRIBUTED/AS-ABAP/DB/rowstorelist.txt' exited with return code 2.

For mode details see 'SAPSSEXC_5.log' file.

 

 

SAPSSEXC_3.log:

 

ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed

(ALTER TABLE "ENHA_TMDIR" ADD CONSTRAINT "ENHA_TMDIR~0" PRIMARY KEY ( "CLASSNAME", "METHODINDX" ) )

DbSlExecute: rc = 99

(SQL error 349)

error message returned by DbSl:

 

cannot CREATE UNIQUE INDEX; duplicate key found:  [5] Several documents with the same ID exist in the index;SAPTDB:ENHA_TMDIR.$trexexternalkey$ content not unique, cannot define unique constraint. rowCount != distinctCount

DbSl Trace:   execute(), rc=1, rcSQL=349

DbSl Trace: EXECUTE on connection 0, rc=349

ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed

(CREATE UNIQUE INDEX "ENHA_TMDIR~MTD" ON "ENHA_TMDIR" ( "METHODNAME" , "CLASSNAME" ) )

DbSlExecute: rc = 99

(SQL error 349)

error message returned by DbSl:

 

cannot CREATE UNIQUE INDEX; duplicate key found:  [5] Several documents with the same ID exist in the index;SAPTDB:ENHA_TMDIR.$uc_ENHA_TMDIR~MTD$ content not unique, cannot define unique constraint. rowCount != distinctCount

 

 

 

SAPSSEXC_5.log:

 

DbSl Trace:   execute(), rc=1, rcSQL=349

DbSl Trace: EXECUTE on connection 0, rc=349

ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed

(ALTER TABLE "RODIR" ADD CONSTRAINT "RODIR~0" PRIMARY KEY ( "OBJECTTYPE", "OBJECT" ) )

DbSlExecute: rc = 99

(SQL error 349)

error message returned by DbSl:

 

cannot CREATE UNIQUE INDEX; duplicate key found:  [5] Several documents with the same ID exist in the index;SAPTDB:RODIR.$trexexternalkey$ content not unique, cannot define unique constraint. rowCount != distinctCount

 

 

Please assist in advising on a solution.


Viewing all articles
Browse latest Browse all 5139

Trending Articles