Hi Sue.<br>Thanks for share that SAP response.<br>We&#39;re in ECC 6.0 and we&#39;re not upgrading from previous version.<br>It&#39;s brand new created.<br><br>The best things.<br>It&#39;s now working perfectly after I change from call transaction to call function module.<br>
It was a good lesson learn.<br><br><br><div class="gmail_quote">2008/6/12 Sue Doughty &lt;<a href="mailto:Sue.Doughty@odfl.com">Sue.Doughty@odfl.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

















<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Sandy</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">,</span></font></p>


<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">What release of SAP are you using?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Is your workflow task in a branch of a Fork?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">When we upgraded from 4.7 to ECC 6.0,
workflow processing was changed.&nbsp; See SAP's response below:</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p style=""><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font face="Courier New" size="2"><span style="font-size: 10pt;">An important feature of the workflow runtime system
are so-called </span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">&gt; &quot;synchronous
process chains&quot; (advance with dialog), i.e. if there is a </span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">&gt; sequence of dialog
steps to be processed by the same user, they are </span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">&gt; executed as one chain
without going to the inbox in between.</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">&gt; A pre-requisite for
this is the lock on the father workflow during the </span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">&gt; entire process chain.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">We had forks in our workflows where different
users could be executing dialog processes (tasks) in parallel branches of the
fork at the same time.&nbsp; We had to move all but one of the dialog processes
into sub-workflows in order for the workflow to work without getting enqueue
errors.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<p><font color="black" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: black;">Regards,</span></font><font color="navy"><span style="color: navy;"></span></font></p>

<p><i><b><i><font color="green" face="Monotype Corsiva" size="5"><span style="font-size: 18pt; color: green; font-weight: bold;">Sue</span></font></i></b></i><i><b><i><font color="green" face="Monotype Corsiva" size="5"><span style="font-size: 18pt; color: green; font-weight: bold;"> T. Doughty</span></font></i></b></i><font color="navy"><span style="color: navy;"></span></font></p>


<p><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">SAP Workflow Specialist</span></font><font color="navy"><span style="color: navy;"></span></font></p>

<p><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">Old Dominion Freight Line, Inc.</span></font><font color="navy"><span style="color: navy;"></span></font></p>

<p><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">500 Old Dominion Way</span></font><font color="navy"><span style="color: navy;"></span></font></p>

<p><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">Thomasville</span></font><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">, NC 27360</span></font><font color="navy"><span style="color: navy;"></span></font></p>


<p><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">Phone:&nbsp; (336) 822-5189</span></font><font color="navy"><span style="color: navy;"></span></font></p>

<p><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">Toll Free (800 ) 432-6335, ext. 5189</span></font><font color="navy"><span style="color: navy;"></span></font></p>


<p><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">Email:&nbsp; <a href="mailto:sue.doughty@odfl.com" target="_blank"><font face="Times New Roman"><span>sue.doughty@odfl.com</span></font></a></span></font></p>


</div>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

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

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

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Sandy<br>

<b><span style="font-weight: bold;">Sent:</span></b> Thursday, June 12, 2008 5:25
AM<br>
<b><span style="font-weight: bold;">To:</span></b> SAP Workflow - MIT<br>
<b><span style="font-weight: bold;">Subject:</span></b> Dequeue Work Item</span></font></p>

</div><div><div></div><div class="Wj3C7c">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi All.<br>
<br>
I have workflow task that execute ABAP program via call transaction. So when
user receive work item they execute work item and bring ABAP program.<br>
Within this program user need to click certain button. When they execute
certain button, data base field get updated and need to update task container
element.<br>
<br>
The design is when work item executed, it send work item to ABAP program and do
SAP_WAPI_WRITE_CONTAINER to update container element depend on selected button.<br>
I got enqueue error message says that work item has been locked by the user it
self.<br>
It is obvious when user execute work item and transaction called, work item
still get locked.<br>
<br>
Is there any alternative to update container element of work item while work
item executed?<br>
Statement &quot;LEAVE TO TRANSACTION&quot; is not an option since I need to
pass parameters value when I call ABAP transaction<br>
<br>
</span></font></p>

</div></div></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.</p>
</div>



<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" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br>