<html><body>
<p><font size="2" face="sans-serif">Hi Karsten,</font><br>
<br>
<font size="2" face="sans-serif">I believe many of us have encountered this before. &nbsp;You may need to remove config in Transaction SWEC.</font><br>
<font size="2" face="sans-serif">Please review SAP Note 797775, and you can search the internet, for example, &quot;SAP bus2012 releasestepcreated event&quot;<br>
<br>
Regards,<br>
Sheldon Oxenberg<br>
CSC</font><br>
<br>
<br>
<img width="16" height="16" src="cid:1__=0ABBF165DFC254948f9e8a93df938690@csc.com" border="0" alt="Inactive hide details for &quot;Ernst, Karsten&quot; ---09/30/2013 10:35:51 AM---Hi everybody, I have quite a strange but interesting que"><font size="2" color="#424282" face="sans-serif">&quot;Ernst, Karsten&quot; ---09/30/2013 10:35:51 AM---Hi everybody, I have quite a strange but interesting question I think to the experts in the group.</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:        </font><font size="1" face="sans-serif">&quot;Ernst, Karsten&quot; &lt;Karsten.Ernst@fhp-ww.com&gt;</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">&quot;sap-wug@mit.edu&quot; &lt;sap-wug@mit.edu&gt;</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:        </font><font size="1" face="sans-serif">09/30/2013 10:35 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:        </font><font size="1" face="sans-serif">Check Function Module - how to stop duplicate WF trigger</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:        </font><font size="1" face="sans-serif">sap-wug-bounces@mit.edu</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="2" face="Calibri">Hi everybody,</font><br>
<font size="2" face="Calibri">&nbsp;</font><br>
<font size="2" face="Calibri">I have quite a strange but interesting question I think to the experts in the group.</font><br>
<font size="2" face="Calibri">Due to the pre-processing setup the PO event BUS2012.RELEASESTEPCREATED is issues twice for the same object (same PO) within seconds.</font><br>
<font size="2" face="Calibri">We see no chance to prevent the double triggering of the event and this should not be the discussion here.</font><br>
<font size="2" face="Calibri">What I am looking for is your help on how to implement a Check Function Module to be integrated in the Event Type Linkage.</font><br>
<font size="2" face="Calibri">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.</font><br>
<font size="2" face="Calibri">If possible it might be could to check the WF Number / Receiver Type (WS9…) as well.</font><br>
<font size="2" face="Calibri">&nbsp;</font><br>
<font size="2" face="Calibri">As I have limited knowledge on how to implement this and especially on how to check for the active 1</font><font size="2" face="Calibri"><sup>st</sup></font><font size="2" face="Calibri">&nbsp;instance of the workflow for the current object, any hint or code snippet is highly appreciated.</font><br>
<font size="2" face="Calibri">&nbsp;</font><br>
<font size="2" face="Calibri">Best regards</font><br>
<font size="2" face="Calibri">Karsten</font><br>
<font size="2" face="Calibri">&nbsp;</font><br>
<font size="3" color="#808080" face="Calibri">Karsten Ernst</font><br>
<font size="1" color="#808080" face="Calibri">&nbsp;</font><br>
<font size="1" color="#808080" face="Calibri"><b>Freudenberg Home and Cleaning Solutions GmbH </b></font><br>
<font size="1" color="#808080" face="Calibri">Supply Chain Management Systems and Processes</font><br>
<font size="1" color="#808080" face="Calibri">&nbsp;</font><br>
<font size="1" color="#808080" face="Calibri">Mail: &nbsp; &nbsp; </font><a href="mailto:Karsten.Ernst@fhp-ww.com"><font size="1" color="#0000FF" face="Calibri"><u>Karsten.Ernst@fhp-ww.com</u></font></a><br>
<font size="2" face="Calibri">&nbsp;</font>
<p><font size="3" face="serif"><br>
</font><hr width="100%" size="2" align="left"><font size="1" color="#808080" face="Arial">Freudenberg Home and Cleaning Solutions GmbH<br>
Im Technologiepark 19, D-69469 Weinheim<br>
<br>
Geschäftsführer: Dr. Klaus Peter Meier, Arndt Miersch, Frank Reuther<br>
Sitz der Gesellschaft: Weinheim, Amtsgericht Mannheim HRB 431930</font><tt><font size="2">_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</font></tt><tt><font size="2"><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></font></tt><tt><font size="2"><br>
</font></tt>
<p></body></html>