<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Rick,</DIV>
<DIV>&nbsp;</DIV>
<DIV>This&nbsp;is the solution&nbsp;I proposed earlier.&nbsp;I think this is the best &amp; simple solution and yet found a problem with&nbsp;it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>FYI.<BR>&nbsp;</DIV>
<P><FONT face="verdana, helvetica, sans-serif" color=#00007f size=2><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG>SAP Logistics senior consultant<BR>SAP Workflow specialist<BR></STRONG></FONT></P>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV><BR>Message: 2<BR>Date: Fri, 5 Oct 2007 13:01:11 -0500<BR>From: "Sample, Rick" &lt;Rick.Sample@gbe.com&gt;<BR>Subject: RE: Release Stratigy events question<BR>To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;1897E92A96C47648A6574CB9A51C640704185032@SEBEV1PW.graybar.com&gt;<BR>Content-Type: text/plain; charset=us-ascii<BR><BR>I found in SWEC a link for: <BR>EINKBELEG BUS2012 RELEASESTEPCREATED <BR>with FM "FRE_ORD_EVENT_PO_DB"<BR><BR>I removed it and now only get one event as needed. <BR><BR>We do not have WFs linked to in the SPRO settings under Workflow. <BR>PO gets created, event get triggered, and via Type Linkage we launch WF.<BR><BR>All is good. Unless someone can tell me a better way.<BR><BR>Thanks,<BR>Rick<BR><BR><BR><BR><BR><BR>-----Original Message-----<BR>From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<BR>Of Sample, Rick<BR>Sent: Thursday, October 04, 2007 10:35
 AM<BR>To: SAP Workflow Users' Group<BR>Subject: RE: Release Stratigy events question<BR><BR>Florin,<BR>I had a CFM already in place. But when I get these two events triggering<BR>simultaneously, I get two Wfs. <BR>I will turn on the event queue for this obj if I can not figure out the<BR>release issue. <BR><BR>Now, for the release "Prerequisites". My config folks tell me it is<BR>setup correctly but maybe you can shed some light. <BR>(First time I ever did Release Strategy development!)<BR><BR>In SPRO for the group I am working with we have in the "Release<BR>Strategies": details the below.<BR><BR>Prerequisites:<BR>Code\release prerequisite<BR>&nbsp;&nbsp; 0&nbsp;&nbsp;1&nbsp;&nbsp;2<BR>0<BR>1 X<BR>2 X X<BR><BR>I see six check boxes in the dialog box. The 'Xs' are in the left<BR>diagonal and the top right check boxes (I assume are the prerequesites)<BR>are blank.<BR>I amsumed this was setup correctly because I can not set 1 before 0 is<BR>set, can't set
 2 before 1 is set, etc. <BR><BR>Are you saying that all these check boxes "should" be checked?<BR><BR>Thanks a mil,<BR>Rick Sample<BR>SAP Business Workflow Developer<BR>Graybar, Inc.<BR><BR><BR><BR><BR>-----Original Message-----<BR>From: sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] On Behalf<BR>Of Florin Wach (gmx)<BR>Sent: Tuesday, October 02, 2007 3:11 PM<BR>To: SAP Workflow Users' Group<BR>Subject: Re: Release Stratigy events question<BR><BR>Hi Rick,<BR><BR>no, the FREBUS2012.ReleaseStepCreated event is triggered, because it is<BR>also a subtype of BUS2012.<BR><BR>You get multiple events, because you don't have maintained the<BR>"Prerequesites" in the customizing of the release strategy. There's a<BR>button to do that, e.g. that 02 can only be set when 01 was set before,<BR>which will trigger a .ReleaseStepCreated for 01 only, and after that one<BR>was set, the .ReleaseStepCreated for 02 is triggered.<BR>If you don't do that, you'll get
 two of them (of course depending on<BR>what you actually want).<BR><BR>To avoid any misleading workflows, I'd also suggest that you put a<BR>Check-Function-Module in-between the .ReleaseStepCreated, as with some<BR>configuration, also an event is triggered for PO's that doesn't have a<BR>RelStrategy at all.<BR><BR>So you should check for: BUS2012, event=ReleaseStepCreated, + reading<BR>from the event container for the element ReleaseCode and check if that<BR>is not initial.<BR>That's basically all I would advice.<BR><BR>Best wishes,<BR>Florin<BR><BR><BR>----- Original Message -----<BR>From: "Sample, Rick" &lt;Rick.Sample@gbe.com&gt;<BR>To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>Sent: Tuesday, October 02, 2007 9:10 PM<BR>Subject: Release Stratigy events question<BR><BR><BR>&gt; We are currently on 4.6c. Will be moving to ECC6 within a year.<BR>&gt;<BR>&gt; I have a new request for a WF dealing with PO Release Strategies.<BR>&gt;<BR>&gt;
 When a PO with the Release Strategies I am looking for gets triggered<BR>I<BR>&gt; am getting multiple bus2012.RELEASESTEPCREATED.<BR>&gt; It is passing me the RelCode via the event.<BR>&gt;<BR>&gt; I am also getting one FREBUS2012.CREATED. No RelCode, but I can start <BR>&gt; the WF and get the data from EKKO in a BG step.<BR>&gt;<BR>&gt; Is the FREBUS2012.CREATED the object / event I should be hanging my<BR>hat<BR>&gt; on for the create or bus2012.releasestepcreated?<BR>&gt;<BR>&gt; Thanks,<BR>&gt; Rick Sample<BR>&gt; SAP Business Workflow Developer<BR>&gt; Graybar, Inc.<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A
 href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR><BR>End of SAP-WUG Digest, Vol 35, Issue 11<BR>***************************************</DIV></DIV><BR></DIV></div><br>
      <hr size=1> 
Yahoo! Answers - Get better answers from someone who knows. <a
href="http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU">Try
it now</a>.</body></html>