how to create an event when a purchaseRequisition is added??

Torsten Hübsch antoschka at web.de
Sun Feb 22 06:01:23 EST 2004


Hi,
 
I'm a student participating in an SAP-Seminar at a German University. Ufortunately I don't have the possibility to attend courses on SAP Workflow. However I run in an problem and don't know how to solve it.
I'm looking for a solution to trigger an event when a purchaseRequesition is created. I've tried almost everything, but the event-tracer doesn't show any events.
My attempts included the following tasks:
- i tried to create a change document, with the entries BANF=>BUS2105=>created(I added this event)=> "on create"
- i also tried to trigger n event by creating a subtype of BUS2105 (ZBUS2105) and added the event created; I delegated the the supertype to the subtype and redefined the method createFromData; there I added the function SWE_event_create but when I created a purchaseRequisition no event is triggered
 
another words - I've no idea how to raise the event when purchase requisition is added. Maybe the method createFromData is not used? but why doesn't it create a change document - the flag "change document" of field banfn (table eban) is activated ...
 
I would be very happy somebody could give me brief how-to-description of solving this problem.
 
Thank's alot in advance
 
Torsten
______________________________________________________________________________
... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail
ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191
 


More information about the SAP-WUG mailing list