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

Runtime error SAPSQL_ARRAY_INSERT_DUPREC in VBKD_BEARBEITEN (VA01)

Former Member
0 Likes
842

Hi All,

For a particular case, when the idoc is processed, the call transaction command calls VA01 (mode A, update S). The processing ends in a dump.

When seen in st22, the error  SAPSQL_ARRAY_INSERT_DUPREC in VBKD_BEARBEITEN occurs.

In sm13, the FM RV_SALES_DOCUMENT_ADD has status 'Update was terminated'.

Points- The call transaction when run in N mode, returns sy-subrc 1001.

              The VA01 transaction could not complete as it shows 'Missing data - Net value', as seen in debugging mode for 'A'.

It would be helpful if any suggestions are provided to tackle the following error.

1 REPLY 1
Read only

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Likes
510

Hello,

You can review SAP note 207934 for more details on how to find the root cause of this issue.

Regards,

David