AW: Workflow when business event is cancelled

Kjetil Kilhavn kjetilk at statoil.com
Fri Jul 30 07:13:32 EDT 2004


Perhaps you solved this already (holiday season - I have a hard time
catching up).
 
In our system the following entries can be found in SWEHR2 (HR-CA Event=
 
Linkage)
E    Course    1001 Relationships  A040  Was cancelled by    *    CANF
0    PDRELA_040          HR_EVENT_TRAINING_NOTIFICATION
E    Course    1001 Relationships  A040  Was cancelled by    *    CANP
0    PDRELA_040          HR_EVENT_TRAINING_NOTIFICATION
E    Course    1001 Relationships  A040  Was cancelled by    *    CANW
0    PDRELA_040          HR_EVENT_TRAINING_NOTIFICATION
 
And the following in SWEHR1 (Allowed Business Object Types per Object
Type/Infotype
E    Course    1000 Object               PDOTYPE_E      Business event
E    Course    1001 Relationships  A023  Reserves  PDRELA_023
Reservation
E    Course    1001 Relationships  A025  Is attended by      PDRELA_025=
 
Attendance
E    Course    1001 Relationships  A036  Is organized by     PDRELA_036=
 
Organizer
E    Course    1001 Relationships  A040  Was cancelled by    PDRELA_040=
 
Cancellation
E    Course    1001 Relationships  B049  Develops  BUS7030
 
The activity field looks like a good candidate to explore further.
 
So I assume you would need to have an entry in SWEHR3 with
object type =3D E
infotype       =3D 1000
Update op =3D ?
Activity        =3D ICAN
and whatever values for the remaining fields
 
Our solution which handles cancelled events uses infotype 1026 (reads
hrp1026), but we don't use any workflow there.
--
Kjetil Kilhavn
 
 
 
 
                                                                       =
                                                                       =
      =20
                    Werner Koessl                                      =
                                                                       =
      =20
                    <Werner.Koessl at hirsc        To:     SAP-WUG at MITVMA.=
MIT.EDU                                                                =
      =20
                    hvogel.de>                  cc:     (bcc: Kjetil Ki=
lhavn)                                                                 =
      =20
                    Sent by: SAP                Subject:     AW: Workfl=
ow when business event is cancelled                                    =
      =20
                    Workflow                                           =
                                                                       =
      =20
                    <Owner-SAP-WUG at MITVM                               =
                                                                       =
      =20
                    A.MIT.EDU>                                         =
                                                                       =
      =20
                                                                       =
                                                                       =
      =20
                                                                       =
                                                                       =
      =20
                    06.07.2004 10:49                                   =
                                                                       =
      =20
                    Please respond to                                  =
                                                                       =
      =20
                    "SAP Workflow Users'                               =
                                                                       =
      =20
                    Group"                                             =
                                                                       =
      =20
                                                                       =
                                                                       =
      =20
                                                                       =
                                                                       =
      =20
 
 
 
 
Hi Robert,
 
that's not what i mean.
I don't want to cancel an event of an object but a "BUSINESS EVENT" in
Training and Event Management(PE).
In PE i can create and cancel business events.
And in transactions SWEHR1, SWEHR2 and SWEHR3 i can use defined actions=
 or
add new actions.
But i don't know what to enter so that i can trigger an event "OF AN OB=
JECT
TYPE" when a business event is cancelled.
 
I hope you understand me right now!
Regards,
Werner.
 
 
 
-----Urspr=FCngliche Nachricht-----
Von: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]Im Auftrag von
Robert.vande.Berg at nuon.com
Gesendet: Dienstag, 6. Juli 2004 10:33
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Re: Workflow when business event is cancelled
 
 
Werner,
 
what do you mean by 'when the event is cancelled'?
An event is raised when the data is committed to the database. The even=
t
CREATED is raised when the object is saved. The creation cannot be
cancelled, the object can be deleted from the database.
 
Perhaps there is an user-exit or PAI or PBO in the program which create=
s
the
object. There you can do a check whether or not the cration is cancelle=
d.
Then, you could raise your own event (like CANCELLED).
 
As fas as I know, an event cannot be cancelled. An event is triggerd an=
d
there may be another event which indicates that the creation is cancell=
ed.
 
Regards,
robert
 
-----Oorspronkelijk bericht-----
Van: Werner Koessl [mailto:Werner.Koessl at hirschvogel.de]
Verzonden: maandag 5 juli 2004 13:46
Aan: SAP-WUG at MITVMA.MIT.EDU
Onderwerp: Workflow when business event is cancelled
 
 
Hi,
 
we use a workflow when a business event is created (object type:
PDOTYPE_E).
That works fine, but we can't find where to start a workflow when the
business event is cancelled.
Did anybody use this or does anybody have an idea???
 
Thank in advance!
Werner.
 
 
 
 
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of=
 the
information or copying of this message is prohibited. If you are not th=
e
addressee, please notify the sender immediately by return e-mail and de=
lete
this message.
Thank you.=
 


More information about the SAP-WUG mailing list