Hi Florin.<br>I pressed generate button in test client.<br>Execute SWUE for both events ACCEPTED and DECLINED unfortunatelly both events doesn't exist in SWEINST with info message "No receiver entered".<br>There is no ST22 and SM58 doesn't contains any record.<br>
SCC1 have auto-transport mechanism from DEV140 -> DEV150<br><br>Does entry in SWEINST really generated automatically? Does this entry created automatically upon execution of SWUE?<br>Does terminating event only rely on SWEINST to be able to work? <br>
Do you know SAP standard workflow/ task that has wait step or terminating event? Perhaps I can have a look on it and do further investigation<br><br>Should this consider as an issue that need to be sent to OSS?<br><br>Florin & Rick, thanks for your help so far<br>
<br><div class="gmail_quote">On Tue, Jun 10, 2008 at 8:36 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;">
Hi Sandy,<br>
<br>
to keep you busy:<br>
Go into the test-client, call SWO1 and press the generate-button there. You could also think of using transaction SWU_OBUF in the test-client, but only as a last resort, as it /may/ corrupt your workflow definition.<br>
<br>
-------- Original-Nachricht --------<br>
> Datum: Tue, 10 Jun 2008 19:41:03 +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>
> 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<br>
> custom object type. I created new asynchronous method and attached to my<br>
> new<br>
> single dialog asynchronous task.<br>
> My asynchronous single task has business object type and event in<br>
> 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<br>
> different<br>
> client (DEV150)<br>
><br>
> SWUE executed with object key and new event "DECLINED" and event trace<br>
> says<br>
> "No receiver entered"<br>
><br>
> I read correspondence between Paul Baker & Jocelyn D which was similar<br>
> issue<br>
> with me but the solution doesn't work for my case<br>
><br>
><br>
> 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>
><br>
> > I would first delete the entry (with all dependend entries) of the<br>
> instance<br>
> > linkage BUS.ACCEPTED using transaction SWEINST.<br>
> > Then create a new workflow instance. The instance linkage should come<br>
> all<br>
> > by itself with activated linkage. By the way: The receiver function is<br>
> > 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>
> > > 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<br>
> 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<br>
> > 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>><br>
> > 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<br>
> and<br>
> > > > > &_EVT_OBJECT& --> &_WI_OBJECT_ID&<br>
> > > > ><br>
> > > > > Linkage will not change on error feedback. So the event linkage<br>
> > always<br>
> > > > > active.<br>
> > > > ><br>
> > > > > Any other clues?<br>
> > > > ><br>
> > > > > Thanks<br>
> > > > ><br>
> > > > > On Mon, Jun 9, 2008 at 9:59 PM, Sample, Rick <<br>
> > <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<br>
> > 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>]<br>
> 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<br>
> _WI_OBJECT_ID<br>
> > > and<br>
> > > > > > event ACCEPTED. Any missing instance-linkages will be generated<br>
> 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<br>
> 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<br>
> 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<br>
> for<br>
> > > my<br>
> > > > > > > object<br>
> > > > > > > type, "ACCEPTED" and receiver type "WORK ITEM".<br>
> > > > > > > Event type linkages between event and my asynchronous task<br>
> 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>
> ><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>