<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR>
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 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:purple;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=173271311-29112005><FONT color=#000080>Why not just&nbsp;force 
the status of the WF into ERROR (WORKITEM.SetStatus) and then go to SWPR and 
restart them?</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=ltr align=left><STRONG>Alon Raskin</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>e: </STRONG><A 
href="mailto:araskin@3i-consulting.com"><STRONG>araskin@3i-consulting.com</STRONG></A></DIV>
<DIV dir=ltr align=left><STRONG>p: +1 207 409 4983 (please note new 
number)</STRONG></DIV>
<DIV dir=ltr align=left><STRONG>f:&nbsp; +61 3 8610 1239 </STRONG></DIV>
<DIV dir=ltr align=left><STRONG>w: </STRONG><A 
href="http://www.3i-consulting.com/"><STRONG>http://www.3i-consulting.com</STRONG></A></DIV>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Gregory 
Utley<BR><B>Sent:</B> Monday, November 28, 2005 5:51 PM<BR><B>To:</B> SAP 
Workflow Users' Group<BR><B>Subject:</B> Workflow Restart after System 
Problem<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">All,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Over the weekend, we experienced 
tablespace errors during which several workflows stopped running. &nbsp;These 
workflows are not in error status &#8211; they simply stopped with the last executed 
step in COMPLETED status without triggering a subsequent step.&nbsp; All lights 
are green &#8211; no messages.&nbsp; The tablespace problems were resolved; workflows 
in process before and after the problem occurred are running normally or have 
completed successfully.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I&#8217;ve done as complete a search of 
the WUG archives as I can and have unearthed one message that seems to precisely 
mimic the problem described above (although it was posted a few years 
back).&nbsp; After several responses from different participants, Jocelyn 
finally recommended contacting OSS, so I&#8217;m not optimistic that there is a quick 
solution to this one.&nbsp; But again, the message is dated, and we&#8217;re now 
running the current version of SRM in the portal.&nbsp; There may now be more 
options.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I&#8217;ve tested all SAP_WAPI funmods 
that look appropriate (workitem execute, resume, restart, etc.) but none will 
restart the workflows. &nbsp;The common complaint from the programs is that the 
last step that executed is COMPLETED and not in ERROR status. &nbsp;I&#8217;ve also 
tried transactions SWIA and SWPC to no avail.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Back in the old days, we could 
execute SWP_WORKITEM_CALLBACK_REPEAT, reset the callback flag, and the workflow 
would restart.&nbsp; I have a note that </SPAN></FONT><FONT face=Arial 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">SAP_WAPI_ADM_WORKFLOW_RESUME 
replaces </SPAN></FONT><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">SWP_WORKITEM_CALLBACK_REPEAT in SRM, 
but it doesn&#8217;t appear to be as flexible in terms of resetting completion status 
or in which step to affect the restart.&nbsp; (Bear in mind that I need a 
step-restart.&nbsp; If I do a workflow restart, I lose all interim 
approvals.)</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">It&#8217;s a dilemma.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><STRONG><B><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Greg 
Utley</SPAN></FONT></B></STRONG></P>
<P class=MsoNormal><STRONG><B><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">C</SPAN></FONT></B></STRONG><STRONG><B><FONT 
face=Arial color=red size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">i</SPAN></FONT></B></STRONG><STRONG><B><FONT 
face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">TR</SPAN></FONT></B></STRONG><STRONG><B><FONT 
face="Trebuchet MS" color=red size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Trebuchet MS'">!</SPAN></FONT></B></STRONG><STRONG><B><FONT 
face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">X Systems, 
Inc.</SPAN></FONT></B></STRONG></P>
<P class=MsoNormal><STRONG><B><FONT face=Arial color=navy size=1><SPAN 
style="FONT-SIZE: 8pt; COLOR: navy; FONT-FAMILY: Arial">SAP Development 
Team</SPAN></FONT></B></STRONG></P>
<P class=MsoNormal><FONT face=Tahoma color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Tahoma"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV></BODY></HTML>