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

Former Member
0 Likes
1,314

Hi All,

We are repeatedly getting this error while trying to create a delivery from VL01N. I would think this is due to duplicate entry but i checked the data and found that the entry does not exist in the concerned table (EIKP). Has anyone faced such an issue before? If so any idea why this happens?

Regards,

Hari.

10 REPLIES 10
Read only

Former Member
0 Likes
1,116

Yes... it means that duplicate records exist.

Are you running VL01N in a batch process? If so, the COMMIT of all records to the DB will not occur until the batch program finishes (unless you call a COMMIT WORK explicitly after each VL01N).

Code the program (for now) to display all EIKP records TO BE CREATED to the screen for review.

Read only

0 Likes
1,116

Hi,

Thanks for the replies, but no we are not using a batch process. An user was trying to create the delivery for a single order. I am trying to browse through the Notes but have not got any relavant ones yet.

Regards,

Hari.

Read only

0 Likes
1,116

This may be a configuration issue. we faced similar problem while creating orders and it came to be problem with Number range for orders. After increasing the number range it went through.

I would be interested to hear if your problem is resolved or not.

Read only

Former Member
0 Likes
1,116

There are a number of OSS notes for this. Search using SAPSQL_ARRAY_INSERT_DUPREC VL01N.

Rob

Read only

Former Member
0 Likes
1,116

Hi harikrishnan,

1. If it was working fine before,

then how suddenly it stopped working now?

2. It basically problem related

to configuration.

3. and found that the entry does not exist in the concerned table (EIKP).

Which entry were u checking ?

How did u know which new number

is getting generated (even though its not saved )

regards,

amit m.

Read only

Former Member
0 Likes
1,116

hi,

this may also be due to custom code in the user exits.

check for coding that manipulate standard structures( for ex. xvbap and yvbap in sales order exits). this manipulation by the code might end up in having duplicate records in X and Y structures that subsequently are used by SAP to update DB tables.

we had a similar prob in sales order. i found out that it was because of duplicate entries in xvbap.(because of updkz field modification by some code).

better luck.

Read only

0 Likes
1,116

Hi All,

Thanks for all the replies. I had been checking the entry from the internal table contents from ST22. This was a configuration issue; The number range was exhausted . We extended it and now everything is fine. Thanks once again for all the inputs.

Regards,

Hari.

Read only

0 Likes
1,116

Close the thread please (solved on own).

Rob

Read only

Former Member
0 Likes
1,116

hiu, check the Document no ranges, that could also be a reason for SQL array error,

Read only

Former Member
0 Likes
1,116

Hello

I have the same error SAPSQL_ARRAY_INSERT_DUPREC when sending mail through the Business Workplace , a dump is generated in st22 . This issue occured after an client copy fro Quality to Dev . According to SAPNOTE 581559 we extend the interval number range in fot the SO_OBJ_FOL object ( TA nsro) but the dump are still generated . In this thread I saw that harikrishnan balan solved the issue by extending the range value , but I wanted to know if futher action as needed after increasing this value . We tried to create an Workbench request for that repair and import it in DEV but it is not possible , due to the fact that DEV is not a consolidation system . Harikrishnan , can you explain me how did you increase that range ?

Thanks a Lot .

Best Regards

De Palma Lionel