Skip to Content
1
Jun 18, 2012 at 04:46 PM

problem saving Role in CUP

15 Views

Dear Experts,

im having problems saving a role after trying to change a bussiness process and Sub-BP.

the bp and sub-bp were all created in erm and cup, sucha as functional area associated.

when i try to save it says : Action FAiled:

the log gives this message:

2012-06-18 17:38:22,325 [SAPEngine_Application_Thread[impl:3]_35] ERROR Error in Saving roles
com.virsa.ae.core.BOException: Error in saving the Role details
at com.virsa.ae.configuration.bo.RoleDetailsBO.saveRoleDetails(RoleDetailsBO.java:326)
at com.virsa.ae.configuration.actions.AdminSaveRoleAction.saveRoleDetails(AdminSaveRoleAction.java:521)
at com.virsa.ae.configuration.actions.AdminSaveRoleAction.execute(AdminSaveRoleAction.java:65)
at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:295)
at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.virsa.ae.dao.DAOException: Error in inserting into the Role details table
at com.virsa.ae.dao.sqlj.RoleDAO.updateWithReturnCount(RoleDAO.sqlj:4969)
at com.virsa.ae.dao.sqlj.RoleDAO.update(RoleDAO.sqlj:4814)
at com.virsa.ae.configuration.bo.RoleDetailsBO.saveRoleDetails(RoleDetailsBO.java:310)
... 19 more
Caused by: com.virsa.ae.dao.DAOException: Error in inserting into the Role details table
at com.virsa.ae.dao.sqlj.RoleDAO.insertRoleDetails(RoleDAO.sqlj:4538)
at com.virsa.ae.dao.sqlj.RoleDAO.updateWithReturnCount(RoleDAO.sqlj:4922)
... 21 more
Caused by: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPSR3DB.SYS_C004692) violated

at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:259)
at com.sap.sql.sqlj.runtime.profile.ref.RTStatementJDBCPrepared.executeUpdate(RTStatementJDBCPrepared.java:267)
at sqlj.runtime.ExecutionContext$StatementFrame.executeUpdate(ExecutionContext.java:1124)
at sqlj.runtime.ExecutionContext.executeUpdate(ExecutionContext.java:718)
at com.virsa.ae.dao.sqlj.RoleDAO.insertRoleDetails(RoleDAO.sqlj:4455)
... 22 more

can you please help.

TY