2008 Sep 23 7:41 AM
Hi,
Hi am writing some code in an exit. During execution after the execution of the exit, I am getting dump issue at the line like this:
INSERT afru FROM TABLE afru_i.
and dump showing as SAPSQL_ARRAY_INSERT_DUPREC.
How this can be avoided.
Regards,
Jeetu
2008 Sep 24 5:33 AM
hai,
waiting for ur reply.
shan.
Edited by: shan palani on Sep 24, 2008 10:04 AM
2008 Sep 23 7:43 AM
2008 Sep 23 7:53 AM
2008 Sep 23 2:48 PM
Jeetu,
You are trying to insert a record with duplicate entry. Either modify the existing entry if your key fields are right. Or change the key fields so that insertion is not duplicate while considering the key fields
Regards
Farzan
2008 Sep 23 7:44 AM
Hi
are you appending records to internal table afru_i in the USER EXIT
Regards
MD
2008 Sep 23 7:53 AM
2008 Sep 23 7:44 AM
Hi,
This error means that ayou are attempting to commit
information to the database that would result in a duplicate entry in a table with primary key.
Regards,
Surinder
2008 Sep 23 2:54 PM
Inserting records to a standard SAP table is very dangerous. There could well be data integrity and synchronization issues.
Rob
2008 Sep 24 5:00 AM
hai,
check the internal table,
---it should be like that of database table
---check weather it is having any duplicate entries, if duplicate entries is there then use addition statement ACCEPTING DUPLICATE KEYS should be provided.
2008 Sep 24 5:33 AM
hai,
waiting for ur reply.
shan.
Edited by: shan palani on Sep 24, 2008 10:04 AM