AW: How to restrict workflow launches ?

Schmidinger, Heinz (Unaxis IT BZ) heinz.schmidinger at unaxis.com
Wed Nov 5 02:42:42 EST 2003


Good Morning Gilles,
 
sorry maybe I was not in detail enough in my answer:
 
BUS2038 has the Event CREATED (I'm speaking out of SAP46B). This can be
used.
f.m. QQWF_EVENT_PM_NOTIF_CREATED is a check f.m. used by SAP. You =
should not
change it, but you can copy it to Y_...or Z_.. and modify the copy if =
you
need it more specific. The mentioned f.m. does nothing else the a check =
if
qmtyp of the notification is '01' (PM).
 
With this method I run several SM-Workflows without a problem.
 
A suggestion: Have a look to the SAP-Standard WF-Templates in the area =
of
PM/SM (e.g. WSWS00200065).
 
Regards
 
Heinz
 
-----Urspr=FCngliche Nachricht-----
Von: GOURLET Gilles [mailto:gilles.gourlet at airbus.com]
Gesendet am: Dienstag, 4. November 2003 17:42
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Re: How to restrict workflow launches ?
 
Thanks all for your help.
If I sum up :
. Regarding the transaction SWB_COND : it doesn't display anything to =
me
even if I widen all criterias (conditions =3D *, business objects =3D =
*, events
=3D *).=20
Since workflows are fired when I create a new PM notification, I should =
see
in the SWB_COND transaction my PM notification objet and the event
"created", don't you think so ?
. Using the events : I don't see how to restrict the existing event to
"Notificationtyp is (TQ80-QMTYP =3D 01)". Do you mean I should create a =
new
event and put this condition into the code or something else ?
. I can adapt the starting FM "QQWF_EVENT_PM_NOTIF_CREATED",
. I can use check Check Function Modules.
 
Gilles.
 
-----Message d'origine-----
De : Becker, Stephan [mailto:stephan_becker.ext at siemens.com]
Envoy=E9 : mardi 4 novembre 2003 17:16
=C0 : SAP-WUG at MITVMA.MIT.EDU
Objet : Re: How to restrict workflow launches ?
 
 
Use start conditions via transaction SWB_COND
 
-----Mensaje original-----
De: Schmidinger, Heinz (Unaxis IT BZ) =
[mailto:heinz.schmidinger at unaxis.com]=20
Enviado el: 04 November 2003 16:40
Para: SAP-WUG at MITVMA.MIT.EDU
Asunto: AW: How to restrict workflow launches ?
 
Hi Gilles,
 
I have running such WF for SM e.g.
 
You can use the Events (e.g. 'CREATE') from Object BUS2038. This Events
should be fired only if Notificationtyp is (TQ80-QMTYP =3D 01).
 
Additional you can do a detailed filtering using a adaption of f.m.
'QQWF_EVENT_PM_NOTIF_CREATED'. This f.m. is used by SAP-Standard for
starting WS00200065.
WS00200065 is a SAP-Standard-Example which you can activate in the
Customizing of PM.
 
Maybe it helps.
 
regrads
 
Heinz
 
-----Urspr=FCngliche Nachricht-----
Von: GOURLET Gilles [mailto:gilles.gourlet at airbus.com]
Gesendet am: Dienstag, 4. November 2003 16:13
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: How to restrict workflow launches ?
 
Dear all,
I need your help to find a way to avoid launching PM notifications =
workflow
whatever the type of the notification is.
I mean I only want new workflows to be launched for certain types of
notifications.
eg: PM Notification - type M1, M2 and M3 -> Workflow ; other types -> =
No.
Thanks in advance,
Gilles.
 
This mail has originated outside your organization,
either from an external partner or the Global Internet.=20
Keep this in mind if you answer this message.
 


More information about the SAP-WUG mailing list