RE: ERROR:The stored procedure createSQLTmpTable returned the following results: DBMS: 2627" exceptions
I fix the issue.
step 1: i run this query to understand duplicate entries :
select DOCTYPE, VCHRNMBR, COUNT(*) as [COUNT] from
(
select DOCTYPE, VCHNUMWK as VCHRNMBR from PM10000 W
UNION ALL
select DOCTYPE, VCHRNMBR from PM10300 P
UNION ALL
select DOCTYPE, VCHRNMBR from PM10400 M
UNION ALL
select DOCTYPE, VCHRNMBR from PM20000 O
UNION ALL
select DOCTYPE, VCHRNMBR from PM30200 H
) C
group by DOCTYPE, VCHRNMBR
having COUNT(*) > 1
step2: after the result ,run invididual document PV numbers using the below querries:
select * from PM20000 where VCHRNMBR='PV-943936'
select * from PM30200 where VCHRNMBR='PV-943936'
step3:
removed the duplicate value from PM_Transaction_OPEN file
DELETE from PM20000 where VCHRNMBR='PV-943070'
DELETE from PM20000 where VCHRNMBR='PV-943936'