Rule-Generator Adapter is not being triggered

I have created a rule-generator adapter and assigned it to pre-insert and pre-update of a process form (mapped the return value to process form field) but the system does not trigger the adapter when I add the resource to user. Any ideas why this happens?
Regards,
Kostas

I tried with an entity adapter but the effect is the same (restarted the server). It looks like the system does trigger the pre-insert and pre-update events. Any ideas?

Similar Messages

  • Problem in rule generator adapter

    Hi *,
    Here i've got one problem while creating rule generator adapter to validate my customized field, the class referred by the adapter is simple, which requires a minimum length of the field is 6, however, I have no idea about how to tell Xellerate whether the validation is success or not, going through the OIM documents without luck,should i return some specific value that Xellerate understands or throw some kind of exception? please help me!
    Thanks,
    R.
    Thurm

    Hi gaurav,
    It was a good response from your side.
    I have gone through the FAQ but could not able to find anything.
    Can you please help me out in this regard ?
    Also i am using select query of this kind,
    SELECT
    SEFVHRC.VHRBRCD,SEFVHRC.VHRCUCD,SEFVHRC.VHRVIN,SEFVHRC.VHRMOCD,SEFVHRC.VHRCHAS,
    SEFVHRC.VHRSLOR,SEFVHRC.VHRDIVI,SEFVHRC.VHRMGCD,SEFVHRC.VHRMOCH,SEFVHRC.VHRVHTY,
    SEFVHRC.VHRBDTY,SEFVHRC.VHRMFYR,SEFVHRC.VHRMOYR,SEFVHRC.VHRMODS,
    SEFVHRC.VHRMDTL,SEFVHRC.VHRCLBR,SEFVHRC.VHRRCID,SEFVHRC.VHRARDT,
    SEFVHRC.VHRLUTM,SEFVHRC.VHRLUDT,SEFVHRC.VHRKEYN,SEFVHRC.VHRCTORN,
    SEFVHRC.VHRCTIMP,SEFVHRC.VHRPRDT,SEFVHRC.VHRPRDT,SEFVHRC.VHRRCDT,
    SEFVHFT.VHFCLCD,SEFVHFT.VHFCAT,SEFVHFT.VHFCADSC,SEFVHFT.VHFKEY,SEFVHFT.VHFTEXT1,
    SEFVHFT.VHFTEXT2,SEFVHFT.VHFTEXT3,SEFVHFT.VHFTEXT4
    FROM
    SAPTESTLIB.SEFVHRC,SAPTESTLIB.SEFVHFT
    WHERE
    SEFVHRC.VHRVIN = SEFVHFT.VHFVIN AND SEFVHRC.VHRSTTS = ' '
    and update query of this kind,
    Update SEFVHRC SET VHRSTTS = 'R' WHERE VHRSTTS = ' '
    I am using prity big select query. is there any option to optimize it?
    Can you please help me out in solving this problem
    urs,
    Soorya

  • Populating a field using rule generator adapter

    Hi
    How a form field is populated using Rule Generator Adapter. And what we should do if we want the same field do not appear in the form, though it's value should be participate in task(create user update user etc).
    Thanks
    Kanchan

    Check these links
    http://download.oracle.com/docs/cd/E10391_01/doc.910/e10366/rules.htm
    Prepopulate Adapter and Rule Generator Adapter

  • Prepopulate Adapter and Rule Generator Adapter

    Can anyone tell me the exact difference between Prepopulate adapter and Rule generator adapter? I have read the documentation but both seems to be same.
    Please explain me with an example scenario..
    Regards
    Pavan

    Hi,
    See if this help you in gaining more understanding.
    PrePopulate Adapter: They are mapped with the fields of process form and are used to prepopulate the fields value during the resource provisioning.
    RG Adapter: A RG Adapter incoporates business rules to the fields of either OIM user form or user defined form so that these fields can be automatically populated
    and saved to the database. You can use the RG & Entity Adapter to construct the userid from the firstname and lastname fields and prepopulate it.
    Difference:
    While both these adapter can be used to prepopulate values but RG Adapter has one to one mapping with the RG adapter and custom field. An RG Adapter once
    attached to a field cannot be attached with another field thus preventing adapter reuse. Beside this, no other type of adapter can be associated with that custom
    field.In contrast, the PrePopulate adapter can be reused and attached with multiple fields.
    Hope this will help you.
    Regards
    Sunny Ajmera

  • Rule generator adapter

    hi,
    Please explain me whats the use of rule generator adapter where entity adapter and prepopulate adapter does all the functions of a rule generator.
    i have gone through the docs but it doesnt explain the difference.
    Thanks in advance,
    Cat's Paw

    You are correct in stating the functionality of the oim adapter types is overlapping. The documentation describes the recommended classification types of the adapters while you can achieve the same functionality by creating some other adapter type in similar fashion.
    I would suggest you to use the recommended approach as mentioned in the documentation.

  • Overhead user exit (COOM0001) not being triggered for specific plant

    Hello all,
    I was wondering if anyone came across this situation before. I activated user exit COOM0001 for overhead calculation. This user exit is triggered when I create PCE for plant A but not plant B.
    I can't figure out why it is not being triggered for plant B at all. I put a break point in function module EXIT_SAPLKASC_001, EXIT_SAPLKASC_002 and EXIT_SAPLKASC_003 and the system didn't stop in anyone of these function module.
    Any help is greatly appreciated.
    Regards,
    Cassandra

    Hi
    It seems that you are a Functional Consultant.
    Please follow the following simple step for any userexit to see where all its been called.
    1. Go To T. Code SMOD
    2. Enter the Exit name COOM0001
    3. Click on the COMPONANTS RADIO BUTTON and DISPLAY
    4. U get Function Modules
    EXIT_SAPLKASC_001
    EXIT_SAPLKASC_002
    EXIT_SAPLKASC_003
    5. Now individually double click on each FM and put a break point ther.
    6. Open a new session and see wheather it stop at the break-points of the T. code you are looking for.
    I havent used this user exit, so no comments on how it ll be use ful.
    Reward points if useful
    Thank-You
    regards
    vinsee

  • Integration Process is not being Triggered

    Hi Gurus,
    I have a file to file scenario in which I am using BPM to make a synch call in between.
    Everything appears to be fine in IR and ID. 
    But, Intergration Process is not being determined as a receiver and hence, IP is not getting  triggered.
    When I checked the trace.
    At top it says.. 1 Recvr is determined.
    <Trace level="2" type="T">O U T B O U N D - B I N D I N G</Trace>
      <Trace level="2" type="T">Cache Content is up to date</Trace>
      <Trace level="2" type="T">determine OUTBOUND BINDING for:</Trace>
      <Trace level="2" type="T">-SENDER_SYSTEM</Trace>
      <Trace level="2" type="T">-IP_NAME</Trace>
    At bottom it says.. no recr determined as shown below.
    <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
    Could you please help me to resolve this issue..
    Thanks in Advance..
    Pushkar

    Hi Bhavesh,
    Thanks for a quick reply.. well.. cache refresh doesnt help me..
    I created a couple of more scenarios.. n every where i m getting the same error..
    When I check the IP in the process builder.. i.e. using transaction SXMB_MONI_BPE,
    I find an extra container operation step "Initialize System Element" just after recieve step.
    I am wondering about this step.. I have worked on BPM earlier but have never noticed this step..
    Regards..
    Pushkar...

  • WIA not being triggered

    Hey all! We have Windows Integrated Authentication (WIA) working fine on our dev environment but for some reason can't duplicate it on our Prod servers.
    By accessing the dev url it auto-authenticates me and I can see the SSO via the IIS log files.
    However when I access our Prod URL the SSO files (SSOLogin.aspx) aren't being triggered.
    I've checked that the SSO folder in IIS is set for Integrated Auth and anonymous access has been removed. Our config files look to be in sync and the auth service is set for SSO. I'm a little baffled why its not triggering.
    Any ideas?

    Assign the listener to the stage, not this...
    stage.addEventListener(KeyboardEvent.KEY_DOWN, eventKeyDown);
    and be sure to Disable Keyboard Shortcuts via the Flash Player's Control menu options

  • Dynamic Action not being triggered in Batch

    Hi Gurus,
    We have the below Dynamic Action that is not getting triggered when we run a Batch to Create IT2010. We are using TCode PTE1 to create the batch.
    2010                   4     5     P     T001P-MOLGA='10'
    2010                   4     10     P     PSPAR-TCLAS='A'
    2010                   4     12     P     P2010-LGART='4023'
    2010                   4     15     I     INS,2001,,,(P2010-BEGDA),(P2010-ENDDA)/D
    2010                   4     20           **P2001-AWART='0100'
    2010                   4     21     W     P2001-AWART='1300'
    2010                   4     25     W     P2001-STDAZ=P2010-ANZHL
    I have read a few posts on how this can be done, but not very clear as to whether it can even be achieved.
    This Dynamic Action works fine when we manually Create an IT2010 record via PA30, it creates the IT2001 in the background.
    Cheers,
    Anil

    Hello Anil,
    Please check the following note, I think note should be helpful in this case.
    386027   Dynamic actions
    1564499  Processing initial values which are not valid in
    Best Regards,
    Deepak.

  • Mail not being triggered in background

    Hi Experts,
    I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send a mail with attachments to the user. The program in which the FM is used is scheduled in background. The problem is in my dev system, the mail is getting triggered without any issues but in Quality system, the mail is not getting triggered but the job  runs successfully. I got some expection  with   sy-subrc = 2 , sy-msgid = SO ,sy-msgtyp=A ,sy-msgno=013,sy-msgvi=ADDR_PERS_COMP_COMM_GET in QA . When i tried to debug the background job, mail gets triggered successfully.
    Can you please share your valuable suggestions in this regard.
    Regards,
    Vijayalakshmi

    Hi Vijayalakshmi..
    Can you please check whether the mail is reaching your sap outbox using tcode sbwp..
    From what i understood if it is working fine in DEV and not in quality then it could be the mail configuration issue in QA.
    You can also try one more thing. just got to sbwp and send a mail to the email id.
    Regards
    Ansari

  • File read or delete error in oracle jca adapter is not being caught in java

    Hi,
    I am using oracle JCA file adapter to read and process file and that jca is being used in OSB. This is working fine. But if the file is not in proper format or file is alredy opened,jca is throwing error on console and control is not going to OSB. I have to log this error in database either by OSB or before OSB using EJB. I have inserted valve in jca for preprocessing. But in the any method of abstract valve , i am not getting able to access the error thrown by jca in case of invalid xml file. If i am able to fetch error message in execute method or any other message of AbstractValve, that error may be sent to database using EJB that not able to get the error message. Please let me know if there is any way to get the errors by jca in java code.

    In the case of error while reading or deleting file(if file is not in write format or opened or not accessible), control is not going to OSB. from JCA default error handling mechanism is throwing error to console. That's why i tried with inserting valve in jca adapter.

  • Event Handler is not being triggered- 11G Release2

    Hi all,
    I developed a postprocess event handler which I am expecting to be triggered when my custom task for trusted reconciliation run. I have deployed my event handler using plugin registration utility. I put a static block in my class to see if my class iz being initialized. I see that iti is initialized but event handler is never triggered (execute method is never called). Why it is not triggered? Any help is strongly appreciated... Below is my configuration for the event handler..
    <?xml version='1.0' encoding='utf-8'?>
    <eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel/orchestration-handlers.xsd">
    <action-handler class="com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
    entity-type="User"
    operation="ANY"
    name="PostProcessEventHandler"
    stage="postprocess" order="1002"
    sync="TRUE"/>
    </eventhandlers>
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
    <plugin pluginclass=
    "com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
    version="1.0"
    name="PostProcessEventHandler">
    </plugin>
    </plugins>
    </oimplugins>
    Tahnaks in advance,
    BR
    ALİYE

    Hi Nayan,
    I have cheked the plugins table and my plugin is in there.Thenchecked mds_paths table I have four records there (I have deployed and undeployed few times) wich are as follow:
    path element name
    http://www.oracle.com/schema/oim/platform/kernel     action-handler
    http://www.oracle.com/schema/oim/platform/kernel     action-handler
    http://xmlns.oracle.com/schema/oim/platform/kernel eventhandlers
    http://www.oracle.com/schema/oim/platform/kernel     eventhandlers
    Which schema is corrent? Is there something wrong with these records that causes my handler to do not trigger ?
    Thanks a lot
    BR
    Aliye

  • HR triggers not being triggered

    Hello Experts,
    I have configured a triggers for new hire  and have performed the following steps
    1.Performed HR field mapping
    2.created Action
    3.Defined a rule with  necessary attributes
    4.Scheduled background jobs ( both data laod and HR trigger job),
    and went and created a new personnel record with new user in SAP  system
    but the  process log is blank , I have no triggers whatsoever
    I have checked the table /virsa/ruleattr and it shows my attributes which I have defined in HR rules tab
    but still no joy
    your help will be much appreacited
    Regards
    Mark
    Edited by: MK on May 20, 2009 9:22 AM

    Hi MK,
    Could you please let me know the Rule which you have created for the new hire.
    I think the rule you have created is not matching the values you are putting for new hire in PA30.
    Also check table "/VIRSA/INT_TRIG" for any entry in it for your trigger, you should have entry in this table for each trigger.
    Thanks,
    Tavi
    Edited by: tavi singh on May 21, 2009 10:28 PM

  • ATP not being triggered automatically after changing UE EXIT_SAPLATPC_002

    Hello everyone. I am having a problem with ATP.
    This error is happening within VA02 (or VA01).
    I have just added some logic to EXIT_SAPLATPC_002 - include ZXATPU02 (which is in the modification ATP00001)  but now that I have made this change it prevents ATP from automatically being invoked when I make changes to the item on the sales order. The only way I can get ATP to be invoked is by
    choosing check availability.
    I tried searching all available avenues and posted to OSS who said it is a consulting issue. Does anyone know what I may be missing with this.
    I think the code error occurs in the below area:
    FM ATP_EXPLANATION
    Subroutine PERFORM DIALOGUE_EXECUTE.
    FORM dialogue_execute.
    IF NOT atpcsx-force_dia IS INITIAL
    Thank you for your time and help! Tom

    I wanted to post the reply for this in case people have the same issue. I found that the issue was not in code, but configuration in table TVTA-REVFP. Here is the menu path for the configuration that drives if the delivery proposal dialog comes uo or not:
    SPROSales and DistributionBasic FunctionsAvailability Check and Transfer of RequirementsAvailability CheckAvailability Check with ATP Logic or Against PlanningDefine Default Settings

  • BTE 1020 not being triggered though everything is active.

    I have implemented BTE 1020.  In BF24, I have a customer product called ZBTE2040, text, no RFC, and active is checked.  In BF34, I have event 00001020, product ZBTE1020, no country or appl, and my "Z" function module.  When I go through debug, I'm coming to a part in the SAP code that is not working correctly.  When the FM OPEN_FI_PERFORM_00001020_E is called, I can see that it goes to table TBE34 and finds my customer product from BF24.  There is however a part of the code from LITSRF01 (form TABLE_FILL) that is not working:
    *------ At this stage, there can only be one entry left -
      READ TABLE ITPS34 INDEX 1.
      IF  SY-SUBRC = 0
      AND NOT ITPS34-PRDKT IS INITIAL.
        CLEAR TBE24.
    Read data from context -
        SUPPLY PRDKT = ITPS34-PRDKT
                   TO             CONTEXT CP_CT.
        DEMAND RFCDS = TBE24-RFCDS
               AKTIV = TBE24-AKTIV
                   FROM           CONTEXT CP_CT.
    Application activated ? -
        IF TBE24-AKTIV = 'X'.
          MOVE-CORRESPONDING ITPS34 TO APCUSTAB.
          APCUSTAB-RFCDS = TBE24-RFCDS.
          COLLECT APCUSTAB.
          CLEAR EMPTY.
        ENDIF.
      ENDIF.
    ========================
    When it executes the DEMAND statement above, field TBE24-AKTIV is not filled in even though when I go to table TBE24, the field = "X".  Through debug mode, if I go ahead and change the value to "X" after the DEMAND statement, my "Z" function module is executed. 
    Can anyone provide any insight?  The system is SAP ECC 6.0.
    Thanks

    Hi,
    I had the same problem once. Could not figure out what was causing it. I just activated everything and move the transport again. I am working in 4.6C though.
    As you are debuging the code, i would suggest that you put a watchpoint on TBE24 and see where it is being populated first time and where else it is being changed. This way you can track down the reason why the AKTIV field is blank.
    Let me know if you have any question.
    Regards,
    RS

Maybe you are looking for

  • How to detect client OS from SQL*Plus script

    Sometimes in a SQL*Plus script I need to execute OS commands e.g. host rm tempfile.bufHowever of course Windows has no "rm" command by default, so I have to edit the script to use host del tempfile.bufNow if I could define &DELETE (for example, "cat"

  • I replaced my lcd screen after my ipod doesnt turn on

    my Lcd screen was damaged so i replaced it with new lcd screen after that my ipod doesnt turn on?

  • Ipod touch will not do anything but display a bright blank screen

    Please help! I tried to access Facebook from ipod touch and the ipod froze and went to a bright screen and blank. I can not get it to power off or anything!

  • Where are Answers and Dashboards stored?

    If we deliver answers and dashboards to customers and they customize it further, how can they upgrade to next release's dashboard and answers? I want to know where are dashboards and answers stored so that we can provide an upgrade script. Edited by:

  • JDO (vs.) JDBC

    Hi guys, a simple question: are there big performance differences by using JDO instead of JDBC? I know most people don't want answer this kinde of questions :) but before i start with implementing some solutions i will try to choose this technology t