Symptom
- Package import fails in SAP Identity Management 8.0 Developer Studio with error "Package Transport Failed"
- The default trace on the AS Java shows the following error:
importIDStore [EXCEPTION] com.sap.idm.db.exceptions.IdMDbException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_MC_Dispatcher_LINK_JOB". The conflict occurred in database "<database_name>", table "dbo.mc_jobs", column 'JobId'. OpenSQLExceptionCategories: [NON_TRANSIENT, INTEGRITY_CONSTRAINT_VIOLATION] at com.sap.idm.db.util.ExceptionUtil.HandleExceptions(ExceptionUtil.java:24) at com.sap.idm.db.objutil.exec.MxObjectQueryExecUtil.execInsert(MxObjectQueryExecUtil.java:386) at com.sap.idm.db.objutil.BaseTableUtil.addNew(BaseTableUtil.java:28) at com.sap.idm.packagetransport.ic.JobDispatcherLinkUtil.toDatabase(JobDispatcherLinkUtil.java:73) at com.sap.idm.packagetransport.impl.Import.execute(Import.java:115) at com.sap.idm.packagetransport.impl.Main.importPackages(Main.java:208)
- The issue occurs when importing a newer version of a package where a job was deleted and recreated (resulting in a new GUID) between versions
- The previous version of the same package was already imported successfully on the target system
Read more...
Environment
SAP Identity Management 8.0
Product
Keywords
FK_MC_Dispatcher_LINK_JOB, package transport, package import failed, JobDispatcherLinkUtil, mc_jobs, mc_dispatcher_link_job, FOREIGN KEY constraint, Import failed with result code -1, IMPORT_PCK_TYPE rollback, IDM 8.0, Developer Studio, dispatcher job link, INTEGRITY_CONSTRAINT_VIOLATION, job GUID, recreated job , KBA , BC-IAM-IDM , Identity Management , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview