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

DUMP "SAPSQL_ARRAY_INSERT_DUPREC" WHILE MODIFYING A SALES ORDER

Former Member
0 Likes
957

Hi,

when I modify a certain sales order document I get a Dump with the error "SAPSQL_ARRAY_INSERT_DUPREC" in INSERT_POS_IN_DB

Any ideas?

Thanks in advance,

F

7 REPLIES 7
Read only

Former Member
0 Likes
807

any exits or enhancements on the VA01 transaction. I am thinking the error is from the custom implementation what you did, are you adding any entries to the item/header in the user exits (xvbak/xvbap internal tables). confirm this once.

Read only

0 Likes
807

Hi, I am trying to modify VBAK-LIFSK, even though it has happened in other fields.

Any suggestion?

F

Read only

0 Likes
807

instead of modify you may be using the APPEND check it once.

show the code what you are doing..?

Read only

0 Likes
807

Hi,

I am modifying VBAK-LIFSK though VA02 and after saving the document I get the DUMP.

F

Read only

0 Likes
807

there is no enhancements/exits implemented. check in MV45AFZZ , just keep a break point in SAVE_DOCUMENT_PREPARE and see the internal table contents XVBAK, XVBAP and let me know.

Read only

0 Likes
807

Hi,

Thanks all!!!! This issue has been solved. It was due to a TO that we imported this morning.

Best regards,

F

Read only

Former Member
0 Likes
807

i guess...then internal table in which you are inserting a value is a sorted table.

try using:

insert wa into table itab.

or it you are inserting a duplicate record in DB

Edited by: Amit Gupta on Oct 7, 2008 3:56 PM