Dequeue Work Item

Sue Doughty Sue.Doughty at odfl.com
Thu Jun 12 08:16:19 EDT 2008


Sandy,

 

What release of SAP are you using?

 

Is your workflow task in a branch of a Fork?

 

When we upgraded from 4.7 to ECC 6.0, workflow processing was changed.
See SAP's response below:

 

     An important feature of the workflow runtime system are so-called 

> "synchronous process chains" (advance with dialog), i.e. if there is a


> sequence of dialog steps to be processed by the same user, they are 

> executed as one chain without going to the inbox in between.

> A pre-requisite for this is the lock on the father workflow during the


> entire process chain.

 

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.  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.

 

Regards,

Sue T. Doughty

SAP Workflow Specialist

Old Dominion Freight Line, Inc.

500 Old Dominion Way

Thomasville, NC 27360

Phone:  (336) 822-5189

Toll Free (800 ) 432-6335, ext. 5189

Email:  sue.doughty at odfl.com <mailto:sue.doughty at odfl.com> 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Sandy
Sent: Thursday, June 12, 2008 5:25 AM
To: SAP Workflow - MIT
Subject: Dequeue Work Item

 

Hi All.

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.
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.

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.
I got enqueue error message says that work item has been locked by the
user it self.
It is obvious when user execute work item and transaction called, work
item still get locked.

Is there any alternative to update container element of work item while
work item executed?
Statement "LEAVE TO TRANSACTION" is not an option since I need to pass
parameters value when I call ABAP transaction





****************************
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080612/b39a5863/attachment.htm


More information about the SAP-WUG mailing list