<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">
<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="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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;}
span.emailstyle19
        {font-family:Arial;
        color:navy;}
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>
</head>
<body lang=EN-US 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'>We had a somewhat similar problem when
WF-BATCH was accidentally deleted in our SRM system. All carts could not
continue the workflow process. We actually ran SWU2 for that specific date and
executed the LUWs. Don’t know if this will help your situation.<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> </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'>Monique Stephens<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> </o:p></span></font></p>
<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>Gregory Utley<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, December 07, 2005
1:53 PM<br>
<b><span style='font-weight:bold'>To:</span></b> SAP Workflow Users' Group<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Workflow Restart
after System Problem</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> </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'>Sorry for the response delay.
I’ve been out of the office.</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks Alon, but that won’t work.
I can force the workflow into ERROR status, but I can’t change the
status of the last step that executed because it has already completed.
The SWPR restart results in a runtime error while trying to find the individual
workitem in ERROR status; there is none. Again, in earlier versions,
modification of the callback flag would allow a restart in a step that has
already completed. Anyone know how to do it in SRM 4.0?</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<p class=MsoNormal><strong><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Greg Utley</span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal><strong><b><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>C</span></font></b></strong><strong><b><font
size=2 color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red'>i</span></font></b></strong><strong><b><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>TR</span></font></b></strong><strong><b><font
size=2 color=red face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:red'>!</span></font></b></strong><strong><b><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>X Systems, Inc.</span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal><strong><b><font size=1 color=navy face=Arial><span
style='font-size:8.0pt;font-family:Arial;color:navy'>SAP Development Team</span></font></b></strong><o:p></o:p></p>
</div>
<div>
<div style='margin-left:.5in'>
<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>
</div>
<p class=MsoNormal style='margin-left:.5in'><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>Alon Raskin<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 29, 2005
6:16 AM<br>
<b><span style='font-weight:bold'>To:</span></b> 'SAP Workflow Users' Group'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Workflow Restart
after System Problem</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>Why not
just force the status of the WF into ERROR (WORKITEM.SetStatus) and then
go to SWPR and restart them?</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Alon Raskin</span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>e: </span></font></b></strong><a
href="mailto:araskin@3i-consulting.com"><strong><b><font face="Times New Roman">araskin@3i-consulting.com</font></b></strong></a><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>p: +1 207 409 4983 (please
note new number)</span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>f: +61 3 8610 1239 </span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>w: </span></font></b></strong><a
href="http://www.3i-consulting.com/"><strong><b><font face="Times New Roman">http://www.3i-consulting.com</font></b></strong></a><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div style='margin-left:.5in'>
<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>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'><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>Gregory Utley<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, November 28, 2005
5:51 PM<br>
<b><span style='font-weight:bold'>To:</span></b> SAP Workflow Users' Group<br>
<b><span style='font-weight:bold'>Subject:</span></b> Workflow Restart after
System Problem</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>All,</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Over the weekend, we experienced
tablespace errors during which several workflows stopped running. These
workflows are not in error status – they simply stopped with the last
executed step in COMPLETED status without triggering a subsequent step.
All lights are green – no messages. The tablespace problems were
resolved; workflows in process before and after the problem occurred are
running normally or have completed successfully.</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I’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). After several responses from different participants, Jocelyn
finally recommended contacting <st1:City w:st="on"><st1:place w:st="on">OSS</st1:place></st1:City>,
so I’m not optimistic that there is a quick solution to this one.
But again, the message is dated, and we’re now running the current
version of SRM in the portal. There may now be more options.</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I’ve tested all SAP_WAPI
funmods that look appropriate (workitem execute, resume, restart, etc.) but
none will restart the workflows. The common complaint from the programs
is that the last step that executed is COMPLETED and not in ERROR status.
I’ve also tried transactions SWIA and SWPC to no avail.</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Back in the old days, we could
execute SWP_WORKITEM_CALLBACK_REPEAT, reset the callback flag, and the workflow
would restart. I have a note that SAP_WAPI_ADM_WORKFLOW_RESUME replaces SWP_WORKITEM_CALLBACK_REPEAT
in SRM, but it doesn’t appear to be as flexible in terms of resetting
completion status or in which step to affect the restart. (Bear in mind
that I need a step-restart. If I do a workflow restart, I lose all
interim approvals.)</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>It’s a dilemma.</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Greg
Utley</span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>C</span></font></b></strong><strong><b><font
size=2 color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red'>i</span></font></b></strong><strong><b><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>TR</span></font></b></strong><strong><b><font
size=2 color=red face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:red'>!</span></font></b></strong><strong><b><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>X Systems, Inc.</span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=1 color=navy
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:navy'>SAP
Development Team</span></font></b></strong><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</body>
</html>