SAP R/3 Connector: Template and synch errors after importing project from test environment (OIM 9.3)

Hi everyone, 

We are working on setting up the SAP R/3 Connector on OIM 9.3. The synch project was originally created in a test environment and we wanted to use the Database Transporter tool to import the SAP connector into prod environment because we have multiple custom mappings.

The connection to SAP is working fine through the browse feature from the target system in the synch editor section.

Below there are the steps we followed for importing the SAP connector into PROD:

  1. Connecting to the Test DB from the Launchpad
  2. Selecting Create a transport file from the Database Transporter tool
  3. Selecting only the option Transport synchronization projects
  4. Select the desired synch project (SAP R/3 HCM)
  5. Generating the zip file
  6. Importing the zip file to the Production DB using the same tool

 After the import, we checked the connector in the Synchronization Editor from the PROD env, the first thing we did was changing the One Identity Manager connection configuration to replace the Test configuration with the Production one.

Then we replaced the Target System’s configuration data to align with the Production environment as well.

After doing that, we noticed the Base object section was empty, so we started creating a new item in there, and here we encountered the first error:

" [2186001] The template (SAP R/3 (next client using same settings)) could not be applied
successfully!
at VI.FormBase.UILogic.TriggeredExecution ._ EventHandler(Object sender, EventArgs e)
at VI.UI.Wizards.GuiWizardPageHostControl .<. ctor>b_0_1()
at VI.UI.Wizards.Wizard ._ HostCommandHandler(Object sender, WizardPageHostEventArgs e)
at VI.UI.Wizards.Wizard.Finish()
at VI.Projector.Editor.Wizards.RootObjectWizard.OnFinish()
at VI.Projector.Templates.ScriptTemplate' 1.Create(IProjectorShell shell)
First, synchronize the SAP R/3 base administration objects. The SAP system DC=13,DC=HRP must exist before you
set up synchronization of personnel planning and structural profiles.
at VI.Projector.Templates.ScriptTemplate' 1.Create(IProjectorShell shell)
at VI.Projector.Scripting.GeneratedShellTemplate.OnCreate(IProjectorShell shell)"

The second thing we did was trying to run the first sync as the error suggests, but this led to a new error:

" [2161006] Error running synchronization!
at
VI.Projector.Editor.Internal.GlobalActionHandler.HandleEvent(O
bject sender, String eventName, Object[] args)
at VI.Projector.Editor.Internal.GlobalActionHandler.
_ExecuteStartInfo(IProjectionStartInfo startInfo)
[810103] Error generating processes for event Run.
at VI.Projector.Editor.Internal.GlobalActionHandler.
ExecuteStartInfo(IProjectionStartInfo startInfo)
at
VI.DB.Sync.SyncUnitOfWorkExtensions.Generate(IUnitOfWork
unitOfWork, IEntity entity, String eventname)
at VI.Base.SyncActions.Do[T1,T2,T3](T1 p1, T2 p2, T3 p3,
Func' 4 action)
at
VI.DB.Entities.PermissionsUnitOfWork.GenerateAsync(IEntity
entity, String eventname, IDictionary' 2 parameters,
CancellationToken cancellationToken)
at VI.DB.Entities.UnitOfWorkImpl.GenerateAsync(IEntity entity,
String eventname, IDictionary' 2 parameters,
CancellationToken cancellationToken)
at
VI.DB.JobGeneration.JobGeneratorImpl.CreateChainsAsync(IU
nitOfWork unitOfWork, IEntity entity, String eventname,
IDictionary' 2 parameters, IScriptClass classGeneration,
IVarContext variables, CancellationToken cancellationToken)
[810222] Error running script 'Event_Run'.
at
VI.DB.JobGeneration.JobGeneratorImpl.CreateChainsAsync(IU
nitOfWork unitOfWork, IEntity entity, String eventname,
IDictionary' 2 parameters, IScriptClass classGeneration,
IVarContext variables, CancellationToken cancellationToken)
at VI.DB.JobGeneration.JobGeneratorImpl.
_CreateChainsForSingle(IUnitOfWork unitOfWork, IEntity
entity, IDictionary' 2 parameters, IVarContext variables,
CancellationToken cancellationToken, IScriptClass classGen,
IMetaTable table, String eventfn)
at VI.DB.Scripting.ScriptRunner.Eval(String key, Object[]
parameters)
[810108] Error generation process step event RUN.
at
System.Reflection.MethodBaseInvoker.InvokeDirectByRefWith
FewArgs(Object obj, Span' 1 copyOfArgs, BindingFlags
invokeAttr)
at System.RuntimeMethodHandle.InvokeMethod(Object target,
Void ** arguments, Signature sig, Boolean isConstructor)
at VI.DB.Scripting.ScriptRunner.Eval(String key, Object[]
parameters)
[810108] Error generation process step event RUN.
at
System.Reflection.MethodBaseInvoker.InvokeDirectByRefWith
FewArgs(Object obj, Span' 1 copyOfArgs, BindingFlags
invokeAttr)
at System.RuntimeMethodHandle.InvokeMethod(Object target,
Void ** arguments, Signature sig, Boolean isConstructor)
at
DynScripts.JobGen_DPRProjectionStartInfo_ahYNkjR27B2WnK
8ZBmVNzILmWYkEEPN.Event_RUN(JobGenContext context)
[810109] Error generating process
DPR_DPRProjectionStartInfo_Run_Synchronization.
at
DynScripts.JobGen_DPRProjectionStartInfo_ahYNkjR27B2WnK
8ZBmVNzILmWYkEEPN.Event_RUN(JobGenContext context)
at
DynScripts.JobGen_DPRProjectionStartInfo_ahYNkjR27B2WnK
8ZBmVNzILmWYkEEPN.Chain_DPR_DPRProjectionStartInfo_Ru
n_Synchronization(JobGenContext context, String EventName)
[810110] Error generating process step Run
Synchronization.
at
DynScripts.JobGen_DPRProjectionStartInfo_ahYNkjR27B2WnK
8ZBmVNzILmWYkEEPN.Chain_DPR_DPRProjectionStartInfo_Ru
n_Synchronization(JobGenContext context, String EventName)
at
DynScripts.JobGen_DPRProjectionStartInfo_ahYNkjR27B2WnK
8ZBmVNzILmWYkEEPN.Job_DPR_DPRProjectionStartInfo_Run
Synchronization_Run_Synchronization(JobGenContext context,
String EventName, JobChain myChain, IVarContext
chainValues)
[810112] There is no server that can fulfill server mask
and/or server selection script input.
at
DynScripts.JobGen_DPRProjectionStartInfo_ahYNkjR27B2WnK
8ZBmVNzILmWYkEEPN.Job_DPR_DPRProjectionStartInfo_Run
Synchronization_Run_Synchronization(JobGenContext context,
String EventName, JobChain myChain, IVarContext
chainValues)
at
VI.DB.JobGeneration.JobGenContext.GetJobServerInfo(Object
clause, Boolean dbConnectNeededByTask, Int32
maxInstances)
at VI.DB.JobGeneration.JobGenContext ._ GetJobServer(String
whereclause, Boolean dbConnectNeededByTask, Int32
maxInstances)
at VI.Base.SyncActions.Do[T,T1,T2](T1 p1, T2 p2, Func'3
function)
at VI.DB.JobGeneration.JobServerCache.GetAsync(String
whereClause, CancellationToken cancellationToken)
at VI.DB.JobGeneration.JobServerCache.
GetServerInfosAsync(String whereClause)"

We are stuck here and couldn’t proceed further.

Any help is appreciated, thanks!

  • Hi davide,

    your Prod database does not know a SAP system with distinguished name "DC=13,DC=HRP". If you try to apply the sync project template for creation of "Mapping and workflow configuration for synchronizing structural profiles." you have to have the SAP system itself in your database. Please ensure you have synchronized the SAP Basis using sync template "Mapping and workflow configuration for synchronizing SAP clients.".

    regards, 

       Tino