In OIM (oracle identity manager) , when we are creating the users in Oracle and assigning 4 roles to the users (For assigning roles to the users we are using BAPI_USER_ACTGROUPS_ASSIGN bapi ) , we are getting the below error ,
Caused by: RfcException: [PRO|amendoim]
message: The ABAP/4 Open SQL array insert results in duplicate database
records. records in the data base.
Return code: RFC_SYS_EXCEPTION(3)
error group: 104
message class: 00
message type: X
message number: 341
message parameter 0: SAPSQL_ARRAY_INSERT_DUPREC
But when we created users and assigning 1 role at a time . we are not gettign any error . So what could be the problem for this issue.
Kindly suggest some ideas to resolve .