Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

Former Member
0 Likes
1,071

Hi,

I get following message

Transaction: VL01N

Update key... A5335BDE580FF1C393BE00215AD01E96

Generated.... 17.06.2009, 14:40:39

Completed.... 17.06.2009, 14:40:39

Error Info... ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC

I am not able to save delivery document.

Thanks,

Vrajesh

11 REPLIES 11
Read only

former_member212005
Active Contributor
0 Likes
1,031

This error...is because you were trying to insert duplicate entries...

Can you please write your codes here...which function module are you using..

Read only

0 Likes
1,031

Hi,

Step 1

I created sales order in Va01 and saved it.

Step 2

I created delivery with reference to VL01n and saved it.

I got error message after second step.

Thanks,

Vrajesh

Read only

0 Likes
1,031

Hi,

Go to SM13 and it will show you the update termination.

Put a breakpoint there and try to debug once again.

Turn on update debugging and it will come to the break-point in the update task.

At this point check the contents of the internal tables which are being transferred to the particular database table to check if there is any duplicate entry.

The reason for this duplicate entry might be some incorrect coding in a sales userexit.

Regards,

Ankur Parab

Read only

Former Member
0 Likes
1,031

Hi,

Did your server was down/Shut down recently due to any database related problems?

Regards

Karthik D

Read only

0 Likes
1,031

No,

Thanks,

Vrajesh

Read only

0 Likes
1,031

Hi,

Do you have implemented any enhancements/userexits/BADI which throws error messages/ uses Commit or Rollback statements in VLO1N?

OR

Do you have Number Range buffering ON of the Delivery document number( check in SNRO)?

Regards

Karthik D

Read only

0 Likes
1,031

Try checking your Number RAnge for Sales Order.

It is giving Duplicate entry error may be because number range is being repeated.

Reset you NUmber Range Object with help of SD functional person.

Read only

0 Likes
1,031

>

> Reset you NUmber Range Object with help of SD functional person.

In the case of the number range is being buffered the problem can be solved just by Resetting the Number range buffer not the entire number range.

Resetting number range buffer can be done in tcode SM56. You can also view the exact number status for your number range object there.

Regards

Karthik D

Read only

Former Member
0 Likes
1,031

I got solution outside Forum.

Read only

0 Likes
1,031

Vrajesh, what was the solution...can you please share it with us?

Read only

0 Likes
1,031

I refreshed the Quality server with PRD data.

thanks,

vrajesh