<HTML><BODY>
<div><SPAN contentEditable=false style="DISPLAY: inline-block"></SPAN><SPAN class=correction id="">Markus</SPAN>,</div>
<div> </div>
<div>You can use the following <SPAN class=correction id="">FMs</SPAN></div>
<div> </div>
<div>SAP_WAPI_DECISION_READ - Table of Decision Keys and texts are returned<br>
</div>
<div>SAP_WAPI_DECISION_COMPLETE - Supply the required decision key.<br>
</div>
<div> </div>
<div> </div>
<div style="CLEAR: both">Best Regards,<br>
<SPAN class=correction id="">Ramki</SPAN> <SPAN class=correction id="">Maley</SPAN>.</div>
<div> </div>
<br>
-----Original Message-----<br>
From: Klein@abs-team.de<br>
To: sap-wug@mit.edu<br>
Sent: Wed, 21 Feb 2007 12:34 PM<br>
Subject: <SPAN class=correction id="">Workflow</SPAN> Error, when setting a User Decision task in status completed<br>
<br>
<STYLE>
.AOLPlainTextBody {
margin: 0px;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 12px;
color: #000;
background-color: #fff;
}
.AOLPlainTextBody pre {
font-size: 9pt;
}
.AOLInlineAttachment {
margin: 10px;
}
.AOLAttachmentHeader {
font: 11px arial;
border: 1px solid #7DA8D4;
background: #F9F9F9;
}
.AOLAttachmentHeader .Title {
font: 11px arial;
background: #B5DDFA;
padding: 3px 3px 3px 3px;
}
.AOLAttachmentHeader .FieldLabel {
font: 11px arial;
color: #000000;
padding: 1px 10px 1px 9px;
background: #F9F9F9;
}
.AOLAttachmentHeader .FieldValue {
font: 11px arial;
color: #000000;
background: #F9F9F9;
}
.AOLAttachmentHeader a, .AOLImage a {
color: #2864B4;
text-decoration: none;
}
.AOLAttachmentHeader a:hover, .AOLImage a:hover {
color: #2864B4;
text-decoration: underline;
}
.AOLWebSuiteCompose .AOLPicturesFullSizeLink,
.AOLWebSuite .AOLPicturesFullSizeLink {
height: 1px;
width: 1px;
overflow: hidden;
}
body {
background-color: white;
font-family: "Verdana";
font-size: 10pt;
border: 0px;
}
.AOLWebSuiteCompose p {
margin: 0px;
padding: 0px;
}
img.managedImg {
width: 0px;
height: 0px;
}
img.placeholder {
width: 275px;
height: 206px;
background: #F4F4F4 center center no-repeat;
border: 1px solid #DADAD6 !important;
}
</STYLE>
<div id=AOLMsgPart_3_4a217847-cc9f-4666-a0f1-bdd2ee7ca2e1>
<div><FONT face=Arial size=2><SPAN class=860302517-21022007>Hello,</SPAN></FONT></div>
<div><FONT face=Arial size=2><SPAN class=860302517-21022007></SPAN></FONT> </div>
<div><FONT face=Arial size=2><SPAN class=860302517-21022007>in my <SPAN class=correction id="">workflow</SPAN> i have a User Decision task with 2 exists. When i try to set the status of a <SPAN class=correction id="">workitem</SPAN> of this task to completed using the Function Module "SAP_WAPI_WORKITEM_COMPLETE" the <SPAN class=correction id="">workitem</SPAN> itself gets the status completed, but the parent workflow gets the status error with the following message "Error when defining a successor for node <node>" in the protocol.</SPAN></FONT></div>
<div><FONT face=Arial size=2><SPAN class=860302517-21022007>Its clear why this happens, as the <SPAN class=correction id="">workflow-runtime</SPAN> <SPAN class=correction id="">doesnt</SPAN> know how to continue when the <SPAN class=correction id="">workitem</SPAN> is completed this way. The question is <SPAN class=correction id="">tho</SPAN>, how can i overcome this error? There has to be a way, where i can manually set a user decision task to <SPAN class=correction id="">completeted</SPAN> and the parent <SPAN class=correction id="">workflow</SPAN> just continues.</SPAN></FONT></div>
<div><FONT face=Arial size=2><SPAN class=860302517-21022007></SPAN></FONT> </div>
<div><FONT face=Arial size=2><SPAN class=860302517-21022007>cheers,</SPAN></FONT></div>
<div><FONT face=Arial size=2><SPAN class=860302517-21022007><SPAN class=correction id="">Markus</SPAN></SPAN></FONT></div>
<div> </div>
<div class=Section1>
<div style="tab-stops: 36.0pt" align=left><FONT color=#808080><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">_________________<br>
<br>
</SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><SPAN class=correction id="">Markus</SPAN> Klein</SPAN></B></FONT><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><br>
<FONT color=#808080><EM>SAP Senior Consultant</EM><br>
<br>
</FONT></SPAN><STRONG><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><FONT color=#808080><SPAN class=correction id="">ABS</SPAN> Team <SPAN class=correction id="">GmbH</SPAN></FONT></SPAN></STRONG><B><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><br>
</SPAN></B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><FONT color=#808080><SPAN class=correction id="">Muehlenweg</SPAN> 65<br>
37120 <SPAN class=correction id="">Bovenden</SPAN></FONT></SPAN></div>
<div><SPAN lang=EN-GB style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB"><FONT color=#808080>Tel +49 551 820 33 0<br>
Mobil +49 151 126 23 047<br>
Email <A href='javascript:parent.ComposeTo("klein%40abs-team.de", "");'>klein@abs-team.de</A></FONT></SPAN></div>
<div><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><SPAN style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none"><FONT color=#808080><A href="http://www.abs-team.de/" target=_blank><SPAN class=correction id="">www</SPAN>.abs-team.de</A></FONT></SPAN></SPAN></B></div>
<div style="tab-stops: 36.0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"><FONT color=#808080 size=1>Geschäftsführer: Dr. <SPAN class=correction id="">Andreas</SPAN> <SPAN class=correction id="">Rupprecht</SPAN> - <SPAN class=correction id="">HRB</SPAN> Göttingen 1535</FONT></SPAN></SPAN></div>
</div>
<div> </div>
</div>
<!-- end of AOLMsgPart_3_4a217847-cc9f-4666-a0f1-bdd2ee7ca2e1 -->
<div class=AOLPlainTextBody id=AOLMsgPart_4_4a217847-cc9f-4666-a0f1-bdd2ee7ca2e1><PRE><TT>_______________________________________________
SAP-WUG mailing list
<A href='javascript:parent.ComposeTo("SAP-WUG%40mit.edu", "");'>SAP-WUG@mit.edu</A>
<A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A>
</TT></PRE></div>
<!-- end of AOLMsgPart_4_4a217847-cc9f-4666-a0f1-bdd2ee7ca2e1 -->
<div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
<a href="http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redir=http%3A%2F%2Fwww%2Eaol%2Ecom%2Fnewaol" target="_blank"><b>Check out the new AOL</b></a>. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more.<br />
</div>
</BODY></HTML>