Release Stratigy events question

Florin Wach (gmx) florin.wach at gmx.net
Tue Oct 2 16:11:14 EDT 2007


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 




More information about the SAP-WUG mailing list