OIM 11g R2 - Recon events not getting linked

Hi,
In OIM 11g R2,recon events are not getting linked.The recon events are getting struck in "Data Received" status.When I tried to clicking "Reevaluate Event",then getting the message "Cause: Status of the batch is not 'Completed'. Any idea on what might be going wrong?Thanks.

The problem is not yet solved.could see the below error in the logs
Caused By: oracle.iam.platform.tx.OIMTransactionException: java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "DEV_OIM.XL_SP_RECONBLKCHILDMTHACNTCRUD", line 730
ORA-06512: at "DEV_OIM.XL_SP_RECONBLKACNTRQDCMTCHCRUD", line 91
ORA-06512: at line 1
     at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:28)
     at oracle.iam.reconciliation.dao.ReconActionDao$1ReconDBCall.command(ReconActionDao.java:1423)
Any idea what might be going wrong ? Thanks.

Similar Messages

  • I can not get link-value  from af:tree.

    Hello.
    I use jdeveloper 10g.
    I can not get link-value from tree.
    I use following code:
    <f:facet name="nodeStamp">
    <h:panelGroup binding="#{backing_dialogDic_dic_ETS.panelGroup1}"
    id="panelGroup1">
    <h:outputText value="#{item.vidNum} #{item.vidName}"
    binding="#{backing_dialogDic_dic_ETS.outputText1}"
    id="outputText1"/>
    <af:commandLink
    binding="#{backing_dialogDic_dic_ETS.commandLink2}"
    id="commandLink2"
    action="#{backing_dialogDic_dic_ETS.returnObject}">
    <af:setActionListener from="#{item.idVid}"
    to="#{processScope.ETSId}"/>
    <af:objectImage source="/images/icons/10.gif"
    shortDesc="Выбрать"
    binding="#{backing_dialogDic_dic_ETS.objectImage2}"
    id="objectImage2"/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    </af:tree>
    //in java bean:
    public String return_Object() {
    Object ob = JSFUtils.getManagedBeanValue("processScope.ETSId");
    System.out.println(o);
    return null;
    In console I see null.
    How I get this value???
    I can get this value if i use treeTable instead of tree.
    Thx, Dema.

    Hi,
    not that I think it matters, but the processScope is not a managed bean but a memory scope. So if
    JSFUtils.getManagedBeanValue("processScope.ETSId");
    assumes a managed bean then this may be incorrect as most likely there exist no managed bean with this name. You should be able to access the process scope from AdfFacesContext.getProcessScope(), which then returns a Map, which you call get("ETSId") on
    Frank

  • OIM 11g target recon not performing full recon for OID resource

    Hi
    I noticed that full target recon is not being performed on OID because every time I run the recon only few same records that were recently updated gets reconciled but not all. I tried updating the timestamp attribute to 0 and also tried removing that attribute from recon parameters in OIM.
    I also tried creating new Reconcilliation Profile but no luck.
    My oim version is 11.1.1.5 and OID is also 11g. Please help.

    Hi
    I just saw the diagnostic log:
    oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - 20120726000000z against Date format yyyy/MM/dd HH:mm:ss z for key Start Date
         at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.convertReconFieldsToOIMFields(ReconOperationsServiceImpl.java:1437)
         at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:361)
         at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:346)
         at Thor.API.Operations.tcReconciliationOperationsIntfEJB.ignoreEventx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         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 $Proxy773.ignoreEventx(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsIntfEJB_troehf_tcReconciliationOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at Thor.API.Operations.tcReconciliationOperationsIntfEJB_troehf_tcReconciliationOperationsIntfRemoteImpl.ignoreEventx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy168.ignoreEventx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
         at $Proxy770.ignoreEventx(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsIntfDelegate.ignoreEvent(Unknown Source)
         at com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation.reconcileUser(Unknown Source)
         at com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation.processRecord(Unknown Source)
         at com.thortech.xl.integration.OID.util.tcUtilLDAPOperations.pagingReconSearch(Unknown Source)
         at com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation.doReconSearch(Unknown Source)
         at com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation.processChange(Unknown Source)
         at com.thortech.xl.integration.OID.schedule.tasks.tcTskOIDUserReconciliation.execute(Unknown Source)
         at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:384)
         at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:145)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:196)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: java.text.ParseException: Unparseable date: "20120726000000z"
         at java.text.DateFormat.parse(DateFormat.java:348)
         at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.convertReconFieldsToOIMFields(ReconOperationsServiceImpl.java:1433)
         ... 56 more

  • OIM 11g R2 Post Event Handler not trigerred

    Hi,
    I have developed the event handler that request resources on user load into OIM (its a GTC load). I can see that:
    1. event handler is registered in "PLUGINS" table,
    2. appearing in em
    3. see the following under /dms/spy
    PostEventRequestResourceCreate company.com oim_server1:14000 active, threads 0 oim_server1
    avg, msecs 1.67
    completed, ops 3
    maxActive, threads 1
    maxTime, msecs 3
    minTime, msecs 1
    time, msecs 5
    As per the 11g R2 doc, I have included eventhandlers.xml as part of META-INF folder of my pluign zip -I did not import it into MDS as it was not mentioned in the doc (as it was mentioned in the case of 11g R1).
    I have updated the lib of the plugin zip with the custom class jar.
    I have few SOPs in my Eventhandler which are not getting printed and hence events are not triggered.
    Is there anything that I am missing here?
    Thanks

    HashMap eventDataHashMap = bulkOrchestration.getInterEventData();
    Identity[] currentUserStates = (Identity[]) eventDataHashMap.get("CURRENT_USER");
    You can loop through the same way you are through the bulkParameters and pull the database from there.
    -Kevin

  • OIM 11g R1: Recon Archival Utility

    Reference: http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/archival_utilities.htm#CHDJBFEA
    I am using OIM 11.1.1.5.7.
    I am trying to archive all the recon events. In the documentation, there is an option to choose all statuses (Closed, linked, even the Data Received and No User Match Found).
    When I actually ran the script located in "/home/oracle/Oracle/Middleware/Oracle_IDM1/server/db/oim/oracle/Utilities/Recon11gArchival/oim_recon_archival.sh" I am prompted
    with
    Select status for reconciliation events to be archived...
    Enter '1' for Closed.
    Enter '2' for Linked.
    Enter '3' for Closed and Linked.
    Enter '4' for Exit.
    I do not see the option for "ALL", which allow events like "Data Received" and "No User Match Found" to be archived.
    I really need to archive those events that do not belong in Closed or Linked categories.
    Is there a bug in the script?
    How can I archive these events?

    I looked at the old version (111150) of the script and the "ALL" option is there.
    What is the reason why it was removed in the 11.1.1.5.7 Patch?

  • OIM 11g Pre Process event handler

    Hi All,
    I had built a pre process event handler to generate userid and it was working fine. But i had slight modifications in the code. When i unregistered the old event handler and registered a new one, oim was still picking the old event handler. So in order to bring the code changes into effect, i restarted the managed server after which the event handlers are not getting triggered(even the old one).
    I deleted all the records corresponding to the custom event handlers from MDS_PATHS,PLUGINS,LATEST_PLUGIN AND PLUGIN_ZIP tables and registered the handler again and also imported the event handler xml file. But still the plugin is not triggered.
    Please help.
    Thanks,
    Bhavana
    Edited by: 858491 on Jul 21, 2011 5:14 AM

    My lib file contains the package as mentioned in the metalink.
    Heirarchy in Plugin folder :
    1) plugin.xml
    2) Lib ( lib contains 3 folders : com/example/custompph; And inside custompph is my CustomPreProcessEventHandler.class file)
    You mean to say i should not copy the entire package in lib but only the jar file of the CustomPreProceessEventHandler.class* file.
    If i put only a .jar file in lib i get the following error.
    "Error occured during the use of plugin registering utility. The plugin zip does not contain the definition of plugin class com.example.custompph.CustomPreProcessEventHandler"
    Thanks
    Edited by: 870050 on Jul 4, 2011 4:30 AM

  • Plugin events not getting triggered

    Hello,
    APEX version 4.1.0.00.32 and 4.2.3.00.08
    Browser: latest version of Chrome browser
    I'm trying to include plugin events for the Select2 APEX plugin but facing one rather annoying issue; the dynamic actions based on the plugin events are not getting triggered. These are the steps I have taken:
    1. Registered several events with the plugin (e.g. slctchange, slctopen, slcthighlight, etc.). These events are based on the official Select2 documentation.
    2. Modified the render function to include event handlers that trigger the appropriate Select2 event.
    $("' || l_item_jq || '").on("change", function(e) {
      apex.jQuery(this).trigger("slctchange", { val:e.val, added:e.added, removed:e.removed });
    $("' || l_item_jq || '").on("select2-opening", function(e) {
      apex.jQuery(this).trigger("slctopening");
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
    $("' || l_item_jq || '").on("select2-highlight", function(e) {
      apex.jQuery(this).trigger("slcthighlight", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-selecting", function(e) {
      apex.jQuery(this).trigger("slctselecting", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-clearing", function(e) {
      apex.jQuery(this).trigger("slctclearing");
    $("' || l_item_jq || '").on("select2-removed", function(e) {
      apex.jQuery(this).trigger("slctremoved", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-focus", function(e) {
      apex.jQuery(this).trigger("slctfocus");
    $("' || l_item_jq || '").on("select2-blur", function(e) {
      apex.jQuery(this).trigger("slctblur");
    I can confirm that the slctchange event (the first event in the list) is working properly both in APEX 4.1 and 4.2. Please note that I had to use apex.jQuery instead of $ to get it to work in 4.1. Might be because I overloaded jQuery in 4.1. Anyway, all others events are not getting triggered for some reason. The event handlers are getting executed for the appropriate event; that's not the problem. I guess the source of the problem lies with the trigger function. It simply doesn't trigger any of my dynamic actions.
    To make things even more complicated, it is possible to trigger the events manually in console. So if I execute this statement:
    apex.jQuery("#P20_SINGLE_VALUE_NEW").trigger("slctopen");
    Then I get back the result from the dynamic action.
    I tried a lot of different ways to trigger the plugin event. For example:
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
      $(this).trigger("slctopen");
      apex.jQuery(this).trigger("slctopen.BE_CTB_SELECT2");
      $(this).trigger("slctopen.BE_CTB_SELECT2");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen");
      $("' || l_item_jq || '").trigger("slctopen");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
      $("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
    Nothing gets triggered...
    Can anyone tell me what the problem is here? Thanks in advance.
    Best regards,
    Nick

    Hello,
    APEX version 4.1.0.00.32 and 4.2.3.00.08
    Browser: latest version of Chrome browser
    I'm trying to include plugin events for the Select2 APEX plugin but facing one rather annoying issue; the dynamic actions based on the plugin events are not getting triggered. These are the steps I have taken:
    1. Registered several events with the plugin (e.g. slctchange, slctopen, slcthighlight, etc.). These events are based on the official Select2 documentation.
    2. Modified the render function to include event handlers that trigger the appropriate Select2 event.
    $("' || l_item_jq || '").on("change", function(e) {
      apex.jQuery(this).trigger("slctchange", { val:e.val, added:e.added, removed:e.removed });
    $("' || l_item_jq || '").on("select2-opening", function(e) {
      apex.jQuery(this).trigger("slctopening");
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
    $("' || l_item_jq || '").on("select2-highlight", function(e) {
      apex.jQuery(this).trigger("slcthighlight", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-selecting", function(e) {
      apex.jQuery(this).trigger("slctselecting", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-clearing", function(e) {
      apex.jQuery(this).trigger("slctclearing");
    $("' || l_item_jq || '").on("select2-removed", function(e) {
      apex.jQuery(this).trigger("slctremoved", { val:e.val, choice:e.choice });
    $("' || l_item_jq || '").on("select2-focus", function(e) {
      apex.jQuery(this).trigger("slctfocus");
    $("' || l_item_jq || '").on("select2-blur", function(e) {
      apex.jQuery(this).trigger("slctblur");
    I can confirm that the slctchange event (the first event in the list) is working properly both in APEX 4.1 and 4.2. Please note that I had to use apex.jQuery instead of $ to get it to work in 4.1. Might be because I overloaded jQuery in 4.1. Anyway, all others events are not getting triggered for some reason. The event handlers are getting executed for the appropriate event; that's not the problem. I guess the source of the problem lies with the trigger function. It simply doesn't trigger any of my dynamic actions.
    To make things even more complicated, it is possible to trigger the events manually in console. So if I execute this statement:
    apex.jQuery("#P20_SINGLE_VALUE_NEW").trigger("slctopen");
    Then I get back the result from the dynamic action.
    I tried a lot of different ways to trigger the plugin event. For example:
    $("' || l_item_jq || '").on("select2-open", function(e) {
      apex.jQuery(this).trigger("slctopen");
      $(this).trigger("slctopen");
      apex.jQuery(this).trigger("slctopen.BE_CTB_SELECT2");
      $(this).trigger("slctopen.BE_CTB_SELECT2");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen");
      $("' || l_item_jq || '").trigger("slctopen");
      apex.jQuery("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
      $("' || l_item_jq || '").trigger("slctopen.BE_CTB_SELECT2");
    Nothing gets triggered...
    Can anyone tell me what the problem is here? Thanks in advance.
    Best regards,
    Nick

  • Events not getting triggered

    in the code my event subtot_text is not getting triggered .... any solution plz
    REPORT  zver_alv_basic.
    TYPE-POOLS slis.
    DATA: BEGIN OF itab OCCURS 0,
              vbeln LIKE vbap-vbeln,
              posnr LIKE vbap-posnr,
              matnr LIKE vbap-matnr,
              netwr LIKE vbap-netwr,
           END OF itab.
    DATA: fcat TYPE slis_t_fieldcat_alv,
          wa_fcat  TYPE slis_fieldcat_alv,
          i_sort TYPE  slis_t_sortinfo_alv WITH HEADER LINE,
          i_event TYPE slis_t_event.
    SELECT vbeln
           posnr
           matnr
           netwr
      FROM vbap
      INTO TABLE itab
      UP TO 30 ROWS.
    I_SORT-FIELDNAME = 'POSNR'.
    I_SORT-TABNAME = 'ITAB'.
    I_SORT-UP = 'X'.
    I_SORT-SUBTOT = 'X'.
    APPEND I_SORT.
    Perform to populate ALV event
      PERFORM sub_get_event.
    To prepare field catalog
    PERFORM sub_field_catalog.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program = sy-cprog
        it_fieldcat        = fcat
        it_events         = i_event
        it_sort = i_sort[]
      TABLES
        t_outtab           = itab.
    *&      Form  SUB_FIELD_CATALOG
    FORM sub_field_catalog .
      PERFORM sub_fill_alv_field_catalog USING:
         '01' 'VBELN' 'ITAB' 'VBELN' 'VBAP' ,
         '02' 'POSNR' 'ITAB' 'POSNR' 'VBAP' ,
         '03' 'MATNR' 'ITAB' 'MATNR' 'VBAP' ,
         '04' 'NETWR' 'ITAB' 'NETWR' 'VBAP' .
    ENDFORM.                    " SUB_FIELD_CATALOG
    *&      Form  SUB_FILL_ALV_FIELD_CATALOG
    FORM sub_fill_alv_field_catalog  USING    p_rowpos
                                              p_fldnam p_tabnam   p_ref_fieldname p_ref_tabname  .
      wa_fcat-col_pos = p_rowpos.
      wa_fcat-fieldname = p_fldnam .
      wa_fcat-tabname = p_tabnam .
      wa_fcat-ref_fieldname = p_ref_fieldname .
      wa_fcat-ref_tabname = p_ref_tabname.
      IF P_FLDNAM = 'NETWR'.
        wa_fcat-do_sum  = 'X'.
      ENDIF.
      APPEND wa_fcat TO fcat.
      CLEAR wa_fcat.
    ENDFORM.                    " SUB_FILL_ALV_FIELD_CATALOG
    *&      Form  SUB_GET_EVENT
    FORM sub_get_event .
    DATA: wa_event TYPE slis_alv_event.
        CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 4
        IMPORTING
          et_events       = i_event.
      READ TABLE i_event INTO wa_event
                        WITH KEY name = 'SUBTOTAL_TEXT'.
    IF sy-subrc = 0.
        MOVE 'SUBTOT_TEXT ' TO wa_event-form.
        MODIFY i_event FROM wa_event INDEX sy-tabix.
      ENDIF.
    ENDFORM.                    " SUB_GET_EVENT
    *&      Form  subtotal_text
          Build subtotal text
          P_total  Total
          p_subtot_text Subtotal text info
    FORM subtot_text CHANGING
                   p_total TYPE any
                   p_subtot_text TYPE slis_subtot_text.
    Material level sub total
      IF p_subtot_text-criteria = 'VBELN'.
        p_subtot_text-display_text_for_subtotal
        = 'VENDOR level total'(009).
      ENDIF.
    Plant level sub total
      IF p_subtot_text-criteria = 'POSNR'.
        p_subtot_text-display_text_for_subtotal = 'POSNR level total'(010).
      ENDIF.
    ENDFORM.                    "subtotal_text

    *& Report  ZVER_ALV_BASIC
    REPORT  zver_alv_basic.
    TYPE-POOLS slis.
    DATA: BEGIN OF itab OCCURS 0,
              vbeln LIKE vbap-vbeln,
              posnr LIKE vbap-posnr,
              matnr LIKE vbap-matnr,
              netwr LIKE vbap-netwr,
           END OF itab.
    DATA: fcat TYPE slis_t_fieldcat_alv,
          wa_fcat  TYPE slis_fieldcat_alv,
          i_sort TYPE  slis_t_sortinfo_alv ,
          wa_sort TYPE slis_sortinfo_alv,
          i_event TYPE slis_t_event.
    START-OF-SELECTION.
    SELECT vbeln
           posnr
           matnr
           netwr
      FROM vbap
      INTO TABLE itab
      UP TO 30 ROWS.
    wa_sort-spos = '01' .
    wa_sort-fieldname = 'VBELN'.
    wa_sort-tabname = 'ITAB'.
    wa_sort-up = 'X'.
    wa_sort-subtot = 'X'.
    APPEND wa_sort TO i_sort .
    CLEAR wa_sort.
    Wa_sort-spos = '02' .
    wa_sort-fieldname = 'POSNR'.
    wa_sort-tabname = 'ITAB'.
    wa_sort-up = 'X'.
    wa_sort-subtot = 'X'.
    APPEND wa_sort TO i_sort .
    CLEAR wa_sort.
    Perform to populate ALV event
    PERFORM sub_get_event.
    To prepare field catalog
    PERFORM sub_field_catalog.
    END-OF-SELECTION.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program = sy-cprog
        it_fieldcat        = fcat
        it_events         = i_event
        it_sort = i_sort[]
      TABLES
        t_outtab           = itab.
    *&      Form  SUB_FIELD_CATALOG
    FORM sub_field_catalog .
      PERFORM sub_fill_alv_field_catalog USING:
         '01' 'VBELN' 'ITAB' 'VBELN' 'VBAP' ,
         '02' 'POSNR' 'ITAB' 'POSNR' 'VBAP' ,
         '03' 'MATNR' 'ITAB' 'MATNR' 'VBAP' ,
         '04' 'NETWR' 'ITAB' 'NETWR' 'VBAP' .
    ENDFORM.                    " SUB_FIELD_CATALOG
    *&      Form  SUB_FILL_ALV_FIELD_CATALOG
    FORM sub_fill_alv_field_catalog  USING    p_rowpos
                                              p_fldnam p_tabnam   p_ref_fieldname p_ref_tabname  .
      wa_fcat-col_pos = p_rowpos.
      wa_fcat-fieldname = p_fldnam .
      wa_fcat-tabname = p_tabnam .
      wa_fcat-ref_fieldname = p_ref_fieldname .
      wa_fcat-ref_tabname = p_ref_tabname.
      IF p_fldnam = 'NETWR'.
        wa_fcat-do_sum  = 'X'.
      ENDIF.
      APPEND wa_fcat TO fcat.
      CLEAR wa_fcat.
    ENDFORM.                    " SUB_FILL_ALV_FIELD_CATALOG
    *&      Form  SUB_GET_EVENT
    FORM sub_get_event .
    DATA: wa_event TYPE slis_alv_event.
        CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 4
        IMPORTING
          et_events       = i_event.
      READ TABLE i_event INTO wa_event
                        WITH KEY name = 'SUBTOTAL_TEXT'.
    IF sy-subrc = 0.
        MOVE 'SUBTOT_TEXT ' TO wa_event-form.
        MODIFY i_event FROM wa_event INDEX sy-tabix.
      ENDIF.
    ENDFORM.                    " SUB_GET_EVENT
    *&      Form  subtotal_text
          Build subtotal text
          P_total  Total
          p_subtot_text Subtotal text info
    FORM subtot_text CHANGING
                   p_total TYPE any
                   p_subtot_text TYPE slis_subtot_text.
    Material level sub total
      IF p_subtot_text-criteria = 'VBELN'.
        p_subtot_text-display_text_for_subtotal
        = 'VENDOR level total'(009).
      ENDIF.
    Plant level sub total
      IF p_subtot_text-criteria = 'POSNR'.
        p_subtot_text-display_text_for_subtotal = 'POSNR level total'(010).
      ENDIF.
      WRITE :/ 'cow'.
    ENDFORM.                    "subtotal_text }

  • OIM 11g Post Create Adapter not invoked

    I want to create a postprocess adapter for user creation. I registered my plugin and uploaded the metadata.
    However it is not getting invoked. On checking the logs for oracle.iam.platform.kernel.impl I can see only the out of box metadata xmls being read, but my xml path does not show up in the logs
    If I run this against MDS database
    select path_contentid,path_name,path_fullname,path_doc_elem_name from mds_paths where path_doc_elem_name ='eventhandlers' order by path_fullname asc
    It does show my metadata entry.
    Any idea on what is wrong here?
    Edited by: user13720159 on Jan 18, 2012 3:57 AM

    All the files that I used for the plugin including the metadata is attached here
    [https://sites.google.com/site/oracleforumzone/post-adapter-all-files.zip?attredirects=0&d=1|https://sites.google.com/site/oracleforumzone/post-adapter-all-files.zip?attredirects=0&d=1]
    I registered the plugin using java code, which is this [https://sites.google.com/site/oracleforumzone/Register.java?attredirects=0&d=1|Register Code]
    After that I ran the weblogicImportMetadata.bat file to load the metadata
    Running this
    select path_contentid,path_name,path_fullname,path_doc_elem_name from mds_paths where path_doc_elem_name ='eventhandlers' order by path_fullname asc
    (First I had 1 entry for /metadata/user/UserPostAdapter/EventHandlers.xml     then I tried again so 2 entries)
    gives me the following:
    86     EventHandlers.xml     /metadata/iam-features-OIMMigration/EventHandlers.xml     eventhandlers
    176     EventHandlers.xml     /metadata/iam-features-OIMMigration/EventHandlers.xml     eventhandlers
    173     EventHandlers.xml     /metadata/iam-features-Scheduler/EventHandlers.xml     eventhandlers
    83     EventHandlers.xml     /metadata/iam-features-Scheduler/EventHandlers.xml     eventhandlers
    203     EventHandlers.xml     /metadata/iam-features-accesspolicy/event-definition/EventHandlers.xml     eventhandlers
    113     EventHandlers.xml     /metadata/iam-features-accesspolicy/event-definition/EventHandlers.xml     eventhandlers
    92     EventHandlers.xml     /metadata/iam-features-asyncwsclient/EventHandlers.xml     eventhandlers
    182     EventHandlers.xml     /metadata/iam-features-asyncwsclient/EventHandlers.xml     eventhandlers
    106     EventHandlers.xml     /metadata/iam-features-autoroles/event-definition/EventHandlers.xml     eventhandlers
    196     EventHandlers.xml     /metadata/iam-features-autoroles/event-definition/EventHandlers.xml     eventhandlers
    114     EventHandlers.xml     /metadata/iam-features-callbacks/event_configuration/EventHandlers.xml     eventhandlers
    204     EventHandlers.xml     /metadata/iam-features-callbacks/event_configuration/EventHandlers.xml     eventhandlers
    205     EventHandlers.xml     /metadata/iam-features-configservice/event-definition/EventHandlers.xml     eventhandlers
    115     EventHandlers.xml     /metadata/iam-features-configservice/event-definition/EventHandlers.xml     eventhandlers
    195     EventHandlers.xml     /metadata/iam-features-identity/event-definition/EventHandlers.xml     eventhandlers
    105     EventHandlers.xml     /metadata/iam-features-identity/event-definition/EventHandlers.xml     eventhandlers
    88     EventHandlers.xml     /metadata/iam-features-notification/EventHandlers.xml     eventhandlers
    178     EventHandlers.xml     /metadata/iam-features-notification/EventHandlers.xml     eventhandlers
    110     EventHandlers.xml     /metadata/iam-features-passwordmgmt/event-definition/EventHandlers.xml     eventhandlers
    200     EventHandlers.xml     /metadata/iam-features-passwordmgmt/event-definition/EventHandlers.xml     eventhandlers
    211     EventHandlers.xml     /metadata/iam-features-reconciliation/event-definition/EventHandlers.xml     eventhandlers
    121     EventHandlers.xml     /metadata/iam-features-reconciliation/event-definition/EventHandlers.xml     eventhandlers
    104     EventHandlers.xml     /metadata/iam-features-request/event-definition/EventHandlers.xml     eventhandlers
    194     EventHandlers.xml     /metadata/iam-features-request/event-definition/EventHandlers.xml     eventhandlers
    120     EventHandlers.xml     /metadata/iam-features-requestactions/event-definition/EventHandlers.xml     eventhandlers
    210     EventHandlers.xml     /metadata/iam-features-requestactions/event-definition/EventHandlers.xml     eventhandlers
    109     EventHandlers.xml     /metadata/iam-features-selfservice/event-definition/EventHandlers.xml     eventhandlers
    199     EventHandlers.xml     /metadata/iam-features-selfservice/event-definition/EventHandlers.xml     eventhandlers
    153     EventHandlers.xml     /metadata/iam-features-sod/EventHandlers.xml     eventhandlers
    63     EventHandlers.xml     /metadata/iam-features-sod/EventHandlers.xml     eventhandlers
    100     EventHandlers.xml     /metadata/iam-features-system-configuration/EventHandlers.xml     eventhandlers
    190     EventHandlers.xml     /metadata/iam-features-system-configuration/EventHandlers.xml     eventhandlers
    79     EventHandlers.xml     /metadata/iam-features-tasklist/EventHandlers.xml     eventhandlers
    169     EventHandlers.xml     /metadata/iam-features-tasklist/EventHandlers.xml     eventhandlers
    186     EventHandlers.xml     /metadata/iam-features-templatefeature/EventHandlers.xml     eventhandlers
    96     EventHandlers.xml     /metadata/iam-features-templatefeature/EventHandlers.xml     eventhandlers
    162     EventHandlers.xml     /metadata/iam-features-transUI/EventHandlers.xml     eventhandlers
    72     EventHandlers.xml     /metadata/iam-features-transUI/EventHandlers.xml     eventhandlers
    432     EventHandlers.xml     /metadata/user/UserPostAdapter/EventHandlers.xml     eventhandlers
    433     EventHandlers.xml     /metadata/user/UserPostAdapter/EventHandlers.xml     eventhandlers

  • Event not getting triggered for a few users in production

    Hi Experts!!
    We have a workflow that gets triggered on the event REQUESTCREATED of BUS2089. In production, we see that for a few users the event is getting triggered and even the workflow is. But for a few users, the workflow is not getting triggered. However, we didn't check SWEQADM yet and are waiting to get auth to check the same. But before that, I need your valuable suggestions on this.
    When I check SWEL, I cannot see any entries at all. Not even for the successfully processed ones.
    Auth objects cannot be a reason, as all the users have same auth. Please suggest me on what else can be the reasons.
    Your help is highly appreciable.

    Hello Srinivas !
                  Check in SWEQADM to know whether the event is on queue.If so, redeliver it.
                  If there is no event on queue, check the RFC queue( transaction SWU2 ) and ST22 for possible ABAP dumps.
                  Call work item list report (transaction SWI1) and check event linkages (transaction SWETYPV )of the users for whom the event is not triggered.Are you using BAdI or user- exit to trigger the workflow ? If so, check whether those are in active state.
                 Refresh the workflow buffers(transaction SWU_OBUF).Check either of the workflow versions are in active state.
    Regards,
    S.Suresh

  • Events not getting fired for templated controls.

    Hi,
    I have an asp.net custom server control, in which I have given template support. The template controls render fine. But, the events of template controls are not getting fired. For example, If I added an asp dropdownlist as a template in my custom control
    and select any item from dropdownlist and raised the postback, the selected item did not get updated in dropdownlist ( i.e selectedIndex, selectedText of the control remains the same as like initial rendering.), also I am not able to trigger the SelectedIndexChanged
    server side event of dropdownlist.
    I have used NamingContainer for rendering the template controls. The codes are as follows,
    <code>
    This is my source:
         private
    ITemplate fileTemplate =
    null;
     [TemplateContainer(typeof(ContentContainer)),
    PersistenceMode(PersistenceMode.InnerProperty),
    DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
    TemplateInstance(TemplateInstance.Single)]
    public ITemplate FileTemplate
    get
       return fileTemplate;
    set
    fileTemplate = value;
    public class
    ContentContainer :
    WebControl, INamingContainer
    internal ContentContainer()
    protected override
    void CreateChildControls()
    this.Controls.Clear();
    ContentContainer container =
    new ContentContainer();
    this.FileTemplate.InstantiateIn(container);
    this.Controls.Add(container);
    base.CreateChildControls();
          public
    override ControlCollection Controls
    get
    this.EnsureChildControls();
           return
    base.Controls;
    Whereas in my application, I have rendered the custom control with template as below,
    [ASPX]
    <mycustom control>
    <FileTemplate>
    <asp:DropDownList
    ID="ddc1"
    runat="server"
    AutoPostBack="true"
    OnSelectedIndexChanged="ddc1_SelectedIndexChanged"
    >
    <asp:ListItem
    Text="Item1"
    Value="one"></asp:ListItem>
    <asp:ListItem
    Text="Item2"
    Value="two"></asp:ListItem>
    <asp:ListItem
    Text="Item3"
    Value="three"></asp:ListItem>
    <asp:ListItem
    Text="Item4"
    Value="four"></asp:ListItem>
    </asp:DropDownList>
    </FileTemplate>
    </mycustom control>
    [Code Behind]
    This event is not getting raised.
    protected
    void ddc1_SelectedIndexChanged(object sender,
    EventArgs e)
     I can get the template control's details here using "FindControl("templateID")". But not able to get the updated details.
    protected void btn_Click1(object sender,
    EventArgs e)
    var template= this.CustomControl.Controls[0].FindControl("ddc1");
    </code>
    Where I am going wrong? Kindly help me on this.
    Thanks in advance.
    Regards,
    Meena

    This is a Windows Phone forum, not a web development forum. Please ask this question at the forums at
    http://asp.net.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Command Link in ADF table is not working/ PPR event not getting fired

    Hi All,
    I am having ADF Table, in that one column is with command link if click on command link, it is not navigating to corresponding page or method of a bean. If i give same command link out of the table it working fine, this issue i am facing is in IE9.
    if i use IE in compatibility mode the links works fine, even in IE8 version also.
    Browser: IE 9
    Jdev version: 11.1.1.5.0
    I tried all possible things, but nothing workout for me.
    showPopupBehavior not working in IE9 for af:table buttons (jdev11.1.1.5.0)
    Partial page rendering not working in ie9
    Command Link in ADF table is not working
    Thnks

    Hi,
    please file a bug if you have a customer support contract and provide a testcase
    Frank

  • Oracle Fusion Middleware 11G  B2B Document Type not getting Identified

    Hello,
    I have installed Oracle Fusion Middleware 11g on my local machine and created a custom document type with proper .xsd definition and XPath Expression Identifier in Oracle B2B interface and configured its trading partners ( Host & Remote ) along with an agreement between the partners.
    I have also configured the host listening channel of Generic-File type which picks xml files from my c:\orclsrvs_in folder.
    My problem is that the moment I drop any sample file in the expected directory, it gets picked up from B2B , but there isn't any record of the same under Reports and Metrics links.
    The Business message, Application message and Conversation message tabs are also not showing any information about the record picked, but in wire message tab, the record is shown in PROCESSING state.
    I am not able to conclude whats wrong behind this.. where can i track the logs for the same ??
    kindly help to resolve this issue.
    Thanks & Regards
    Hiteshkumar Chaudhary

    Hi Hitesh,
    i came to know that B2B extracts the TP name from the filename itselfYes, in case of Generic File, Generic SFTP and Generic FTP, file name provides the necessary values to Oracle B2B to identify the Trading Partner. You can define your own file name format in the Delivery Channel under Transport Protocol Parameters in field "Filename format" (It's an optional field but it is always good to define your own format, otherwise B2B will take it's default format - TradingPartner_DocumentType_Revision_msgType_msgId_replytoMsgID_extension.xml ). Following Filename formats can be used -
    %FROM_PARTY%
    %TO_PARTY%
    %DOCTYPE_NAME%
    %DOCTYPE_REVISION%
    %MSG_ID%
    %TIMESTAMP%
    These file name formats can be used in any combination; for example,
    %TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.dat
    Note - Any file extension is allowed.
    what are the system parameters to be set in weblogic console and how?? This activity is part of the pre and post installation steps. If you have done those without getting any errors then nothing else is required.
    how shall I reinstall XEngine properly ??XEngine is part of B2B installation. If B2B gets installed without flashing any errors then we assume that other components of this part has installed properly.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi, Infosys on Aug 28, 2009 5:51 PM

  • Event not getting triggered for PR generated through MRP run

    Hi All,
    Could anyone let me know how to get a workflow triggered for the ReleaseStepCreated event (obj - bus2105) when the PR is created through MRP run. The MD02 control paramters have the value '1'.
    Interstingly the workflow triggers when the value is set to '2' or '3'.
    Thanks,
    Ameekar

    Thanks Aman,
    I checked field restrictions but there are none there. Actually i checked them for other object 'AOOMARA' which is being thrown as an exception when i am creating the PR through MRP run.
    Exception says -> field not maintained.
    So i guess, i need to maintain the field for Change Document but i am not sure how. COuld you please aid me with that.
    Thanks A lot !!

  • CM Events not getting to a JDeveloper Application

    Hi,
    I'm using the IFS/CM sdk on our site so that we may be notified of changes to files given certain conditions.
    I want to use waitServer() to wait on given conditions. We set up a demo on a Solaris box which works fine. The Solaris box is also where the test repository is held. The demo works fine. It runs from command prompt, initialises correctly and notifies us of changes. Perfect, you might imagine.
    However when I moved it onto JDeveloper, we use exactly the same source, same properties, same class path etc, it initialises correctly, get to waitServer(), and just waits. It never receives a message. The event has definitely been generated, as the solaris app receives the message.
    Obvious stuff we've done:
    - both boxes ping each other.
    - from the repository console we can see the client session's, on the correct PC.
    - we can make other queries against the site, is this file in this folder etc.
    - turned off the solaris demo to make sure it's not (somehow) swallowing the event.
    Our environment is as follows:
    - JDeveloper 9.0.3.1, OJVM build 1.3.1_02-b02 - which doesn't
    - Solaris - Sun JVM build 1.3.1-b24 - which works
    - Oracle Enterprise Manager 9.2.0.1.0
    We want to use JDeveloper for this project as we use it everywhere else. I'm at my wits end. A little help would be greatly appreciated.

    Can you run the demo on the XP box outside of JDeveloper and does it work? I'm trying to find out if the issue is (a) the XP box or (b) JDeveloper.
    If it's the XP box, you should try getting some help in the Oracle Files forum Content Services
    Or if it's JDeveloper, try setting the Java VM from ojvm to hotspot in the Runner page under Project Properties.
    Rob
    Team JDev

Maybe you are looking for

  • Java.lang.StackOverflowError in KM

    Hi All I am following the menu : System Administration > System Configuration > Knowledge management > Content Management > Action > Check configuration. It is giving the <b>following error</b> : The following objects have invalid settings: .../Prope

  • Integration of SAP CRM 7.0 with MS Exchange 2007

    Hi SAP GURUS, We have Installed CRM 7.0 ABAP APP server. We are in process of installing MS Exchange gropware connector and MS Exchange groupware connector proxy Release 4.0 Now my question is do we need to install both of them(GW connector & GW Conn

  • Spry:detailregion confusion

    So I've manage to adapt what I learnt in my previous question to a web site that I am just messing with (http://pbox.mine.nu/R/MyR.html). I've looked at other examples of how to use the detailregion and using it with spry:setrow() but I think i'm mis

  • CC assessment to PA based on Stat key fig on internal orders?

    Hi Experts Please assist me.  Is it possible to capture key statistical figures on numerous Internal orders representing vehicle numbers.  Then by using the assessment of cost centre cost to PA, use these statistical key figures as a tracing factor t

  • 10.4.6 loses desktop

    Hello. My sister sent me this: Hi Aidan, I updated software and installed the new one for os x. I restarted when it told me to. However, after this all my things on the desktop disappeared. I can get to the files if I go through finder but this is re