2010 Jan 08 10:25 AM
Hi
We are using BAPI_ACC_DOCUMENT_POST to post the accounting document.
We are posting through a Java application using SAP XI.
All the documents are getting sucessfully posted.
But recently we found that the Java application got the sucess response from SAP stating document posted succefully.
But the document is not updated in the BKPF and BSEG table.
I was able to see the update termination details on that particular date using SM13 transation.
When i try to do repeat update.
I am getting the following error "SAPSQL_ARRAY_INSERT_DUPREC"
Can you pls help, how to sort out this issue
Regards
Madhan D
2010 Jan 08 12:54 PM
Hi,
The dump SAPSQL_ARRAY_INSERT_DUPREC comes when a record already exists in the table with the same key and hence a duplicate record cannot be created.
Check if the document already exists and analyse your code to find out the reason for creation of a duplicate entry.
Regards,
Ankur Parab
2010 Jan 08 12:54 PM
Hi,
The dump SAPSQL_ARRAY_INSERT_DUPREC comes when a record already exists in the table with the same key and hence a duplicate record cannot be created.
Check if the document already exists and analyse your code to find out the reason for creation of a duplicate entry.
Regards,
Ankur Parab
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |