Hi Florin.<br>I tried to simply my issue by involving single workflow task.<br><br>Instead of delete, I created new event "DECLINED" and still part of my custom object type. I created new asynchronous method and attached to my new single dialog asynchronous task.<br>
My asynchronous single task has business object type and event in terminating events tab with binding &_EVT_OBJECT& --> &_WI_OBJECT_ID&<br>And this time I didn't touch SWEINST.<br><br>For your information, creation of objects (DEV140) and test is in different client (DEV150)<br>
<br>SWUE executed with object key and new event "DECLINED" and event trace says "No receiver entered"<br><br>I read correspondence between Paul Baker & Jocelyn D which was similar issue with me but the solution doesn't work for my case<br>
<br><br><div class="gmail_quote">On Tue, Jun 10, 2008 at 4:37 PM, Florin Wach <<a href="mailto:florin.wach@gmx.net">florin.wach@gmx.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would first delete the entry (with all dependend entries) of the instance linkage BUS.ACCEPTED using transaction SWEINST.<br>
Then create a new workflow instance. The instance linkage should come all by itself with activated linkage. By the way: The receiver function is SWW_WI_COMP_EVENT_RECEIVE and not SWW_WI_CREATE_VIA_EVENT.<br>
To analyze the error, please check transaction SM58 tRFC queue, as well.<br>
Also check for short dumps, transaction ST22<br>
<br>
<br>
-------- Original-Nachricht --------<br>
> Datum: Tue, 10 Jun 2008 16:30:12 +0800<br>
<div><div></div><div class="Wj3C7c">> Von: Sandy <<a href="mailto:maorriyan.santoso@gmail.com">maorriyan.santoso@gmail.com</a>><br>
> An: "SAP Workflow Users\' Group" <<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>><br>
> Betreff: Re: Terminating Events Generate Feedback After Error<br>
<br>
> Well..it seems the simplest one become bottle neck.<br>
><br>
> I believe if the event hasn't been released it won't appear in the event<br>
> trace.<br>
><br>
> I try to re-design my workflow.<br>
> I removed any thing from "Terminating events" tab.<br>
> I use Fork step with 2 branches (necessary branches = 2) where one of them<br>
> is wait step.<br>
> Inside my wait step contains my business object type as my container<br>
> element<br>
> and "ACCEPTED" in Event section.<br>
><br>
> I test this from SWUE by populating appropriate object key for event<br>
> "ACCEPTED".<br>
> Instance linkage has my business object type and event "ACCEPTED" with<br>
> receiver type WORKITEM and active linkage.<br>
> I believe nothing wrong in this section...<br>
><br>
> After execution of SWUE still column Handler/Action in event trace<br>
> contains<br>
> SWW_WI_CREATE_VIA_EVENT_IBF, Event put in queue and error "Feedback<br>
> after<br>
> error"<br>
><br>
> Any clue?<br>
><br>
><br>
><br>
> On Tue, Jun 10, 2008 at 3:28 PM, Florin Wach <<a href="mailto:florin.wach@gmx.net">florin.wach@gmx.net</a>> wrote:<br>
><br>
> > No clue.<br>
> ><br>
> > I would suggest to re-create the task. Also check in the business<br>
> object,<br>
> > if your event is marked as "implemented or released"<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > -------- Original-Nachricht --------<br>
> > > Datum: Tue, 10 Jun 2008 10:53:50 +0800<br>
> > > Von: Sandy <<a href="mailto:maorriyan.santoso@gmail.com">maorriyan.santoso@gmail.com</a>><br>
> > > An: "SAP Workflow Users\' Group" <<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>><br>
> > > Betreff: Re: Terminating Events Generate Feedback After Error<br>
> ><br>
> > > Hi Florin & Rick.<br>
> > ><br>
> > > Yes the binding on the task level (terminating tab) is there.<br>
> > > Element _WI_OBJECT_ID and event "ACCEPTED"<br>
> > ><br>
> > > Binding details as per standards, &_EVT_CREATOR& --> &INITIATOR and<br>
> > > &_EVT_OBJECT& --> &_WI_OBJECT_ID&<br>
> > ><br>
> > > Linkage will not change on error feedback. So the event linkage always<br>
> > > active.<br>
> > ><br>
> > > Any other clues?<br>
> > ><br>
> > > Thanks<br>
> > ><br>
> > > On Mon, Jun 9, 2008 at 9:59 PM, Sample, Rick <<a href="mailto:Rick.Sample@graybar.com">Rick.Sample@graybar.com</a>><br>
> > > wrote:<br>
> > ><br>
> > > > Check the binding details. What are the settings? Linkage still show<br>
> > > > activated? "Behavior upon feedback..."?<br>
> > > ><br>
> > > ><br>
> > > > Rick Sample<br>
> > > > SAP Business Workflow Developer<br>
> > > > Graybar, Inc.<br>
> > > > 11885 Lackland Dr.<br>
> > > ><br>
> > > ><br>
> > > > -----Original Message-----<br>
> > > > From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On<br>
> > Behalf<br>
> > > > Of Florin Wach<br>
> > > > Sent: Monday, June 09, 2008 6:45 AM<br>
> > > > To: SAP Workflow Users' Group<br>
> > > > Subject: Re: Terminating Events Generate Feedback After Error<br>
> > > ><br>
> > > > Hello Sandy,<br>
> > > ><br>
> > > > in the task-definition (the one with the TS) there's a tab<br>
> "Terminating<br>
> > > > events". Please check that there's an entry there for _WI_OBJECT_ID<br>
> and<br>
> > > > event ACCEPTED. Any missing instance-linkages will be generated by<br>
> the<br>
> > > > system upon task instantiation.<br>
> > > ><br>
> > > > Best wishes,<br>
> > > > Florin<br>
> > > ><br>
> > > > -------- Original-Nachricht --------<br>
> > > > > Datum: Mon, 9 Jun 2008 17:58:01 +0800<br>
> > > > > Von: Sandy <<a href="mailto:maorriyan.santoso@gmail.com">maorriyan.santoso@gmail.com</a>><br>
> > > > > An: "SAP Workflow - MIT" <<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>><br>
> > > > > Betreff: Terminating Events Generate Feedback After Error<br>
> > > ><br>
> > > > > Hi All.<br>
> > > > > My custom workflow has asynchronous task where the terminating<br>
> events<br>
> > > > > trigger from ABAP program and passed some data.<br>
> > > > > This task will completed upon custom event "ACCEPTED" raised in<br>
> the<br>
> > > > system<br>
> > > > > based on certain keyfield and continue next steps.<br>
> > > > > Terminating events tab contains element _WI_OBJECT_ID and my<br>
> custom<br>
> > > > event<br>
> > > > > "ACCEPTED".<br>
> > > > ><br>
> > > > > I though this is the only step that I need to do and of course<br>
> wait<br>
> > > > step.<br>
> > > > ><br>
> > > > > However when I test this terminating event via SWUE with proper<br>
> > object<br>
> > > > > key,<br>
> > > > > event trace transaction reported event *"ACCEPTED" for task<br>
> > TS95000052<br>
> > > > not<br>
> > > > > defined as start/end event*.<br>
> > > > ><br>
> > > > > I check in instance linkage transaction, linkage is activated for<br>
> my<br>
> > > > > object<br>
> > > > > type, "ACCEPTED" and receiver type "WORK ITEM".<br>
> > > > > Event type linkages between event and my asynchronous task also<br>
> > > > active.<br>
> > > > ><br>
> > > > > Will someone give me a clue, what should I do to resolve this<br>
> issue?<br>
> > > > ><br>
> > > > > Many Thanks<br>
> > > > _______________________________________________<br>
> > > > SAP-WUG mailing list<br>
> > > > <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
> > > > <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > SAP-WUG mailing list<br>
> > > > <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
> > > > <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
> > > ><br>
> > _______________________________________________<br>
> > SAP-WUG mailing list<br>
> > <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
> > <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
> ><br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
</div></div></blockquote></div><br>