‎2010 Nov 24 7:57 AM
Hi,
i would like to know if it's possible to do that : in my program i launch a background job and when this job finished an event is triggered and i would like to catch this event in my program.
Thanks for your help.
‎2010 Nov 24 10:58 AM
Hi ToraTora,
well, you may program a background job with two steps:
- first one, the program you'd like to run
- second one, one simple program that calls function 'BP_EVENT_RAISE' (sorry, it's obsolete, try "CALL METHOD cl_batch_event=>raise" instead)
One workaround could be:
- the last task of your background job is updating a Z table with a value
- on your program, read this table. If it's populated, delete the content, and perform the action you want.
I hope it helps. Kind regards,
Alvaro