SAP Note 335559 - SAPSQL_ARRAY_INSERT_DUPREC table AFRU

Component : Order confirmation -

Solution : https://service.sap.com/sap/support/notes/335559 (SAP Service marketplace login required)

Summary :
When completing confirmations in SAP for various order types (PM, CS, PP, PI, PS), the system may terminate the update process displaying SAPSQL_ARRAY_INSERT_DUPREC error. This issue originates from duplicated entries in table AFRU for completion confirmations and discrepancies in confirmation counts in table AFVC. To address this, users must execute the correction report ZAFVC002, provided in the note, to align the data accurately. Additionally, users are advised to implement related SAP Notes 454709, 406267, and 632426 to resolve underlying inconsistencies and prevent such errors from recurring.

Key words :
table afvc completion confirmation number afvc-rueck final confirmation counter afvc-rmzhl, system generates update termination           sapsql_array_insert_duprec, separate completion confirmation number, attached correction report zafvc002, table afvc, completion confirmation number, internal table afru_i, entered completion confirmations, function module co_ru_vb_confirmation_post, confirmation counter

Related Notes :

783070 Runtime error SAPSQL_ARRAY_INSERT_DUPREC in IW41
454709 Data loss in order/network operations
351200Inconsistent confirmation counter