ABAP Code if Scheduled Load Fails

Question: Hi All,

I am wondering if anyone has the ABAP code that will send an email, page etc if a scheduled load fails.

Thanks

Answer:
In BW2x there was a quite simple example of how to create a message with ABAP.

When I needed a similar solution to your problem, I just copied the example code into a report and modified it. It's ABAP-Objects, but you don't need an understanding of ABAP Object to do so.

In BW2x you'd then define a variant for your mail ABAP, which contains the message text and receipient. This you'd embed into a Batch-Job, which is called by the ABORT Event of your Infopackage. In BW3x you should be able to call it directly from the chain.

good luck

Answer:
Yes , Semiliki is right: in BW30 you follow following procedure in your 'Process Chain Maintenance ':

At a particular step in the process you can right click and choose 'Create message'.
there you can fill who needs to get a message + you can define the content of this messsage....

Kind regards,
Wim
Copyright ?2007 - 2008 www.jt77.com