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