Check Function Module - how to stop duplicate WF trigger

Ernst, Karsten Karsten.Ernst at fhp-ww.com
Mon Sep 30 10:32:02 EDT 2013


Hi everybody,

I have quite a strange but interesting question I think to the experts in the group.
Due to the pre-processing setup the PO event BUS2012.RELEASESTEPCREATED is issues twice for the same object (same PO) within seconds.
We see no chance to prevent the double triggering of the event and this should not be the discussion here.
What I am looking for is your help on how to implement a Check Function Module to be integrated in the Event Type Linkage.
I would like to determine if there is already an active WF instance available for the current PO number (should be the object key of the event) and if this is the case the event should raise an exception and should not trigger the WF to start.
If possible it might be could to check the WF Number / Receiver Type (WS9...) as well.

As I have limited knowledge on how to implement this and especially on how to check for the active 1st instance of the workflow for the current object, any hint or code snippet is highly appreciated.

Best regards
Karsten

Karsten Ernst

Freudenberg Home and Cleaning Solutions GmbH
Supply Chain Management Systems and Processes

Mail:     Karsten.Ernst at fhp-ww.com<mailto:Karsten.Ernst at fhp-ww.com>


________________________________
Freudenberg Home and Cleaning Solutions GmbH
Im Technologiepark 19, D-69469 Weinheim

Gesch?ftsf?hrer: Dr. Klaus Peter Meier, Arndt Miersch, Frank Reuther
Sitz der Gesellschaft: Weinheim, Amtsgericht Mannheim HRB 431930
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20130930/a6a758f1/attachment.htm


More information about the SAP-WUG mailing list