<div dir="ltr">Sue<div><br></div><div>Why do you have a custom check FM? If your taking the SAP advice and &#39;not modified&#39; the SAP templates then you shouldn&#39;t ever get duplicate Wf&#39;s.  We don&#39;t and we have gone from SRM5 to SRM7 AC Wf.  </div><div><br></div><div>Thinking, SAP actually start a Waiting status Wf when you make a change to a PO/SC and SAVE it.  They use it to record the Approval chain and display it in the Approval Preview.</div><div><br></div><div>Andy </div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Sep 30, 2014 at 3:43 PM,  <span dir="ltr">&lt;<a href="mailto:sap-wug-request@mit.edu" target="_blank">sap-wug-request@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send SAP-WUG mailing list submissions to<br>
        <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of SAP-WUG digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Check FM in SRM7 (Keohan, Susan - 1140 - MITLL)<br>
<br><br>---------- Forwarded message ----------<br>From: &quot;Keohan, Susan - 1140 - MITLL&quot; &lt;<a href="mailto:keohan@ll.mit.edu">keohan@ll.mit.edu</a>&gt;<br>To: &quot;SAP Workflow Users&#39; Group (<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>)&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>Cc: <br>Date: Tue, 30 Sep 2014 14:42:07 +0000<br>Subject: Check FM in SRM7<br><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">Hi all,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">We’re upgrading to SRM7 (technical only) from SRM5 and using our old Application Controlled Workflows.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">We’ve always used a Check Function Module in the Event Linkage table to prevent multiple workflows from kicking off for Purchase Order Change Versions  if the same GUID is already involved in an active workflow process.  <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">So if the Check Function module (referenced in SWETYPV) finds an active workflow using that PO GUID, it exits gracefully with our friendly exception NO_WORKFLOW.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">In SRM7, however, this is interpreted as something completely different in the PDO layer…<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">A very nasty error is displayed to the user:<u></u><u></u></span></p><p class="MsoNormal"><img width="736" height="192" src="cid:image001.png@01CFDC9B.2EDE35B0"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">Has anyone else had to change their methodology of using Check FMs in SRM7?  I know I can put a task in the workflow to check for other flows on the same GUID, but Check FMs seemed to work so nicely before.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><br>Thanks in advance,<br>Sue<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"> </span><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">Susan R. Keohan<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">SAP Workflow Specialist<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">MIT Lincoln Laboratory<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">244 Wood Street, LI-200<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">Lexington, MA. 02420<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black"><a href="tel:781-981-3561" value="+17819813561" target="_blank">781-981-3561</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black">@skeohan<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div></div>