Determine if another event was simultaneously raised for same object?

Hilsbos, Margaret A Margaret.Hilsbos at dayzim.com
Mon Feb 20 16:42:33 EST 2012


Hi workflow experts,

I have an interesting problem that probably has a simple answer, but it's not coming to me, so I'm hoping someone can help.

For our custom purchase requisition workflow (BUS2105), we want to handle a new custom event that is raised when a certain custom field is changed.  If only our new event is raised, we want it to do two things - let's call them ActionA and ActionB.  But, if the SignificantlyChanged event and/or ReleaseStepCreated is also raised (according to normal SAP logic and customizing settings), then we want the result of our custom event to only be ActionA. So, when our custom event is raised, I think it needs to know what other events were also raised for the same object and the same save action.

What would be the best way to determine whether other events were raised?  Or is there a different way to look at this problem altogether?

Further info:


*         We're using change document BANF to raise the custom event, with field restrictions limiting it to changes in our custom field. The custom event is defined on a delegated subtype of BUS2105.

*         The existing workflow definition listens for SignificantlyChanged and cancels the current workflow, because a new workflow will be started on ReleaseStepCreated.  I expect to add our custom event here and/or trigger a separate workflow to handle the additional processing.

Thanks for any suggestions!

Margaret Hilsbos
Senior Business Systems Analyst
Corporate IT, Day & Zimmermann

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


More information about the SAP-WUG mailing list