Event based user status

Mike Pokraka wug at workflowconnections.com
Fri Sep 17 10:03:27 EDT 2010


A slightly outside the box idea:
One way to translate BOR events raised by the application into OO events
is to implement BI_EVENT_HANDLER_STATIC~ON_EVENT in a class and add it as
an event receiver in SWETYPV. I also use this to massage any event
information along the way (e.g. adding info or splitting an event into
different ones). The same could work for you, and any updates
Hi Shai,

Events can have more parameters than defined for the receiver. Simple
trick: setup a receiver linkage SWE_EVENT_MAIL to send the event details
to yourself. Have a look a the real event container to see if there's
anything you can use. If so, just add it to your object's event parameters
and it will appear.

Cheers,
Mike


On Fri, September 17, 2010 9:40 am, Shai Eyal wrote:
> Hello all,
> I created a workflow based on internal order user status changes. It works
> OK -
> each user status is assigned to an event using BSVW, the events start the
> workflow and everybody happy. From time to time I've been asked to create
> a new
> status+new event+update the workflow.
> Therefore I'm trying to create generic event for status changes while this
> event
> will have parameter for old_status and new_status.
>
> I defined the event and it is published when any status changes - I simply
> did
> not put status restriction in BSVW. However I can't seem to get event
> parameters. I tried looking at table JCDS but don't know how to link to
> events.
> I know such is possible for events based on change documents.
>  
> Has anyone did that before? any ideas?
>  
> Thanks all,
>  
> Regards,
> Shai Eyal
> SAP Logistics senior consultant
> SAP Workflow & BPM specialist
> http://www.linkedin.com/in/shaieyal
> Mobile: 972-52-5816633
>
> _______________________________________________
> 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