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

SAPSQL_ARRAY_INSERT_DUPREC - VBPA3 duplicate record

Former Member
0 Likes
647

Hi ,

when i modify sales order header RE partner, i receive following error:


SAPSQL_ARRAY_INSERT_DUPREC

The problem is that in table VBPA3 there is a record with sales order number as key. And when i modify RE partner , SAP tries to insert another record in VBPA3 with same key.

What should i do? is there any user exit where i can delete VBPA3 record?

Many thanks.

3 REPLIES 3
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
548

The error is justified.

If RE partner is not part of key then you can try using UPDATE only for RE partner.

Read only

0 Likes
548

how? where?

Read only

0 Likes
548

ah .. i thought you are doing it programatically.. my bad.... .

Check this link if this helps :