‎2009 Jun 17 12:45 PM
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
‎2009 Jun 17 12:50 PM
This error...is because you were trying to insert duplicate entries...
Can you please write your codes here...which function module are you using..
‎2009 Jun 17 1:18 PM
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
‎2009 Jun 18 6:08 AM
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
‎2009 Jun 17 12:55 PM
Hi,
Did your server was down/Shut down recently due to any database related problems?
Regards
Karthik D
‎2009 Jun 17 1:16 PM
‎2009 Jun 17 1:19 PM
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
‎2009 Jun 17 1:21 PM
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.
‎2009 Jun 17 1:25 PM
>
> 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
‎2009 Jul 07 12:34 PM
‎2009 Jul 07 2:13 PM
Vrajesh, what was the solution...can you please share it with us?
‎2009 Jul 07 3:23 PM