<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: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="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<!--[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;}
p
        {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:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
@font-face
        {font-family:Kendaia;}
 /* 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:#606420;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Times New Roman";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle21
        {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="#606420">

<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 Sue,<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'>Thanks for your response.<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'>That is what I was thinking I would have
to do. &nbsp;I&#8217;ve never used before and after methods before. I was
wondering if I put the ENQUEUE in a Before method to lock the work item, would
the task be able to be executed or would it get a locked work item message?<o:p></o:p></span></font></p>

<div>

<p><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;
color:navy'>Regards,</span></font><font color=navy face=Arial><span
style='font-family:Arial;color:navy'> <o:p></o:p></span></font></p>

<p class=MsoNormal><b><i><font size=5 color=blue face="Monotype Corsiva"><span
style='font-size:18.0pt;font-family:"Monotype Corsiva";color:blue;font-weight:
bold;font-style:italic'>Sue T. Doughty</span></font></i></b><b><i><font size=5
color=blue face=Kendaia><span style='font-size:18.0pt;font-family:Kendaia;
color:blue;font-weight:bold;font-style:italic'> <br>
</span></font></i></b><font size=1 color=navy><span style='font-size:7.5pt;
color:navy'>SAP Workflow Specialist<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=green face="Times New Roman"><span
style='font-size:7.5pt;color:green'>OLD DOMINION FREIGHT LINE, INC.<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:address tabIndex="0"
style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
w:st="on"><st1:Street w:st="on"><font size=1 color=navy face="Times New Roman"><span
  style='font-size:8.0pt;color:navy'>500 Old Dominion Way</span></font></st1:Street><font
 size=1 color=navy><span style='font-size:8.0pt;color:navy'>, <st1:City w:st="on">Thomasville</st1:City>,
 <st1:State w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></span></font></st1:address><font
size=1 color=navy><span style='font-size:8.0pt;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face="Times New Roman"><span
style='font-size:7.5pt;color:navy'>Toll Free :(800)432-6335, ext.5189</span></font><font
size=1 color=navy face=Arial><span style='font-size:8.0pt;font-family:Arial;
color:navy'> <br>
</span></font><font size=1 color=navy><span style='font-size:8.0pt;color:navy'>Phone
:(336)822-5189 Fax :(336)822-5149</span></font><font size=1 color=navy
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:navy'> <br>
</span></font><span class=MsoHyperlink><u><font size=1 color=blue><span
style='font-size:8.0pt'><a href="mailto:sue.doughty@odfl.com">sue.doughty@odfl.com</a></span></font><o:p></o:p></u></span></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>Keohan, Susan<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, October 18, 2007
4:17 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: Invalid execution
GUID. Work item could not be executed</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 face="Times New Roman"><span style='font-size:
11.0pt'>Hi Sue,<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'>I tried to follow the mail trail, but may not have quite gotten all the
details..<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'>Maybe you could write a before and an after custom method and use them
on the Methods tab of your workflow task ? <br>
Otherwise, copy your existing method into a custom one, and add the calls to
ENQUEUE and DEQUEUE around that code ?<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'>Just thinking aloud here&#8230;<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face="Times New Roman"><span style='font-size:
11.0pt'><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>Sue Doughty<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, October 18, 2007
3:28 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: Invalid execution
GUID. Work item could not be executed<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'>Hi <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 was playing around with these again and
was able to get the DEQUEUE_E_WORKITEM to work.<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'>How would I incorporate these into the
workflow?&nbsp; I&#8217;m assuming I would create methods for them, but where
would you execute them? &nbsp;I hope this isn&#8217;t a stupid
question&#8230;.but for the life of me, I can&#8217;t think of how you would do
it.&nbsp; <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><font size=2 color=navy face="Times New Roman"><span style='font-size:10.0pt;
color:navy'>Regards,</span></font><font color=navy face=Arial><span
style='font-family:Arial;color:navy'> <o:p></o:p></span></font></p>

<p class=MsoNormal><b><i><font size=5 color=blue face="Monotype Corsiva"><span
style='font-size:18.0pt;font-family:"Monotype Corsiva";color:blue;font-weight:
bold;font-style:italic'>Sue T. Doughty</span></font></i></b><b><i><font size=5
color=blue face=Kendaia><span style='font-size:18.0pt;font-family:Kendaia;
color:blue;font-weight:bold;font-style:italic'> <br>
</span></font></i></b><font size=1 color=navy><span style='font-size:7.5pt;
color:navy'>SAP Workflow Specialist<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=green face="Times New Roman"><span
style='font-size:7.5pt;color:green'>OLD DOMINION FREIGHT LINE, INC.<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:address w:st="on"><st1:Street w:st="on"><font size=1
  color=navy face="Times New Roman"><span style='font-size:8.0pt;color:navy'>500
  Old Dominion Way</span></font></st1:Street><font size=1 color=navy><span
 style='font-size:8.0pt;color:navy'>, <st1:City w:st="on">Thomasville</st1:City>,
 <st1:State w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></span></font></st1:address><font
size=1 color=navy><span style='font-size:8.0pt;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face="Times New Roman"><span
style='font-size:7.5pt;color:navy'>Toll Free :(800)432-6335, ext.5189</span></font><font
size=1 color=navy face=Arial><span style='font-size:8.0pt;font-family:Arial;
color:navy'> <br>
</span></font><font size=1 color=navy><span style='font-size:8.0pt;color:navy'>Phone
:(336)822-5189 Fax :(336)822-5149</span></font><font size=1 color=navy
face=Arial><span style='font-size:8.0pt;font-family:Arial;color:navy'> <br>
</span></font><span class=MsoHyperlink><u><font size=1 color=blue><span
style='font-size:8.0pt'><a href="mailto:sue.doughty@odfl.com">sue.doughty@odfl.com</a></span></font><o:p></o:p></u></span></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>Sue Doughty<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, October 05, 2007
8:23 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: Invalid execution
GUID. Work item could not be executed</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=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi <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'>Thank you for your response.<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 was playing around with these and could
lock the work item with ENQUEUE_E_WORKITEM, but could not get it unlocked with
DEQUEUE_E_WORKITEM. &nbsp;I ran them with the default parameters and just
entered the work item number.&nbsp; Am I using the wrong parameters? &nbsp;(By
the way, I&#8217;m not an ABAPer. &nbsp;I can only do very simple things in ABAP.)<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'>Another question I have is if someone
executes the work item and then &#8216;X&#8217;s out of the Web page instead of
processing it, the workflow cannot detect that, can it? &nbsp;Then the workflow
will remain locked and no one can execute it again because it is locked.<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'>Thanks so much for your help.<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'>Sue Doughty<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>

<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> Thursday, October 04, 2007
7:43 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: Invalid execution
GUID. Work item could not be executed</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 Sue<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'>&nbsp;<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'>You need to use the ENQUEUE FM&nbsp;to lock&nbsp;and DEQUEUE FM
to&nbsp;unlock for the E_WORKITEM lock object.<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'>&nbsp;<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'>Let use know how you go.<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'>&nbsp;<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'>Regards<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>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>****************************
<br>
CONFIDENTIALITY NOTICE: The information contained in this message may be
confidential, privileged, proprietary, or otherwise legally exempt from
disclosure. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you are not authorized to read, print,
retain, copy or disseminate this message, any part of it, or any attachments.
If you have received this message in error, please delete this message and any
attachments from your system without reading the content and notify the sender
immediately of the inadvertent transmission. Thank you for your cooperation.<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>****************************
<br>
CONFIDENTIALITY NOTICE: The information contained in this message may be
confidential, privileged, proprietary, or otherwise legally exempt from
disclosure. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you are not authorized to read, print,
retain, copy or disseminate this message, any part of it, or any attachments.
If you have received this message in error, please delete this message and any
attachments from your system without reading the content and notify the sender
immediately of the inadvertent transmission. Thank you for your cooperation.<o:p></o:p></span></font></p>

</div>

<p></p><p>**************************** <br>CONFIDENTIALITY NOTICE: The information contained in this message may be confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. Thank you for your cooperation.</body>

</html>