<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="http://schemas.microsoft.com/sharepoint/soap/workflow/"
xmlns:ns1="http://schemas.microsoft.com/office/2006/digsig-setup"
xmlns:ns2="http://schemas.microsoft.com/office/2006/digsig"
xmlns:ns3="http://schemas.openxmlformats.org/package/2006/digital-signature"
xmlns:ns4="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ns5="http://schemas.microsoft.com/office/2004/12/omml"
xmlns:ns6="http://schemas.openxmlformats.org/package/2006/relationships"
xmlns:ns7="http://microsoft.com/sharepoint/webpartpages"
xmlns:ns8="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:ns9="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:ns10="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/"
xmlns:ns11="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService"
xmlns:ns12="urn:schemas-microsoft-com:">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.E-MailFormatvorlage17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE-CH link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi David,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>many months ago I dealed
with the same problem. I could discuss it with SAP  Development directly and
they told me that they have created a &#8220;hierarchy&#8221;:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>If commitment is
requested, it has highest priority and the task can not be ended by a receiving
event. In words of the development it is not a bug it is a planned feature.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>For my implementations I
have included &#8220;by-pass&#8221;-forks where an event-receiver-item is
waiting in a parallel fork to end the dialog-item.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Hope it helps.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Greetings<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Heinz<o:p></o:p></span></font></p>

<div>

<p><b><font size=1 color=navy face=Arial><span lang=EN-GB style='font-size:
7.5pt;font-family:Arial;color:navy;font-weight:bold'>_______________________________________<o:p></o:p></span></font></b></p>

<p><b><font size=1 color=navy face=Arial><span lang=EN-GB style='font-size:
8.0pt;font-family:Arial;color:navy;font-weight:bold'>Heinz Schmidinger</span></font></b><font
size=1 color=navy><span lang=EN-GB style='font-size:8.0pt;color:navy'> <br>
</span></font><font size=1 color=navy face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:navy'>Certified Senior
Application Consultant</span></font><font size=1 color=navy><span lang=EN-GB
style='font-size:8.0pt;color:navy'> </span></font><b><font size=1 color=navy
face=Arial><span lang=EN-GB style='font-size:8.0pt;font-family:Arial;
color:navy;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 color=black
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:black'>Oerlikon
Solar AG, Trübbach<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 color=black
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:black'>Hauptstrasse
1a<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 color=black
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:black'>9477
Trübbach<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 color=black
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:black'>Schweiz<o:p></o:p></span></font></p>

<p><font size=1 color=navy face=Arial><span style='font-size:7.5pt;font-family:
Arial;color:navy'>P +41 58 356 8626</span></font><font color=navy><span
style='color:navy'> <br>
</span></font><font size=1 color=navy face=Arial><span style='font-size:7.5pt;
font-family:Arial;color:navy'>F +41 58 356 8826</span></font><font color=navy><span
style='color:navy'> <br>
</span></font><font size=1 color=navy face=Arial><span style='font-size:7.5pt;
font-family:Arial;color:navy'>heinz.schmidinger@oerlikon.com</span></font><font
color=navy><span style='color:navy'> <o:p></o:p></span></font></p>

<p><font size=1 color=navy face=Arial><span lang=EN-US style='font-size:7.5pt;
font-family:Arial;color:navy'><a href="http://www.oerlikon.com/solar">www.oerlikon.com/solar</a></span></font><font
color=navy><span lang=EN-US style='color:navy'> <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 color=black
face=Arial><span lang=EN-GB style='font-size:8.0pt;font-family:Arial;
color:black'>This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient or have received this e-mail
in error, please notify the sender immediately and destroy this e-mail.
Unauthorised copying, disclosure and distribution of the material in this
e-mail are strictly prohibited.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 color=black
face=Arial><span lang=EN-GB style='font-size:8.0pt;font-family:Arial;
color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1 color=black
face=Arial><span lang=DE style='font-size:8.0pt;font-family:Arial;color:black'>Diese
E-Mail enthaelt vertrauliche und/oder geschuetzte Informationen. Wenn Sie nicht
der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht
gestattet.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=1 color=green
face=Arial><span lang=EN-GB style='font-size:8.0pt;font-family:Arial;
color:green;font-weight:bold'>Please consider our environment before printing
this e-mail.<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=1 color=green
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:green;
font-weight:bold'>Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail
ausdrucken.</span></font></b><font size=1 color=navy face=Arial><span
style='font-size:8.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=DE style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=DE style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span lang=DE style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>Im Auftrag von </span></b>David Baitman<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Freitag, 27. Februar
2009 15:41<br>
<b><span style='font-weight:bold'>An:</span></b> sap-wug@mit.edu<br>
<b><span style='font-weight:bold'>Betreff:</span></b> Terminating event changes
status to Executed not Completed</span></font><font size=3
face="Times New Roman"><span lang=DE style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Any ideas are welcome, otherwise I&#8217;ll share what I find.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>ECC 6.0 running HR.&nbsp; Basis release is 7.0 (SAPKB70014).&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>I have a workflow template that triggers a dialog synchronous task.
&nbsp;The task has the &quot;confirm end of processing&quot; option selected.
&nbsp;A terminating event is also configured. &nbsp;However, when the
terminating event occurs, the work item changes to status &quot;Executed&quot;
instead of &quot;Completed.&quot;&nbsp; (The background status is actually
&#8220;Committed&#8221;).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>I have turned on the event trace, and the correct instance linkage
receiver is found.&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>The interesting part is that I run SWUE to manually create the event
and if I choose the &#8220;Trigger receiver FM synchr&#8221; option, the status
correctly changes from Ready to Completed.&nbsp; However, if I leave that
option unchecked the work item changes from Ready to Executed.&nbsp; The same
is true if I execute (via SE37) SAP_WAPI_WORKITEM_COMPLETE...asynchronous
(Ready to Executed), synchronous (Ready to Completed).&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>According to the online <a
href="http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/e4b590453d11d189430000e829fbbd/frameset.htm">help</a>,
the work item should be set to complete regardless of the &#8220;confirm end of
processing&#8221; flag so I can only assume this is a bug...or I&#8217;ve
missed something very obvious.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>It was suggested to me by the same kind soul who told me about this
user group that I try putting the terminating event in a parallel branch in the
flow.&nbsp; If that doesn&#8217;t help, I will create a Z receiver function
that calls SAP_WAPI_WORKITEM_COMPLETE and if the NEW_STATUS is COMMITTED,
I&#8217;ll call it again.&nbsp; Testing has shown this to work.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>In any case, I&#8217;ll let the group know what I find.&nbsp; If you
have any other advice...please let me know.&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Finally...this is my first posting on this user group.&nbsp; If I
didn&#8217;t follow proper etiquette please let me know...I tried to follow the
advice of the wiki.&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>David Baitman<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>