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

Runtine time error in P50 while creating Sales order SAPSQL_ARRAY_INSERT_DUPREC

former_member486356
Participant
0 Likes
1,767

Hi Folks,

I need help in a issue as we are facing runtime time dump in only P50 system while creating sales order in VA01. When we are creating sales order in VA01 sales order is getting created but in blackened it is giving the runtime error SAPSQL_ARRAY_INSERT_DUPREC. So after creating sales order in VA01 when we try to check this sales order in VA02 and VA03 it is showing error that this sales order is not exist in database.

dump.png

5 REPLIES 5
Read only

former_member182371
Active Contributor
0 Likes
1,473

Hi,

it seems a duplicate entry is being created.

what is the value of OBJECT in sentence

insert (object) from table da_xvbpai?

Best regards,

Pablo

Read only

Former Member
1,473

Hi

It seems there are duplicated records in partener data, it's strange error and in my experirence an error like yours is usually due to a modification by some user-exit

Anyway you can try to check which table is in OBJECT and which data are inDA_ XVBPAI

You can run the saving in debug with option Update Debugging activated

Read only

Lakshmipathi
SAP Champion
SAP Champion
0 Likes
1,473

Have a look at OSS note 1278418

Read only

former_member182371
Active Contributor
0 Likes
1,473

that OSS note seems to be for VA21/VA22 and the OP was for VA01

Read only

Lakshmipathi
SAP Champion
SAP Champion
1,473

I think that the coding correction whatever recommended will also solve your sale order issue since both the quotation and sale order are being stored in same tables. You can try in DEV