<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It&#8217;s a custom workflow which I put
together for this test. It&#8217;s a simple decision task followed up by a
simple dialog step (which does not popup any screens). What I want to achieve
is to complete the task programmatically and then have the subsequent step
executed under the agent&#8217;s user ID. This is what happens when I execute
the decision task from the Inbox and I am trying to get the WAPI&#8217;s to
play nice too. I have logged an OSS.<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>

<div>

<p class=MsoNormal><st1:PersonName w:st="on"><strong><b><font size=3
 color=navy face=Calibri><span style='font-size:12.0pt;font-family:Calibri;
 color:navy'>Alon Raskin</span></font></b></strong></st1:PersonName><b><font
color=navy><span style='color:navy;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><strong><b><font size=3 color=navy face=Calibri><span
style='font-size:12.0pt;font-family:Calibri;color:navy'>e:</span></font></b></strong><strong><b><font
color=navy face=Calibri><span style='font-family:Calibri;color:navy;font-weight:
normal'> </span></font></b></strong><b><font color=navy><span style='color:
navy;font-weight:bold'><a href="mailto:araskin@3i-consulting.com"
title="blocked::mailto:araskin@3i-consulting.com"><font face=Calibri><span
style='font-family:Calibri'><span
title="blocked::mailto:araskin@3i-consulting.com">araskin@3i-consulting.com</span></span></font></a><o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>p: +1 207 523 3489<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>c: +1 207 409 4983<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>f:&nbsp; +1 806 403-4983<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>&nbsp;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>The easiest way to
integrate SAP with any mobile device<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'><a
href="http://www.themobileworkplace.com/"
title="blocked::http://www.themobileworkplace.com/&#10;http://www.themobileworkplace.com/"><font
size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'><span
title="blocked::http://www.themobileworkplace.com/">http://www.themobileworkplace.com</span></span></font></a></span></font><o:p></o:p></b></p>

</div>

<div>

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

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

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

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span 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'>On Behalf Of </span></b>Richard V Marut<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, October 09, 2007
10:36 PM<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: WAPI
SAP_WAPI_WORKITEM_COMPLETE</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Alon,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>What exactly is the
step that you are using to complete work item doing? I recall having the same
problem when the step had some functionality involved with it. My process used
a web front-end by user to process the work items. I ended up making&nbsp; the
work item a dummy step just to be able to assign the item to a user and to
provide the ability to reserve, replace, cancel and complete the work item
under that user id. I no longer received that error once I did that.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Richard&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span 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'>On Behalf Of
</span></b><st1:PersonName w:st="on">Alon Raskin</st1:PersonName><br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, October 09, 2007
6:43 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: WAPI
SAP_WAPI_WORKITEM_COMPLETE<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</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'>Thanks <st1:place w:st="on">Ravi</st1:place>,<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 style='font-size:
10.0pt;font-family:Arial;color:navy'>I am not sure your analysis is right. The
Workflow works fine if you execute the work item from the inbox. It only errors
if you call the WAPI SAP_WAPI_WORKITEM_COMPLETE&nbsp;&nbsp; with the
do_callback_in_background = space.<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 style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<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>

<div>

<p class=MsoNormal><st1:PersonName w:st="on"><strong><b><font size=3
 color=navy face=Calibri><span style='font-size:12.0pt;font-family:Calibri;
 color:navy'>Alon Raskin</span></font></b></strong></st1:PersonName><b><font
color=navy><span style='color:navy;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><strong><b><font size=3 color=navy face=Calibri><span
style='font-size:12.0pt;font-family:Calibri;color:navy'>e:</span></font></b></strong><strong><b><font
color=navy face=Calibri><span style='font-family:Calibri;color:navy;font-weight:
normal'> </span></font></b></strong><b><font color=navy><span style='color:
navy;font-weight:bold'><a href="mailto:araskin@3i-consulting.com"
title="blocked::mailto:araskin@3i-consulting.com"><font face=Calibri><span
style='font-family:Calibri'>araskin@3i-consulting.com</span></font></a><o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>p: +1 207 523 3489<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>c: +1 207 409 4983<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>f:&nbsp; +1 806 403-4983<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>&nbsp;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'>The easiest way to
integrate SAP with any mobile device<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy;font-weight:bold'><a
href="http://www.themobileworkplace.com/"
title="blocked::http://www.themobileworkplace.com/&#10;http://www.themobileworkplace.com/"><font
size=2 face=Calibri><span style='font-size:11.0pt;font-family:Calibri'>http://www.themobileworkplace.com</span></font></a></span></font><o:p></o:p></b></p>

</div>

<div>

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

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

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

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span 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'>On Behalf Of </span></b>Ravi Dixit<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, October 09, 2007
7:36 PM<br>
<b><span style='font-weight:bold'>To:</span></b> sap-wug@mit.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: WAPI
SAP_WAPI_WORKITEM_COMPLETE</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>HI Alon<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
Most likely it seems to be a problem with the definition of the next step.
Check the outcome of the current step and mandatory parameters for the next.
Also, you can user Error Analysis (Ctrl+F11)&nbsp;to dig further. <br>
<br>
Cheers<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><st1:place w:st="on"><font size=3 face="Times New Roman"><span
 style='font-size:12.0pt'>Ravi</span></font></st1:place><o:p></o:p></p>

</div>

<div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
Message: 4<br>
Date: Tue, 9 Oct 2007 09:54:14 -0400<br>
From: &quot;<st1:PersonName w:st="on">Alon Raskin</st1:PersonName>&quot; &lt;<a
href="mailto:araskin@3i-consulting.com"> araskin@3i-consulting.com</a>&gt;<br>
Subject: WAPI SAP_WAPI_WORKITEM_COMPLETE<br>
To: &quot;<st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName>&quot;
&lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a
href="mailto:CEF21C1C5BF2FA42A42CEC87B91BBCDE02764316@ms07.mse2.exchange.ms">
CEF21C1C5BF2FA42A42CEC87B91BBCDE02764316@ms07.mse2.exchange.ms</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
I am just wondering if anyone has seen this issue before:<br>
<br>
I am calling Function Module&nbsp;&nbsp; to complete a work item. The FM has a
parameter&nbsp;&nbsp;do_callback_in_background . I am setting this to SPACE
because I want the subsequent work item to be executed under the same User ID.
However when I do this the workflow errors with the following error Error when
defining successor for node 0000000004 <br>
<br>
Does do anyone know a way around this issue or whether this is a likely
candidate for an OSS message?<br>
<br>
<st1:PersonName w:st="on">Alon Raskin</st1:PersonName><br>
e: <a href="mailto:araskin@3i-consulting.com">araskin@3i-consulting.com</a>
&lt;mailto:<a href="mailto:araskin@3i-consulting.com">
araskin@3i-consulting.com</a>&gt;<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/ms-tnef<br>
Size: 4248 bytes<br>
Desc: not available<br>
Url : <a
href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20071009/ca5ae318/attachment.bin">http://mailman.mit.edu/pipermail/sap-wug/attachments/20071009/ca5ae318/attachment.bin</a><br>
<br>
------------------------------ <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">http://mailman.mit.edu/mailman/listinfo/sap-wug
</a><br>
<br>
<br>
End of SAP-WUG Digest, Vol 35, Issue 16<br>
***************************************<o:p></o:p></span></font></p>

</blockquote>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Regards<br>
<st1:place w:st="on">Ravi</st1:place> Dixit <o:p></o:p></span></font></p>

</div>

</body>

</html>