Dear Experts,
I have come across a dump while upload materials component at network level for CJ20N transaction using custom upload program (z) which uses BAPIs i.e., BAPI_PS_INITIALIZATION, BAPI_NETWORK_COMP_ADD, BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT. when executing the function BAPI_TRANSACTION_COMMIT it raising a dump as follows,
Category ABAP Programming Error
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
ABAP Program SAPLKAMS
Application Component CO-OM
"SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"
"SAPLKAMS" or "LKAMSF01"
"MODIFY_COSPA"
following which the records are not saved, kindly advice.