Error: custom reconciliation (with child data)

I have "HR System" Resource Object (Allow Multiple, Allow All).
Reconciliation Fields:
-HR Tab No [String]
-HR FirstName [String]
-HR LastName [String]
-HR Department [String]
-HR Position [String]
-HR Location [String]
-HR Manager [String]
-Role [Multi-Valued]
---Role [String]
Code:
Hashtable ht = new Hashtable();
Hashtable htc = new Hashtable();
ht.put("HR Tab No" , "1368");
ht.put("HR FirstName" , "ReconUser2");
ht.put("HR LastName" , "ReconUser2");
ht.put("HR Department" , "test");
ht.put("HR Position" , "test");
ht.put("HR Location" , "test");
ht.put("HR Manager" , "test");
long result = l_tcRecon.createReconciliationEvent("HR System", ht, false);
System.out.println("recon key: " + result);
htc.put("Role" , "Role1");
htc.put("Role" , "Role2");
long resultc = l_tcRecon.addMultiAttributeData(result, "Role", htc);
System.out.println("child recon key: " + resultc);
l_tcRecon.providingAllMultiAttributeData(result, "Role", true);
l_tcRecon.finishReconciliationEvent(result);
ReconOperationsService l_objReconService = oimClient.getService(ReconOperationsService.class);
l_objReconService.processReconciliationEvent(result);
Error:
+<Sep 3, 2012 6:39:21 PM GMT+04:00> <Warning> <JNDI> <BEA-050006> <An attempt was made to look up versioned object "ejb.stateless.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSessionServiceRemote" from an external client or another application. This can potentially cause in-flight work of the application version not being tracked properly and thus being retired prematurely.>+
+<Sep 3, 2012 6:39:23 PM GMT+04:00> <Error> <oracle.iam.reconciliation.dao> <IAM-5010001> <Calling stored procedure - XL_SP_RECONEVALUATEACCOUNT+
intUserKey_in = 1
intEventKey_in = 720563
strRequiredAttributesList_in =
strMappedTableName_in = UD_HRSYS
strTargetTableName_in = RA_HRSYSTEM220
strEntityTableName_in = USR
strAccountMatchingRule_in = ((UD_HRSYS.UD_HRSYS_PERSONID=RA_HRSYSTEM220.RECON_HRTABNO2B020A42))
strEntityMatchingRule_in =
strChildTargetTableName_in =
strChildReqAttributesList_in = >
+<Sep 3, 2012 6:39:23 PM GMT+04:00> <Error> <oracle.iam.reconciliation.impl> <IAM-5010000> <Generic Information: {0}+
oracle.iam.platform.utils.SuperRuntimeException: oracle.iam.platform.utils.SuperRuntimeException: Error occured in XL_SP_RECONEVALUATEACCOUNT while processing Event  No 720563  Error occurred in XL_SP_RECONUSERMATCH while processing Event No 720563    One or more input parameter passed as null
at oracle.iam.reconciliation.impl.ActionEngine.processEvent(ActionEngine.java:239)
at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.processReconciliationEvent(ReconOperationsServiceImpl.java:982)
at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.processReconciliationEventx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy350.processReconciliationEventx(Unknown Source)
at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl.processReconciliationEventx(Unknown Source)
at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.iam.platform.utils.SuperRuntimeException: Error occured in XL_SP_RECONEVALUATEACCOUNT while processing Event  No 720563  Error occurred in XL_SP_RECONUSERMATCH while processing Event No 720563    One or more input parameter passed as null
at oracle.iam.reconciliation.dao.ReconActionDao.executeAccountMatch(ReconActionDao.java:482)
at oracle.iam.reconciliation.dao.ReconActionDao.executeAccountMatch(ReconActionDao.java:404)
at oracle.iam.reconciliation.impl.AccountHandler.process(AccountHandler.java:203)
at oracle.iam.reconciliation.impl.ActionEngine.processEvent(ActionEngine.java:197)
at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.processReconciliationEvent(ReconOperationsServiceImpl.java:982)
at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.processReconciliationEventx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy350.processReconciliationEventx(Unknown Source)
at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl.processReconciliationEventx(Unknown Source)
at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Please, help!

A_Sergey wrote:
Thanks, but how can I set this parameter?Really do not know. I've just traced your problem down to the PL/SQL procedure, that generates the error message.
I suppose you have no means to set the name explicitly. Rather something is wrong with your configuration.
Regards,
Vladimir

Similar Messages

  • Sample code snippet needed to provision appinstance with child data in R2

    Gurus,
    I have developed some code to provision an application instance to a user using API but it is not working.
    Can you please provide me some sample code to provision with child data this using API.
    Here are the errors.
    oracle.iam.provisioning.exception.GenericProvisioningException: An error occurred in oracle.iam.provisioning.spi.DOBProvisioningMechanism/provision while provisioning application instance with key 16907 to user with name TESETUSER the cause of error is oracle.iam.provisioning.exception.GenericProvisioningConfigException: Entitlement attribute not marked as key in reconciliation field mapping for UD_ADUSRC.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at oracle.iam.provisioning.api.ProvisioningService_p7m7x_ProvisioningServiceRemoteImpl_1036_WLStub.provisionx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy2.provisionx(Unknown Source)
    at oracle.iam.provisioning.api.ProvisioningServiceDelegate.provision(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at $Proxy3.provision(Unknown Source)
    at OIM.provisioning.DirectProvisionApplicationInstance.provisionResource(DirectProvisionApplicationInstance.java:118)
    at OIM.provisioning.DirectProvisionApplicationInstance.main(DirectProvisionApplicationInstance.java:179)
    Caused by: oracle.iam.provisioning.exception.GenericProvisioningException: An error occurred in oracle.iam.provisioning.spi.DOBProvisioningMechanism/provision while provisioning application instance with key 16907 to user with name TESETUSER the cause of error is oracle.iam.provisioning.exception.GenericProvisioningConfigException: Entitlement attribute not marked as key in reconciliation field mapping for UD_ADUSRC.
    at oracle.iam.provisioning.util.ProvisioningUtil.throwGenericProvisioningException(ProvisioningUtil.java:216)
    at oracle.iam.provisioning.spi.DOBProvisioningMechanism.provision(DOBProvisioningMechanism.java:401)
    at oracle.iam.provisioning.impl.ProvisioningServiceImpl$4.process(ProvisioningServiceImpl.java:488)

    I am new to the Windows programming environment (I'm running Windows 7).
    I am looking for sample code that will do the following:
    1.
    12.
    If you expect a useful answer here, you'll have to narrow your thread(s) to one specific
    issue. Posting a (virtually) complete application specification is far too broad and
    comprehensive for any one thread in these forums.
    Pick *one* aspect of this project and describe what problems you're having writing the code.
    Post a new thread for each specific problem.
    As posted, you appear to be hoping to find code already completely written for this project.
    Most sample code illustrates *one* task, not a dozen. If you aren't able or willing to do
    the lion's share of the coding yourself, you may have to consider contracting a developer.
    - Wayne

  • Firefox Version 27 Reporting Services Action Menu Error. An error has occurred with the data fetch.

    Hello, since I've updated to Firefox 27.0.1 on Windows 7, I'm encountering a problem with Reporting Services on a Sharepoint site. It is a Sharepoint 2010 site with SQL Server Reporting Services 2012 Sharepoint Integrated mode. I was previously on Firefox version 26 and didn't encounter this problem.
    When a report is open and you use the Actions link on the Reporting Services toolbar, I receive the following error messages.
    An error has occurred with the data fetch. Please refresh the page and retry.
    I've tried updating to Firefox 28 beta but the same error occurs. I see another user is having the same problem here. http://sharepoint-community.net/forum/topics/reporting-service-and-firefox-27
    Any help would be appreciated. Thanks!
    Ryan

    Rachel, I did perform the Sharepoint file alteration discussed in the other article and it did stop Firefox from producing the error. I've done some testing on some other browsers and have yet to encounter any problems with the fix however I'm hesitant to perform that workaround in a production environment.
    Thanks for looking.
    Ryan

  • Status Reconciliation, Resource with child data

    Hello Guys,
    I am trying to reconcile a resource which have child data.
    The connector used is the DB application TAble GTC.
    If I decide to not reconcile the status of the resource everythings goes well.
    When I try to reconcile the status, too, Mapping the resource status on the
    OIM_OBJECT_STATUS field, I get the following error:
    <Apr 16, 2012 1:06:34 PM BST> <Error> <oracle.iam.reconciliation.impl> <IAM-5012244> <Matching rule where clause is null >
    <Apr 16, 2012 1:06:34 PM BST> <Error> <oracle.iam.reconciliation.impl> <IAM-5010000> <Generic Information: {0}
    Thor.API.Exceptions.tcAPIException: Matching rule where clause is null
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEventAttributeData(ReconOperationsServiceImpl.java:834)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEventAttributeData(ReconOperationsServiceImpl.java:865)
    at Thor.API.Operations.tcReconciliationOperationsIntfEJB.ignoreEventAttributeDatax(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    I am able to reconcile the status when I have to deal with resources that dont have child data. I thought that the same mapping was enough
    when I have to deal with resources that have child data, but it seems I was wrong.
    My oim is 11.1.1.5.2
    Has anyone else encountered this problem?
    Could you share any help on this?
    Regards,
    Eugert

    Hello Nayan,
    I tried it, but still the same result.
    I even tried creating another user on the target resource (since old users remain connected to the old form version)
    but still no progress. However I have to mention that I am not having this problem when using target resources that don't
    have multiple-value attributes (process form without child data). I have this problem only when I have resources with multiple-value data.
    Thanks,
    Eugert

  • Creation of Customer Master with Sales Data

    Hi Experts,
    I have a requirement in whic i have to Create/Change Customer Master through Custom program.
    The Customer Master details will be stored in file and Retrieved through program with the following Tables to be Updated
    KNA1 - Customer Master
    ADRC - Address
    ADR2 -  Telephone Number
    ADR3 - Fax Number
    ADR6 - E-Mail Addresses
    KNVV - Customer Master Sales Data
    KNVP - Customer Master Partner Functions
    KNVK - Customer Master Contact Partner
    From SDN  i came to know about  CMD_EI_API . Can you please tell me which is the method suitable for Creation/Change of Customer Master with the above details.
    Regards,
    Shrikanth R

    Hi Experts,
    Please help me how to use MAINTAIN_BAPI method in Class CMD_EI_API  in order to create Customer Master.
    Regards,
    Shrikanth R
    Edited by: SHRIKANTH R on Jul 15, 2010 11:59 AM

  • How to add custom columns with BO data from GP to UWL

    Hi
    We have CE 7.1 in our project UWL taskitems only have GP workflow tasks.
    In UWL we can see that by default there are standard columns but now we need to add custom columns with data from ours BO associated to process instance
    For that we need to develop one custom connector for UWL where we can retrieve the values from custom conenctor to UWL.
    Currently our NWDS 7.1 does not have plugins for UWL Connector can anybody tell me where can I download this plugins?
    thanks in advance!
    Regards
    Cristian

    Hi,
    plz refer the following link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ee5047-c7a0-2a10-70b7-9557e3e4d440
    Regards
    Manohar

  • Need to check all custom programs with open data set

    Hi all ,
    i have  to list all custom programs and f.m.  which are using ftp server (file share).
    Is there any way to list that programs

    Hi,
    You can use program RPR_ABAP_SOURCE_SCAN to find custom programs with providing find string criteria (i.e open data set).
    Regards,
    Ferry Lianto

  • Unable to Archive Customer only with General Data

    Hi,
    I am trying to archive the Customer master only with General Data. I followed the below steps.
    1.Execute SAPF047 - To establish the link b/w customer and vendor
    2.Tran: XD99 , Set the del flag and confirm the same in xd03
    3.Tran: F56A , Select FI_ACCRECV object and perform the following
       1. Preproc => Preprocess resulted that no data found in this category
       2.Write => Preprocess resulted that no data found in this category
       3.Delete  => No data found
    Note : I selected "General Master Records" and also tried with "SD Data" and "FI Data".
    All resulted the same. Any Hints on this ?
    Regards
    Prasath

    Hi Prasath,
    Please follow the following steps...
    1)Go to Transaction <SARA> and give the object name FI_ACCRECV and press ENTER
    2)Go to Customizing -> Application-Specific Customizing->Mark customer for deletion (centr.) and mark the customers for deletion(This screen can alternatively be reached using transaction XD06).
    3)Schedule the Write variant and execute the jobs
                   Data To Be Archived ---> General Data
                   Customer -
    > Give Customer No to be archived
                   Consider Del Indic----
    > Checked (If you are not doing step2, this can be unchecked)
                   Processing option----
    > Select Production mode
    4)Select Delete in SARA and run the delete jobs for the data which has been archived in step 3.
    I dont see a preprocessing program available for the archiving object FI_ACCRECV. If you have that option available then it should automatically set the deletion indicator when u run the program , ie in that case step 2 can be avoided)
    Hope this input helps you.
    Regards
    Asish

  • ++Custom Serialization with Complex Data type (Nested Classes)

    Hi,
    We have a scenario wherein we need to write CUSTOM SERIALIZERS for complex datatypes like INVOICE & ORDER (INVOICE inturn has ADDRESS type among others, ORDER has ADDRESS type, a COLLECTION of type ORDERITEM each of which are Java Classes in themselves)
    The example of Custom Serializer given in the SOA AS Dev Guide http://download.oracle.com/docs/cd/B31017_01/web.1013/b28975/custserial.htm#CFHHIBCA)
    shows only a simple java type used for serialization and deserialization.
    Can anyone please help us out by sharing any example depicting the CUSTOM SERIALIZERs for COMPLEX DATA TYPES?
    Thanks in advance,
    Pavan.

    Hello,
    Could you please post the code of your classes in the forum (at least the interfaces) ?
    Regards
    Tugdual Grall

  • Custom Target Reconciliation with child form entries in OIM 11g

    Hello experts,
    I have developed custom scheduler code to reconcile users from target system to OIM. In this code I am using the API createReconciliationEvent(java.lang.String psObjectName, java.util.Map poData, boolean pbFinishEvent). If the reconciled user does not have any child form entries(like roles and groups) then the user account is linked to OIM user profile but if the user has child form entries then user is not getting reconciled to OIM. In the logs it says...
    oracle.iam.platform.utils.SuperRuntimeException: -104: Error occurred in XL_SP_RECONEVALUATEUSER while processing Event No 849 Error occurred in XL_SP_RECONREQDATACHECK while processing Event 849 'Event Received' is an invalid event status. Valid event states are Data Received,Data Validation Failed,Being Re-evaluated,Being Re-tried
    at oracle.iam.reconciliation.dao.ReconActionDao.executeUserMatch(ReconActionDao.java:393)
    at oracle.iam.reconciliation.impl.UserHandler.process(UserHandler.java:64)
    at oracle.iam.reconciliation.impl.ActionEngine.processEvent(ActionEngine.java:194)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.processReconciliationEvent(ReconOperationsServiceImpl.java:982)
    at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.processReconciliationEventx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy334.processReconciliationEventx(Unknown Source)
    at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    Here is my code...
    public void reconCall(String ResourceObject, Hashtable mUserDetail)
    ReconOperationsService tcreconObj =null;
    EventAttributes eventattr= new EventAttributes();
    ArrayList roles=roleOfUser(mUserDetail.get("CommanName").toString(),mUserDetail.get("OrganizationUnit").toString());
    ArrayList groups=groupOfUser(mUserDetail.get("CommanName").toString(),mUserDetail.get("OrganizationUnit").toString());
    if((roles.size()==0)&& (groups.size()==0))
    eventattr.setEventFinished(true);
    else
    eventattr.setEventFinished(false);
    try
    LOGGER.info("In com.gapp.recon.tasks.ReconAllUsers reconCall()");
    LOGGER.info("Creating object of Thor.API.Operations.tcReconciliationOperationsIntf");
    tcreconObj = Platform.getService(oracle.iam.reconciliation.api.ReconOperationsService.class);
    LOGGER.info("Creating reconcilation event");
    long lnreckey = tcreconObj.createReconciliationEvent(ResourceObject, mUserDetail, eventattr);
    if(roles.size()==0)
    LOGGER.info("there are no roles for the user");
    if(roles.size()>0)
    tcreconObj.providingAllMultiAttributeData(lnreckey, "RoleName", true);
    LOGGER.info("Iterating roles");
    LOGGER.info(roles.toString());
    for(int k=0; k <roles.size(); k++)
    LOGGER.info("Iteration "+k);
    HashMap multiroles=new HashMap();
    LOGGER.info("Adding role to hashmap");
    multiroles.put("RoleName", roles.get(k));
    LOGGER.info(multiroles.toString());
    long j= tcreconObj.addMultiAttributeData(lnreckey, "RoleName", multiroles);
    LOGGER.info("addMultiAttributeData key "+j);
    if(groups.size()==0)
    LOGGER.info("There Are No Groups For This User");
    if(groups.size()>0)
    tcreconObj.providingAllMultiAttributeData(lnreckey, "GroupName", true);
    LOGGER.info("Iterating groups");
    LOGGER.info(groups.toString());
    for(int k=0; k <groups.size(); k++)
    LOGGER.info("Iteration "+k);
    HashMap multigroups=new HashMap();
    LOGGER.info("Adding group to hashmap");
    multigroups.put("GroupName", groups.get(k));
    LOGGER.info(multigroups.toString());
    long j= tcreconObj.addMultiAttributeData(lnreckey, "GroupName", multigroups);
    LOGGER.info("addMultiAttributeData key "+j);
    // LOGGER.info("executing processReconciliationEvent");
    tcreconObj.processReconciliationEvent(lnreckey);
    //LOGGER.info("executing finishReconciliationEvent");
    // tcreconObj.finishReconciliationEvent(lnreckey);
    // LOGGER.info("executing updateScheduletaskattribute");
    }Pls Help.
    Thanks

    You gotta specify your child table recon-field in the process definition mappings as a Key Field. Refer OOTB AD connector and check:
    Process Definition -> AD User ->Reconciliation Field Mappings -> memberOf

  • Exception while reconciliation with child table attributes

    I developed scheduler task that take information about users and create reconciliation event with multi valued field "Roles" that consist of "Role" field and "App" fields. Primary reconciliation work fine and resource added to user, but when i update user in target system and run my scheduler task - exception occured:
    oracle.iam.reconciliation.exception.ModifyAccountException: java.lang.Exception: Error occurred in XL_SP_RECONCHILDMATCH While processing Event No 3523 One or more input parameter passed as null at oracle.iam.reconciliation.impl.AccountHandler.modify(AccountHandler.java:361) at oracle.iam.reconciliation.impl.AccountHandler.applyRule(AccountHandler.java:243) at oracle.iam.reconciliation.impl.AccountHandler.process(AccountHandler.java:205) at oracle.iam.reconciliation.impl.ActionEngine.processEvent(ActionEngine.java:197) at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.processReconciliationEvent(ReconOperationsServiceImpl.java:982) at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.processReconciliationEventx(Unknown Source) at sun.reflect.GeneratedMethodAccessor707.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at
    Here is code from scheduler task:
    try{ if(!reconOperations.ignoreEvent(objectName, attrs))
    long eventId = reconOperations.createReconciliationEvent(objectName, attrs, eventAttributes);
    List<HashMapWrapper> childList = port.getRolesForUser((String)attrs.get("Identity"),resourceProperties.get(LOGIN_RESOURCE_PROPERTY),
    resourceProperties.get(PASSWORD_RESOURCE_PROPERTY));
    if(childList!=null && !childList.isEmpty())
    for(int k=0;k<childList.size();k++)
    HashMap<String,String> child = new HashMap<String, String>();
    HashMapWrapper childWrapper = childList.get(k);
    HashMapWrapper.Map childMap = childWrapper.getMap();
    List<HashMapWrapper.Map.Entry> childEntry = childMap.getEntry();
    for(int f=0;f<childEntry.size();f++)
    HashMapWrapper.Map.Entry childParam = childEntry.get(f);
    child.put(childParam.getKey(),childParam.getValue());
    reconOperations.addMultiAttributeData(eventId,"Roles",child);
    reconOperations.providingAllMultiAttributeData(eventId,"Roles",true);
    reconOperations.finishReconciliationEvent(eventId);
    reconOperations.processReconciliationEvent(eventId);
    LOG.fine("created : " + eventId);
    Help to solve this issue!

    First make one of the child form fields as Key Field!!!
    List<HashMapWrapper> childList = port.getRolesForUser((String) attrs.get("Identity"), resourceProperties.get(LOGIN_RESOURCE_PROPERTY),
    resourceProperties.get(PASSWORD_RESOURCE_PROPERTY));
    HashMap[] childs = null;
    if (childList != null && !childList.isEmpty()) {
    childs = new HashMap[childList.size()];
    for (int k = 0; k < childList.size(); k++) {
    HashMap<String, String> child = new HashMap<String, String>();
    HashMapWrapper childWrapper = childList.get(k);
    HashMapWrapper.Map childMap = childWrapper.getMap();
    List<HashMapWrapper.Map.Entry> childEntry = childMap.getEntry();
    for (int f = 0; f < childEntry.size(); f++) {
    HashMapWrapper.Map.Entry childParam = childEntry.get(f);
    child.put(childParam.getKey(), childParam.getValue());
    childs[k] = child;
    if (!reconOperations.ignoreEventAttributeData(objectName, attrs, "Roles", childs)) {
    long eventId = reconOperations.createReconciliationEvent(objectName, attrs, eventAttributes);
    if (childs != null && childs.length != 0) {
    for (int f = 0; f < childs.length; f++) {
    reconOperations.providingAllMultiAttributeData(eventId, "Roles", true);
    reconOperations.addDirectMultiAttributeData(eventId, "Roles", childs[f]);
    reconOperations.finishReconciliationEvent(eventId);
    LOG.debug("created: " + eventId);
    } else {
    LOG.debug("ignored: " + attrs.get("LoginName"));
    }

  • Error Customizing userParameter with XML

    Hello,
    I'm customizing many reports with a XML file (IAS 9.0.4). I need to create a userparameter (DTDVersion="9.0.2.0.10") at runtime, but I get a REP-202 error without any text.
    My customizing XML file work fine without this userparameter definition:
    <report name="huella" DTDVersion="9.0.2.0.10" >
    <data>
    <userParameter name="P_huella" datatype="character"
    initialValue="SMITH"
    defaultWidth="0" defaultHeight="0" />
    </data>
    </report>
    I tried with parameter (DTDVersion="9.0.2.0.0") but same error.
    Any idea.
    Thanks.

    I am not exactly sure what you are trying to do, but it looks like you are saving report definitions as XML files instead of RDF. If that is the case, you have to supply a DTDVersion attribute to the xml as it is required per the reports.dtd found in the $ORACLE_HOME\reports\dtd directory.
    Note 231205.1 on Metalink has some details about validating report definitions in XML against a particular DTD. You may want to try this to get better error messages.
    What do you mean you are trying to cusomize many reports with an XML file?

  • Table to know the sales by customer and with packing data

    Helllo Experts,
    Please let me know if you have got any idea on the tables to be joined for meeting the below requirement..
    We need a table with all item no. based on the customer no in the period  2010 and 2011 till now. Beside the item no. additional information like packing unit and our sales price are requested too"

    Dear Dinakar,
    all item no. based on the customer no in the period 2010 and 2011 till now. Beside the item no. additional information like packing unit and our sales price are requested too
    Input the customer no in VBRK-KUNNR with FKDAT = 01.01.2010 to 31.12.2011 (if you reqiure the financial year , replace the date mentioned) and fetch VBELN.
    Put that VBELN in VBRP to get MATNR (this will give you the item code)
    From VBRK , fetch KONMV (condition record number) and put in KONV with KSCHL = Condition type for sales price.
    Put VBRK-VBELN in VBFA as subsequent document and fetch the preceding document with document category J which will give you the delivery no of the invoice.
    Put that delivery number in LIPS and fetch the relevant field for PACKING UNIT.
    Thanks & Regards,
    Hegal K Charles

  • Search help for custome field with different data type

    Hi Friends,
    I have Created a  custom table in which i have created a field is
    ZMATLONG which stores material number.
    Now the data element is zdmat which is of char 40..
    Now i want to give search help for this field ZMATLONG..
    I have tried many ways giving search help to this field
    a) i Tried to attach the standard search help of MATNR ie : MAT1 but its showing me data type inconsistancy
    b) i created a zsearch help and in the selection method i have used database table mara , again here iam getting the same error data type inconsistancy...
    Now how can i give the search help like matnr field to my custom field ZMATLONG...
    How can i do it..?
    Thanks in Advance..
    Regards
    Kumar

    Hi,
    MATNR ahs length 18 and ZMATLONG has length 40.So due to this u cannot use MAT1 search help.
    best way would be cope MAT1 into Z search help. Then in the search help parameter change the data element of field
    MATNR as ZMATLONG.
    Now if you assign Z search help to ZMATLONG  it will work.
    I tried this its working fine.
    Shanmugavel Chandrasekaran

  • Error when Insert with to_timestamp, data format picture ends before....

    Hy,
    I've got a problem when we insert a timestamp to a db.
    When I try to start an insert code I get this error:
    SQL-Error: ORA-01830: "data format picture ends before converting entire input string"
    Insert into ABC_123("dtstamp") values (to_timestamp('31.05.13 09:30:05,000748000 +01:00','DD.MM.RR HH24:MI:SSXFF'));
    with this language settings
    National Language Support
    National
    Language Parameter
    Value
    NLS_CALENDAR
    GREGORIAN
    NLS_CHARACTERSET
    WE8MSWIN1252
    NLS_COMP
    BINARY
    NLS_CURRENCY

    NLS_DATE_FORMAT
    DD.MM.RR
    NLS_DATE_LANGUAGE
    GERMAN
    NLS_DUAL_CURRENCY

    NLS_ISO_CURRENCY
    GERMANY
    NLS_LANGUAGE
    GERMAN
    NLS_LENGTH_SEMANTICS
    BYTE
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_NCHAR_CONV_EXCP
    FALSE
    NLS_NUMERIC_CHARACTERS
    NLS_SORT
    GERMAN
    NLS_TERRITORY
    GERMANY
    NLS_TIME_FORMAT
    HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT
    DD.MM.RR HH24:MI:SSXFF
    NLS_TIMESTAMP_TZ_FORMAT
    DD.MM.RR HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT
    HH24:MI:SSXFF TZR
    I didn't see the error. Maybe somebody can help me.
    Thx
    Felix

    ef5fe917-5142-4425-a464-94ab111ed87a wrote:
    Hy,
    I've got a problem when we insert a timestamp to a db.
    When I try to start an insert code I get this error:
    SQL-Error: ORA-01830: "data format picture ends before converting entire input string"
    Insert into ABC_123("dtstamp") values (to_timestamp('31.05.13 09:30:05,000748000 +01:00','DD.MM.RR HH24:MI:SSXFF'));
    with this language settings
    National Language Support
    National
    Language Parameter
    Value
    NLS_CALENDAR
    GREGORIAN
    NLS_CHARACTERSET
    WE8MSWIN1252
    NLS_COMP
    BINARY
    NLS_CURRENCY

    NLS_DATE_FORMAT
    DD.MM.RR
    NLS_DATE_LANGUAGE
    GERMAN
    NLS_DUAL_CURRENCY

    NLS_ISO_CURRENCY
    GERMANY
    NLS_LANGUAGE
    GERMAN
    NLS_LENGTH_SEMANTICS
    BYTE
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_NCHAR_CONV_EXCP
    FALSE
    NLS_NUMERIC_CHARACTERS
    NLS_SORT
    GERMAN
    NLS_TERRITORY
    GERMANY
    NLS_TIME_FORMAT
    HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT
    DD.MM.RR HH24:MI:SSXFF
    NLS_TIMESTAMP_TZ_FORMAT
    DD.MM.RR HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT
    HH24:MI:SSXFF TZR
    I didn't see the error. Maybe somebody can help me.
    Thx
    Felix
    Insert into ABC_123("dtstamp") values (to_timestamp('31.05.13 09:30:05,000748000 +01:00','DD.MM.RR HH24:MI:SSXFF'));
                                                          |  |  |  |  |  |             |
                                                          |  |  |  |  |  |             +--????
                                                          |  |  |  |  |  +----SS
                                                          |  |  |  |  |
                                                          |  |  |  |  +-----MI
                                                          |  |  |  |
                                                          |  |  |  +-----HH24
                                                          |  |  |
                                                          |  |  +----RR
                                                          |  |
                                                          |  +----MM
                                                          |
                                                          +----DD
    The error message means exactly what it says.  Your data format string doesn't account for everything in your data string.

Maybe you are looking for

  • Network user, network home folder, and the login keychain

    I've got everything set up in WGM. I can log the user onto a workstation, and the home folder maps to the appropriate network location. What I can't seem to do, is get a login keychain working. The keychain exists, in the proper folder on the network

  • Not getting generate option in Prd environment

    Hi experts, We are having an prod issue. THere were some changes move to prod for 1 object that lead to inconsistency in the data model . When trying UCWB then we are  getting data inconsistency problem. Usaully in dev when we have that issue we get

  • Outline stroke not working in CS6

    so I just create a straight, uniform line and press Effect > Path > Outline Stroke... but nothing happens not sure if I'm doing something wrong... or if there is a bug? thanks, Terrence.

  • PSE5 - backup catalog fails - need to move my photos

    I'm trying to move my photos to my new laptop with PSE8. I bought a 8 gig flash drive to use since I have lots of photos. When I went to do the File - Backup Catalog it stuck at recovering at 66% for about 20 mins. then the screen went blank and it s

  • Load Bill of Material (BOM) using DTW?

    I had a question, I was wondering how do we load BOM using DTW? Which template to use Thanks in advance