Create event via status management
de Valensart Schoenmaeckers, Patrick
Patrick.DeValensartSchoenmaeckers at pmintl.com
Mon Jun 7 12:32:29 EDT 2004
Hi.
I need to trigger a workflow every time a user status is set on a sales
order. Until here, nothing difficult (I create my event via status
management - transaction BSVZ - and restrict it to the relevant user
statuses. Then I use that event as a triggering event of my workflow).
The issue arises when at some stage of my workflow I need to know which
status triggered it. The only solution I could find until now is to have one
event for each possible status. But that doesn't solve the problem because
there is no possibility (that I am aware of) to know which one of the
various triggering events actually started the workflow. Thus I also need to
have one workflow per event. This is definitely not nice as all workflows
would be almost identical anyway and it increases the maintenance cost.
Anybody has a better solution to offer? I also thought about defining each
of my events with a parameter "Status", and then use a check function module
to fill-in the event container, but that seems tricky. Anyone already tried
to do that?
Thank you all in advance for your replies.
Cheers,
Patrick
More information about the SAP-WUG
mailing list