cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Runtime Errors DBSQL_DUPLICATE_KEY_ERROR

former_member547765
Participant
0 Likes
32,943

Hi,

I have problem after running client copy from production client 100 to development client 310.

user said they have error when input data using tcode MIGO.

here is the dump from ST22

how to fix the error?

what should i do in my next client copy process so that there are no more errors like this?

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Sasi2005
Contributor

Hi,

I don't see the whole of the dump. However based on whatever i am seeing, the issue is during the saving of the material document and has some conflict with a controlling object "COBK"... Please investigate along these lines with the support of a ABAP technical consultant. This should solve the issue.

Regards

Sasi

former_member547765
Participant
0 Likes

Hi eeee36c5ca424a59973fd7fa9ff786e2

Yes the issue is during saving the document

thanks for the reply

Regards

former_member698447
Active Participant

Hi Irfan,

Kindly check once below SAP Note, There might be chances of inconsistency could be have been happened.

https://launchpad.support.sap.com/#/notes/2840883

Best Regards,

Repakula Manoj

former_member547765
Participant
0 Likes

Hi jmodaal

I need help with this step for checking table NIRV and SNRO/SNUM

any field I should filled for this?

Regards

jmodaal
Active Contributor

Hello,

for finding the highest given document number you can either use SE16. Faster possibility - if you have access to DBACOCKPIT or ST04 and can use the SQL command editor - is to get the number by an SQL statement. Example (assumed that it's about table COEP in client 100):

select max(BELNR) from "COEP" where MANDT = '100'

The field containing the document number is one of the primary key fields of the table, typically a CHAR feld of length 10 to 20.

Unfortunately I do not know how/where to find a reliable relation between the number range object and the table. Transaction OBA7 might give some help, but maybe you have to ask someone from the application side for the right number range object.

Then use transaction SNRO or SNUM (Edit Intervals) to adjust the "NR status" (highest given number).