on 07-09-2013 4:50 PM
Hi,
We are in PI 7.31 Single java stack and currently we are getting the alert notifications whenever any error occurred(configured CBMA alerts in PI 7.31)
and same way I would like to trigger the alerts when my sender or receiver database channels(or file changes) got processed successfully. This notification need to send concerned teams. Because we have currently lot of interfaces for all of them I wanted to set up like CBMA alert mechanism.
Appreciate your help.
Regards,
Venu.
If the receiver channel is configured file adapter the easiest thing u can do is to Run Operate System Command( email script file or uuencode or echo in unix ) after message processing . I think this will ensure that the email only goes out if the file processing was successful .
If you configure a seperate interface with a mail adapter , there could be a case where the file processing failed and still the email would get send .
Rahul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venu,
To be honest, as an integrator I always try to convince the client that alert notifications or mails should only be used for failures and to treat "No news as good news".
I am not sure after a while, if the client itself would be interested in knowing about successful runs of an interface.
However, as experts rightly said, you have ways to trigger an email.
Like for a JDBC receiver, make the inbound interface synchronous which returns the number of rows updated in a table and that can be used to configure a mail receiver with standard success mail.
On sender JDBC, configure an additional mail receiver/ inbound interface to send mails.
hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One option would be to use a RFC lookup inside an UDF in the message mapping and call the FM SALERT_CREATE_API to trigger the alert. Refer the blog on how to call this FM.
~Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you might want to tread on this carefully.
Imagine the number of emails that will be triggered for message flows.
Now if you still insist, there is no out of the box feature for this. Only way is to add a mail adapter and customize your scenario to have an email adapter send out emails as part of each of your interface flows.
My take on this - Not worth doing
You can call this RFC from the ECC system that is lntegrated with your PI and since the RFC is called inside the mapping, we can expect this alert only after the successful execution of sender channel. But if you want to trigger the alert only after the successful completion of the entire message, then I would think on using the below options.
- Calling a script that can trigger the email from Run Operating System Command After Message Processing in the receiver channel.
- To go for a NetWeaver BPM.
~Srini
Thanks for your reply. When important files sent to external vendor's or Banks and I would like to notify them so that Business will team will aware what is happening in those files in PI system.
My thought if this option(like check box) can add CBMA Alert itself it would be good but waiting for SAP PO Product team member advise. Right now CBMA has lot of alert rules all those are failure cases from source to target at the same level if we can get one option for success.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.