EVENTITEM is triggering twice!!!

Hi,
I needs to send mail if PR is released or unreleased or reject or cancel rejection to the creator.
So I created a workflow which contains event of BUS2105 in  START EVENT - RELEASESTEPCREATED, RELEASED, REJECTION_STOP, REJECTION_START.
So if anything happen in ME54N a mail should get triggered.
I used FORK which contains 4 wait event because only 1 event will be triggered for 1 PR. And accordingly formatted mail will be send.
If PR is released for the first time mail is triggered successfully. If that same PR is unreleased and then again released for same release code mail is triggered twice and keeps triggering twice if again it is unreleased and then released.
In SWEL below messages is seen twice for RELEASE event.
BUS2105     RELEASED     20.07.2011     19:23:58     EVENTITEM     SWW_EI_EVENT_RECEIVE_IBF
so same mail is triggered twice.
This this is same for all remaining events.
When I show in SWE3 and in OBJECT DATA, their exist a entry of PR(object key) for BUS2105 release event. If I delete that entry then again for the first time it will trigger 1 mail but for next release of same PR will trigger mail twice.
The whole problem is for all events mentioned in FORK.
Thanks in advance.

Hi,
You are correct.
I removed worflow configuration from SPRO for release code. So REJECTION_STOP, REJECTION_START wait event are working properly means only 1 mail is triggered and below msg is shown only once. But as soon as I reconfigure release code in SPRO mail start triggering twice means in SWEL i can see below msg. 2 times :-
message in SWEL --> BUS2105 RELEASED 20.07.2011 19:23:58 EVENTITEM SWW_EI_EVENT_RECEIVE_IBF
As you said their might be some configuration problem of release code, So I developed a separate workflow which has only 1 event RELEASE and no WAIT EVENT is used, then it works perfectly means only 1 mail is triggering.
So I also think that the problem is of WAIT EVENT(receiver type EVENTITEM) and RELEASE CODE configuration.
I think, I need to control the receiver type --> EVENTITEM triggering for release code.
I don't know how to solve this issue. Please help to solve the issue...
Thanks & Regards,
Mihir

Similar Messages

  • Subtype event not triggering and supertype event triggers twice!!!!!!

    Hi,
    We have created a subtype for object bus2030 and also an event created for that. My workflow should trigger whenever an inquiry is created.
    I've maintained this as triggering event in SWDD and done type linkage is SWE2 and everything looks fine.
    When i simulate or create event the WF is triggered but when create inquiry in VA11 WF does not triggers.
    I've checked SWEL for event trace but no event is triggered at all... Am i missing something... I've done almost everything that i used to do...
    Even synchronized buffer!!! nothing paid me a solution...
    Infact the same was working with 3.1i system but after migration to ECC6 we had to create new WF template for the same Process.
    Now I also see that the supertype bus2030-created event is triggered twice but, obviously no receiver type exists. But the zbus2030 event is not being triggered at all!!!!
    Kindly help me understanding my mistake...
    Regards,
    PB

    Hope you have already set the deletegation in SWO6.
    Now, event dont get triggered automatically, jus because they are defined in object. They have to be explicitly published in thesystem.
    Check for a suitable user exit in your transaction, which makes use of function module to create the event, from that you know how to proceed.
    If you dont find user exit, try other triggering techniques such as change documents, logistics, BTEs... etc.
    regards,
    Sandeep Josyula

  • Relese of PP operation - Triggered twice? (AFVC_PM-RELEASED)

    Hi
    When we release an operation of an PP-order the Event AFVC_PM-RELEASED is triggered twice.
    This is a problem for us since we have a linked interface when the status is set to RELEASED.
    We only want the status to be changed once - otherwise we get two calls to our interface wich causes error.
    Do you know why that EVENT pop up twice?
    Best reg
    Henrik

    Check the linkage table. Did you link this event twice? If you have a subtype, check if the event is linked for the super- and sub-type.

  • Po message getting triggered twice

    Hi,
    recently we have upgraded SRM5.0 to SRM7.0 with ECC6.0 EHP pack4 .
    we have a problem when we create PO from SRM shopping cart in ECC.PO message is getting triggered twice. Th issue was not there before upgrade.
    Can anyone please help me resolving this.
    Thanks & Regards,
    Beena.

    Hi,
    While making a purchase requisition, you can refer to either last purchase or can take a reference of blanket purchase agreement, just check for that particular supplier that whether in the requisition table while importing requisition from maximo, there exist a reference of any last purchase or any blanket purchase agreement. If yes then autocreate workflow will get trigger automatically which might be schedule on your instance, which will create a purchase order for that particular supplier.
    Thanks & Regards
    Ankur Dawra

  • Workflow Triggering twice when executing transaction cj21n

    Hi Experts,
    when i am executing transaction cj21n my workflow is triggering twice but earlier  it was working fine ..
    please provide your input on the same
    Thanks
    Deepanker Dwivedi

    Hi,
    The 'event' which  mapped to workflow triggered twice or another event may added to the workflow
    1) Did you give additional event for the workflow in the Basic Data -> Start events, if yes remove that event and test it.
    2) If 'No', In the SPRO configurations some settings might have changed, Check with your Function Consultant ask  any changes they done in the SPRO settings related to the T.code cj21n.
    Regards,
    Surjith

  • BBP_WFL_SECUR_BADI triggered twice

    Hi Gurus,
    I am using BADI BBP_WFL_SECUR_BADI to retrigger workflow when user make changes to certain fields in the shopping cart. First I check SCENARIO is initial, then I use function BBP_PD_SC_GETDETAIL to get screen values, then I called function BBP_PROCDOC_RESET_DB_BUFFER_SG to reset database buffer before calling function BBP_PROCDOC_GETDETAIL to get database values.
    I compared values on screen verses values in database and then set NEW_SEC_LEVEL = 2 if retrigger is necessary. Everything works fine except this BADI is triggered twice, once before save and once after save. Second call is made after screen values are committed to the database. So this make my screen value and database value the same when the BADI is triggered for a second time. So approval is never retrigger since there is no difference.
    Appreciate any advice or help, thanks.

    Hi,
       I think this  BADI should work for PO also.Pls read the doc again and there you can see the scenario for  PO is also covered wherein the BAdI is called each time the shopping cart screen is opened and whenever a purchase order is ordered and held.
    For more information, also see the SAP Note 502952.
      But this will not work for BIDS/AUCTIONS.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Workflow triggered twice. Triggered using Message Control/Output Types

    I created an output type for VA01. After creating (then saving) SO, workflow is immediately triggered which shouldn't be the case since I have to run program 'rsnast00' to trigger workflow. So workflow is triggered twice during the process. How do i fix this?
    DATA:
    dispatch time = 'send with periodically schreduled job'
    application = 'v1'
    transmission medium = 'events'
    processing 1
      program = 'RSWEMCO1'
      form routine = 'CREATE_EVENT'

    May be the workflow is triggered in such a way that when ever out put type is created then the workflow must be triggered.
    As the purpose of the report stated by the SAP is
    Purpose
    Issues output from all applications with send times 1 and 2.
    May be the output type is created twice but the output of the report is not Duplicated. ( mentioned by SAP ) check the documentation of the report.

  • PR triggering twice

    Dear All,
    Am creating a workflow for Purchase requisition. When the workflow is initiated the first level approving authority is getting 2 work items. When I trigger the event from SAP Menu u2013Tools u2013Business Workflowu2014Developmentu2014Utilitiesu2014Create Event (Business object-BUS2105, Event- RELEASESTEPCREATED ) then it is generating only one work item, but when I try through transactions ME51 and ME51N it is triggering twice. If you can share your knowledge about this issue it will be grateful for me.
    Regards,
    Surya

    Hello Athadu,
    line-item approval is done with business object type BUS2009. So BUS2105 is triggered on header level and -- usually -- only once after creating, and then after each release code has been set.
    I know of two possibilities, why you have two events coming up:
    - Check transaction SWEC for an entry BANF BO BUS2105 (on create) with event = RELEASESTEPCREATED and delete this entry.
    - You have more than one release code available and open at the same time. Check in the started workflow the container element "ReleaseCode".  To avoid or configure this, use the customizing "prerequesites" in the section of the release strategy.
    Best regards,
    Florin
    Edited by: Florin Wach on Jun 25, 2008 3:49 PM

  • Worflow triggering twice

    Hi guys,
    my workflow is triggering twice.
    why
    how can i resolve this issue.
    please give me suggestion.
    Thanks
    Sankar

    are these events triggered simultaneously?
    activate event trave and do a step by step change on the master data. This way you can find out if the event is triggering twice.
    Form your post I do gather that the event on FREBUS2012 is caused by some kind of custom programming (badi, or ecit or something like that)
    You can also try to simulate the event (I'm not on SAP at the moment so you have to search for this transaction yourself) if the event has only 1 receiver, you know that the problem isn't to be found in the event linkages.
    Kind regards, Rob Dielemans

  • Item close event is triggering twice for Advanced Data Grid

    HI, I'm using AdvancedDataGrid for my project. My issue is when click on item close, the item close event is triggering twice. Why it is triggering twice? Thank you...

    Hi,
    Would you mind reposting your question over on the Flex forums?  You'll most likely have better luck over there.
    Thanks,
    Chris

  • Prepopluate adapters getting triggered twice

    Hi,
    I have configured an access policy for my DB resource and it works fine. However, I see that the pre-populate adapters run twice. One of the pre populate adapter fetches a unique number from the DB each time it runs and since this adapter gets triggered twice for the same user, the sequence is getting disrupted. Can someone please tell me how do I resolve the issue. I have the auto save checked on the DB resource process definition.
    Thanks,
    Supreetha

    hmm 9.1.0.2 BP14 ... Well found it to be an unpublished bug in 11.1.1.3.3 Bug 10323254: Prepopulation adapters run twice for fields in process forms. ... but yep I have seen it on 9.1.0.2 also and can't recall the solution. May be you can raise an SR ....

  • Same output type getting triggered twice upon saving the document

    Dear SDNers,
    I have a shipment Document.
    Upon saving it the same Output type gets generated twice. ( in a gap of 1 second)
    Clarification needed:
    1. Please guide as to where i need to look for the error as to why same output is getting triggered twice  simultaneously( gap of 1 second).
    2. i have checked in the processing routine associated with it. Is it the right place?
    P.S. I had posted another similar thread. Closed it since i felt it lacked clarity.
    Regards,
    SuryaD.

    Hi,
    Fetch the data from Nast table for that document number
    Check the vstat  . if it is 0 then use the below function module.
    CALL FUNCTION 'RV_MESSAGE_SET_PROCESS_STATE'.
    Then it will update the existing single record for the first time .
    Next time on wards you will get the multiple records for te document in the Nast table.
    For that you need to change the VSTAT status as per the requirement.
    Hope this might solve your problem.
    With Regards,
    Sumodh.P

  • BUS2012 Release Step Event triggered twice

    Hi Guys,
      When a PO is created the BO BUS2012 Release Step event is triggered twice.
    I am using a condition for my workflow based on the release code.
    What could be the problem.Kindly Clarify..
    Rgds,

    Hi,
      Actually I think the problem is with my Start Condition. I have given a start condition(SWB_COND) in my workflow is follows.
    Release code = A1 or Release code = A3.
    When i check the event log two times event is triggered with an exception and with the following information.
    1.Start condition returns 'FALSE' for object [BO,BUS2012,4500000131]
    2<b>.Operator 'EQ': The value of the left operand cannot be determined.</b>
    I think the second one is the problem. Any idea how to avoid it..
    Rgds,

  • JMS subscriber is triggered twice for a single message.

    I have a JMS distributed topic created on a cluster (WLI sp4). When a message is published to the topic, the subscriber (JPD) is triggered twice. Two instances of the same JPD are triggered and they run parallely. I have two managed servers associated with the cluster.
    Can any of you help me know why this is happening? Is this a known issue in sp4?
    Will really appreciate if you help me out of this.
    Edited by elangosv at 12/11/2006 1:07 PM

    No, this is a correct behaviour of WL distributed topics (DT). When you
    publish message into DT it'll be replicated to all physical members of the
    DT. JMS Event Generator (EG) which will trigger the jpd is just an MDB,
    subscribed on DT (on its local physical member). I assume you have two JMS
    servers deployed on each managed node and your EG and JPD are deployed to
    the cluster (on both managed nodes) as well. Thus, and MDB (EG) on each node
    will receive a message replica delivered to the local DT member and will
    start a JPD.
    In order to solve the issue you may use non-distributed topics instead: you
    may specify topics with the same Name and JNDIName on both your JMS servers
    but its JNDI anme must be not replicated through the cluster:
    JNDINameReplicated="false". Your JMS servers must also not use migratable
    targets in this case.
    Another possible solution (that I use for some reason): to add into the
    message a JMS property identifying the source of the message, i.e. the
    server (managed node) name. EG on each node has a JMS selector which
    specifies that it'll filter out messages produced on other members of the
    DT. (jms_Source = '<your node name here>').
    HTH, Denis.
    <Elango SV> wrote in message news:[email protected]..
    I have a JMS distributed topic created on a cluster (WLI sp4). When a
    message is published to the topic, the subscriber (JPD) is triggered twice.
    Two instances of the same JPD are triggered and they run parallely. I have
    two managed servers associated with the cluster.
    Can any of you help me know why this is happening? Is this a known issue in
    sp4?
    Will really appreciate if you help me out of this.
    Edited by elangosv at 12/11/2006 1:07 PM

  • Subscription is triggered twice, why???

    I have a subscription called "move to nearline storage" which is triggered by asset metadata being "modified" to a custom status I've created called "move to nearline". The subscription runs 3 responses. First it changes the asset status to "processing...". Then it performs a copy response. Then if the copy is successful it deletes the original.
    It works, but here is my problem. Occasionally (maybe 25% of the time) when I change an assets status to "move to nearline", the subscription is triggered twice and 2 copies of the asset & file are created on our nearline storage.
    Any ideas why???
    This is 10.5.5 Server running on a Mac pro 2x 3ghz quad core with 8gb ram.

    This is actually happening with ALL my subscriptions and not just the move one I mentioned above. I have another subscription that ran about 10 times in a row today.
    The subscription runs when an asset is modified or created & has a specific status. Then has a series of responses. What I did with the very first response was to change the status to something else so I don't get caught in a loop. Then I have a copy response which transcodes the video and an email response. This afternoon I had to disable this subscription b/c I literally got about 10 emails in a row from this subscription. We only set the status once.
    * One thing I did notice after getting several emails is that I went to look at the asset and the very first step which changes the status had not occured yet, but our copy & email response had happened several times. The server had a pretty heavy workload on it at the time. Any ideas???
    Here's some screen shots of what the subscription looks like in the admin.
    http://static.newsok.biz/images/screenshot1.png
    http://static.newsok.biz/images/screenshot2.png

Maybe you are looking for

  • How can I create a wireless conection?

    My Sattellite pro A10 is supposed to come wireless enabled. Up till now I haven't used it, but am trying to connect to wireless internet. Windows help and user manuals point me to network conections and to click on wireless connections and search for

  • I need some major help fast please

    I am not sure if anyone will help me here but this is important to me. I paly game alot @ games.com this is a java ran site. there are some people there that out of pure evil will whisper to someone and delete there screen name. there is a java code

  • ITunes completely failing to open

    When clicking on the iTunes icon to simply open it as normal is says ~ ''Please wait while windows confugures iTunes'' then '' Error writing file: C:\Program Files\iTunes\iTunes.Resources\de.lproj\Apple TV Help.chms '' and everytime i click retry it

  • Oracle Content Management for spatial data

    Hi, Is it possible to use Oracle universal content management sofware for managing GIS files/spatial data. Can we integrate Oracle Universal content management or anyother tool to manage spatial files. I am looking for standard content management fea

  • Missing Tools in Developer Suite 9i

    I have been using Forms 6i and Reports 6i. I have also installed Developer Suite 9i and found that the following tools are missing? Schema Builder - Is it replaced by Designer's Server Model Diagrammer? Graophic Builder Procedure Builder Translation