Release Stratigy events question

Shai Eyal shai.eyal at yahoo.com
Sat Oct 6 14:55:04 EDT 2007


Rick,

This is the solution I proposed earlier. I think this is the best & simple solution and yet found a problem with it.

FYI.
 
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist


Message: 2
Date: Fri, 5 Oct 2007 13:01:11 -0500
From: "Sample, Rick" <Rick.Sample at gbe.com>
Subject: RE: Release Stratigy events question
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
    <1897E92A96C47648A6574CB9A51C640704185032 at SEBEV1PW.graybar.com>
Content-Type: text/plain; charset=us-ascii

I found in SWEC a link for: 
EINKBELEG BUS2012 RELEASESTEPCREATED 
with FM "FRE_ORD_EVENT_PO_DB"

I removed it and now only get one event as needed. 

We do not have WFs linked to in the SPRO settings under Workflow. 
PO gets created, event get triggered, and via Type Linkage we launch WF.

All is good. Unless someone can tell me a better way.

Thanks,
Rick





-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Sample, Rick
Sent: Thursday, October 04, 2007 10:35 AM
To: SAP Workflow Users' Group
Subject: RE: Release Stratigy events question

Florin,
I had a CFM already in place. But when I get these two events triggering
simultaneously, I get two Wfs. 
I will turn on the event queue for this obj if I can not figure out the
release issue. 

Now, for the release "Prerequisites". My config folks tell me it is
setup correctly but maybe you can shed some light. 
(First time I ever did Release Strategy development!)

In SPRO for the group I am working with we have in the "Release
Strategies": details the below.

Prerequisites:
Code\release prerequisite
   0  1  2
0
1 X
2 X X

I see six check boxes in the dialog box. The 'Xs' are in the left
diagonal and the top right check boxes (I assume are the prerequesites)
are blank.
I amsumed this was setup correctly because I can not set 1 before 0 is
set, can't set 2 before 1 is set, etc. 

Are you saying that all these check boxes "should" be checked?

Thanks a mil,
Rick Sample
SAP Business Workflow Developer
Graybar, Inc.




-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Florin Wach (gmx)
Sent: Tuesday, October 02, 2007 3:11 PM
To: SAP Workflow Users' Group
Subject: Re: Release Stratigy events question

Hi Rick,

no, the FREBUS2012.ReleaseStepCreated event is triggered, because it is
also a subtype of BUS2012.

You get multiple events, because you don't have maintained the
"Prerequesites" in the customizing of the release strategy. There's a
button to do that, e.g. that 02 can only be set when 01 was set before,
which will trigger a .ReleaseStepCreated for 01 only, and after that one
was set, the .ReleaseStepCreated for 02 is triggered.
If you don't do that, you'll get two of them (of course depending on
what you actually want).

To avoid any misleading workflows, I'd also suggest that you put a
Check-Function-Module in-between the .ReleaseStepCreated, as with some
configuration, also an event is triggered for PO's that doesn't have a
RelStrategy at all.

So you should check for: BUS2012, event=ReleaseStepCreated, + reading
from the event container for the element ReleaseCode and check if that
is not initial.
That's basically all I would advice.

Best wishes,
Florin


----- Original Message -----
From: "Sample, Rick" <Rick.Sample at gbe.com>
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Sent: Tuesday, October 02, 2007 9:10 PM
Subject: Release Stratigy events question


> We are currently on 4.6c. Will be moving to ECC6 within a year.
>
> I have a new request for a WF dealing with PO Release Strategies.
>
> When a PO with the Release Strategies I am looking for gets triggered
I
> am getting multiple bus2012.RELEASESTEPCREATED.
> It is passing me the RelCode via the event.
>
> I am also getting one FREBUS2012.CREATED. No RelCode, but I can start 
> the WF and get the data from EKKO in a BG step.
>
> Is the FREBUS2012.CREATED the object / event I should be hanging my
hat
> on for the create or bus2012.releasestepcreated?
>
> Thanks,
> Rick Sample
> SAP Business Workflow Developer
> Graybar, Inc.
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug



_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug





------------------------------

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


End of SAP-WUG Digest, Vol 35, Issue 11
***************************************


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20071006/ec52bf98/attachment.htm


More information about the SAP-WUG mailing list