BUS2089 Object locked

s.raveendran@accenture.com s.raveendran at accenture.com
Tue Mar 22 02:12:13 EDT 2011


Hi John,
       Ideally you need to define this exception in the method as a temporary error which would give a temporary error when the object is locked (Yellow in WF logs). The temporary error can be swept and reprocessed using a Error processing Background Job configured through SWU3 (Configurable intervals). If you are using a standard BO method, Delegate them and change the exception type. This should solve the issue.

Note: You might have to analyze the impact before scheduling the above BG job as this is a system wide configuration for all workflows.

Let me know if this helps,
Simin Raveendran.

________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of kaukabr at yahoo.com
Sent: Tuesday, March 22, 2011 9:14 AM
To: SAP Workflow Users' Group
Subject: Re: BUS2089 Object locked

You need to develp object method


On Fri, 3/18/11, John Haworth <jhaworth at csc.com> wrote:

From: John Haworth <jhaworth at csc.com>
Subject: BUS2089 Object locked
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Date: Friday, March 18, 2011, 5:24 PM

Hi all

Quick question, i am developing a workflow for a TRIP expense approval.

The approval task is based on the SAP standard method for background approval. This has a couple of exceptions to capture if the object is locked, when the background approval method runs.

What is the mechanism (scheduled job name ?) for the workflow to keep revisiting this task waiting for the lock to go, and after a period of time or number of repeated attempts, go into error, or take an alternative path?

Kind Regards

John Haworth
SAP PDM
CSC

Euxton House, Euxton Lane, Chorley, PR7 6FE.
|Office: +44(0)1257 23 6474|Mobile: +44(0)7921069650| email: jhaworth at csc.com|www.csc.com

CSC * This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery.  NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose * CSC Computer Sciences Limited * Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11 1PZ, UK * Registered in England No: 0963578

-----Inline Attachment Follows-----
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<http://us.mc364.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug



________________________________
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110322/e81a767f/attachment.htm


More information about the SAP-WUG mailing list