on 07-18-2012 2:17 PM
Hi SAP Experts,
I succesfully created a alert rule and referred document by Michael in SAP PI7.31 Dual stack.
I am receiving the alerts but the mail subject and body contains the following.Refer to the screenshot.
I have following querries.
1.Can I change the subject and body of the mail?
2.I want to add all the XML message id of the failed message in SAP-PI at mail body.
3.Does this alert contains the system error?
4. Whats the difference when we configure the same using ALRTCATDEF and NWA?
Regards
Rebecca
Hi,
>>>1.Can I change the subject and body of the mail?
yes - but you'd need to use the API as shown in the second article:
this way you can just get the error and compose the e-mail as per your requirements
>>>2.I want to add all the XML message id of the failed message in SAP-PI at mail body.
with API you can easily get that and put it anywhere you need
>>>4. Whats the difference when we configure the same using ALRTCATDEF and NWA?
this is the old config (when PI had two stacks) - if PI has only one stack it's not possible to use it and this new configuration will be the one to which we will moving from the old one
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>I am working in PI7.31 which is Dual stack. So still the NWA configurations hold the same place?
you can still work with old alerts as in 7.3 but why ? if you're doing something new you should start with the alert framework which will be supported in the longer run and not with the one which will soon not work (once you upgrade to a single stack PI) but it's just my view,
Regards,
Michal Krawczyk
Hi All,
Were you able to edit the email subject and body. I understand you get the webservice response containing the alert payload, so do I need to parse the xml and then using the content construct my email body and then use a email adapter to shoot the mail to respective alert users ?
Regards
RJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rebecca and Michael,
I am in the same situation. I need to customize email body and subject of the mail of the alert. As per Micheal's answer I tried to use API's but not able to change the body and and subject of alert mail.
We are on SAP PI 7.31 single stack.
Can you please help me on this? How did you managed to change it using API or any other way?
Please reply to me as i am stuck here and it has became an urgent issue for us.
Thanks in advance.
Regards
Vidhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.