SAPSQL_ARRAY_INSERT_DUPREC
means that you are either trying to insert the same record twice, or you are trying to insert a record that already exists - i.e. it has the same primary key.
SAPSQL_ARRAY_INSERT_DUPREC
means that you are either trying to insert the same record twice, or you are trying to insert a record that already exists - i.e. it has the same primary key.