While using SUM DMO for SAP system migration, DMO compares tables within the process of migration. Irrespectof you chose the table compariso option, it compares the tables within the execution phase and it's going to result with checksum errors.
This article provides us the procedure to investigate and fix table comparison row count checksum error
This article provides us the procedure to investigate and fix table comparison row count checksum error
Check the log file MIGRATE_DT_CHECKDIFF.LST which exists under the SUM log file location.
Change to the SUM log directoy
more MIGRATE_DT_CHECKDIFF.LST
Change to the SUM log directoy
more MIGRATE_DT_CHECKDIFF.LST
BALDAT
and BALHDR are the 2 tables which got checksum errors.
Proceeded as below
/usr/sap//SUM/abap/load/migrate_dt]# grep -i BALDAT *
MIGRATE_DT_CHECKDIFF.LST:BALDAT # old: 14156352 new: 14156348
MIGRATE_DT_CNT_00003_BALDAT_EXP.IN:cp "BALDAT"
MIGRATE_DT_CNT_00003_BALDAT_EXP.LOG:2 ETQ399 Counted 1 tables out of 1, written to '/usr/sap//SUM/abap/load/migrate_dt/MIGRATE_DT_CNT_00003_BALDAT_EXP.OUT'.
MIGRATE_DT_CHECKDIFF.LST:BALDAT # old: 14156352 new: 14156348
MIGRATE_DT_CNT_00003_BALDAT_EXP.IN:cp "BALDAT"
MIGRATE_DT_CNT_00003_BALDAT_EXP.LOG:2 ETQ399 Counted 1 tables out of 1, written to '/usr/sap//SUM/abap/load/migrate_dt/MIGRATE_DT_CNT_00003_BALDAT_EXP.OUT'.
MIGRATE_DT_CNT_00003_BALDAT_EXP.OUT:BALDAT 14156352
MIGRATE_DT_CNT_00003_BALDAT.FLAG:# Export for bucket 00003_BALDAT finished at 2019/07/29 14:18:32.
MIGRATE_DT_CNT_00003_BALDAT.FLAG:"MIGRATE_DT_CNT_00003_BALDAT_EXP.OUT";16
MIGRATE_DT_CNT_00003_BALDAT_IMP.IN:cp "BALDAT" "BALDAT"
MIGRATE_DT_CNT_00003_BALDAT.FLAG:"MIGRATE_DT_CNT_00003_BALDAT_EXP.OUT";16
MIGRATE_DT_CNT_00003_BALDAT_IMP.IN:cp "BALDAT" "BALDAT"
MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT:BALDAT 14156348
MIGRATE_DT_CNT.BUC:count: refid=00003_BALDAT export=MIGRATE_DT_CNT_00003_BALDAT_EXP.IN import=MIGRATE_DT_CNT_00003_BALDAT_IMP.IN size=8897208 estruntime=8689 expntasks=1 impntasks=1
· Replace 14156352 with 14156348 in file MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT.
· Before editing this file, take a copy of existing one.
[root@/usr/sap//SUM/abap/load/migrate_dt]# cp -p MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT_ORIG
Just checking if the copy has been created
[root@/usr/sap//SUM/abap/load/migrate_dt]# ls -lart MIGRATE_DT_CNT_00003_BALDAT_IMP*
-rw-r--r-- 1 adm sapsys 21 Jul 29 14:18 MIGRATE_DT_CNT_00003_BALDAT_IMP.IN
-rw-r--r-- 1 adm sapsys 16 Jul 29 18:19 MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT_ORIG
-rw-r--r-- 1 adm sapsys 16 Jul 29 18:19 MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT
[root@/usr/sap//SUM/abap/load/migrate_dt]#
Now Edit the file
[root@/usr/sap//SUM/abap/load/migrate_dt]# vi MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT
Content of the file
[root@/usr/sap//SUM/abap/load/migrate_dt]# cp -p MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT_ORIG
Just checking if the copy has been created
[root@/usr/sap//SUM/abap/load/migrate_dt]# ls -lart MIGRATE_DT_CNT_00003_BALDAT_IMP*
-rw-r--r-- 1 adm sapsys 21 Jul 29 14:18 MIGRATE_DT_CNT_00003_BALDAT_IMP.IN
-rw-r--r-- 1 adm sapsys 16 Jul 29 18:19 MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT_ORIG
-rw-r--r-- 1 adm sapsys 16 Jul 29 18:19 MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT
[root@/usr/sap//SUM/abap/load/migrate_dt]#
Now Edit the file
[root@/usr/sap//SUM/abap/load/migrate_dt]# vi MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT
Content of the file
Changing it to 14156352
Save and exit
[root@/usr/sap//SUM/abap/load/migrate_dt]# cat MIGRATE_DT_CNT_00003_BALDAT_IMP.OUT
BALDAT 14156352
[root@/usr/sap//SUM/abap/load/migrate_dt]#
Now allow us to check if BALDAT checksum error is fixed by retrying the phase.
It should show checksum error only for BALHDR
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]#
view /usr/sap/<SAPSID>/SUM/abap/load/migrate_dt/MIGRATE_DT_CHECKDIFF.LST
It is
showing BALHDR only
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]# grep -i BALHDR MIGRATE_DT_CNT*
MIGRATE_DT_CNT_00038_EXP.IN:cp
"BALHDRP"
MIGRATE_DT_CNT_00038_EXP.OUT:BALHDRP
0
MIGRATE_DT_CNT_00038_IMP.IN:cp
"BALHDRP" "BALHDRP"
MIGRATE_DT_CNT_00038_IMP.OUT:BALHDRP
0
MIGRATE_DT_CNT_00134_EXP.IN:cp
"BALHDR"
MIGRATE_DT_CNT_00134_EXP.OUT:BALHDR 2323031
MIGRATE_DT_CNT_00134_IMP.IN:cp
"BALHDR" "BALHDR"
MIGRATE_DT_CNT_00134_IMP.OUT:#BALHDR
2323030
MIGRATE_DT_CNT_00134_IMP.OUT:BALHDR 2323030
Edit file MIGRATE_DT_CNT_00134_EXP.OUT replacing 2323031 with 2323030
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]#
cp -p MIGRATE_DT_CNT_00134_EXP.OUT MIGRATE_DT_CNT_00134_EXP.OUT_ORIG
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]#
ls -lart MIGRATE_DT_CNT_00134_EXP*
-rw-r--r-- 1
<SAPSID>adm sapsys 442 Jul 29 14:18 MIGRATE_DT_CNT_00134_EXP.IN
-rw-r--r-- 1
<SAPSID>adm sapsys 374 Jul 29 14:19 MIGRATE_DT_CNT_00134_EXP.OUT_ORIG
-rw-r--r-- 1
<SAPSID>adm sapsys 374 Jul 29 14:19 MIGRATE_DT_CNT_00134_EXP.OUT
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]#
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]#
vi MIGRATE_DT_CNT_00134_EXP.OUT
Replacing 2323031 with 2323030
Save and exit
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]#
cat MIGRATE_DT_CNT_00134_EXP.OUT
BALHDR
2323030
CNVLTRL_PORTION
0
ITS_POS 0
RSDRCRM_SEG_TEST
0
TBE32T 1
/BOFU/DPPFCNTR
0
CME_ST_R3_ATTRH
0
IUUC_2RX_ALP
0
RSCNV_BUFFER_CHA
0
TDBSELVER 0
/BCV/C_CONF_XC
0
CNVLTRL_PAR_JOBS
0
ITS_SHOW 0
RSDRCRM_SEG_QSI
0
TBE34 0
/BOFU/DO_CUST
0
CME_ST_R3_DEP
0
IUUC_2RX_ACCR
0
RSCNV_BUFFER_MAP
0
TDATS 0
/BCV/C_DASHBA
48
CNVLTRL_PARAM
0
ITS_STYLES 0
RSDRCRM_SEG_PARA
0
TBEPRI 0
[root@<hostname>/usr/sap/<SAPSID>/SUM/abap/load/migrate_dt]#
It has passed the error.
Nice
ReplyDelete