BUS2089 CHANGE and APPROVE events

Sangvir Singh Sangvir.Singh at hcl.com
Wed Apr 6 08:22:27 EDT 2011


Hi,
When TRIP is getting approved, it will be updating fields in database table( some flag or value). Now you can create a check function module and attach it to ‘CHANGE’ wait step. If the flag for approval is updated, it should create an exception and hence would not trigger the wait for event step for “CHANGED”.
In case, it’s not approved and only changed, the flag will not be updated and CHAGE event will fire normally.
Hope this helps.

Thanks and Regards,

Sangvir Singh
HCL Technologies Ltd.
A-91, Sector 2,Noida 201301, U.P. (India)
Tel  : +91-120-4613500  Extn. (2827)
Mob: +91-9212019197
www.hcl.in<http://www.hcl.in/>
[cid:image001.jpg at 01CBF483.45B90E80]

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of John Haworth
Sent: Wednesday, April 06, 2011 5:30 PM
To: SAP Workflow Users' Group
Subject: BUS2089 CHANGE and APPROVE events


Hi

I have a new workflow for TRIP approvals. I have an issue, in that in my workflow I have two wait for event legs, that are waiting for event APPROVED and event CHANGED, as the trip could be approved outside of the workflow (and /or changed outside the workflow)

The problem is that when the TRIP is approved, both CHANGE and APPROVE events are issued, seeing the CHANGE event ends my workflow.

I only want to recognise the change event, when it happens from outside the workflow, I thought a check function module on the change event, but how do I determine if the event was as a result of the TRIP being approved, or changed outside of the workflow (it could be approved outside of the workflow too).

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

________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110406/d8774850/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1559 bytes
Desc: image001.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20110406/d8774850/attachment.jpg


More information about the SAP-WUG mailing list