on 07-06-2007 10:52 PM
Hi,
I have developed an Alert Category and within it I have developed a custom container that I want to populate using the Data from Payload (Source Message). Any suggestion that How can i populate the that and so the some Data field from Payload will appear in Alert Message.
By the way I am not using BPM.
Thanks.
-Adrean.
Message was edited by:
Adrean Hart
Adrean,
I think its not possible to alert based on payload without BPM. Please see the weblog and the discussion below in the weblog
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1382. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Without using BPM, you can think/try out with triggering an alert from UDF:
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
Otherwise, you can use email functionality to notify the error message rather an alert....so that you can customize your output format/or error message required.
Hope this helps,
Rgds,
Moorthy
Hi Moorthy,
I think that raising Alert from UDF will not work as I do not want to raise aler for all the time. I want to raise it only whe there is error somewhere in Integration Engine during Message Transmission (including mapping) to the target. As I am using HTTP receiver it is all part of IE and I want to raise alert only if somthing fails including HTTP service at target.
Though the email functionality that you mentioned is interesting/promising. Can you please provide more info on what can be done to achieve my scenario as mentioned above. I am using Graphical mapping. No UDF is being used in Message Mapping. In Interface Mapping besides using regular graphical mapping, a piece of Java code for additional mapping req. as second Mapping program.
Thanks.
-Adrean.
Hi,
As per the requirement, you need to raise an alert for mapping failure also right.
In this case I recommend you to go with the option of handling these errors in the mapping.
Now assuming the your Http receiver is sync. If it is a synchronous, you should get some response with a success. Based on this, you can raise an alert from the mapping using UDF or send an email with the receiver mail adapter.
For this entire logic of error and exception handling you need to do in the mapping. You will be having a mapping 1) for Send a req to HTTP Receiver
2) Get the response and map to one more interface
And based on this response send a mail or trigger an alert.
This will work when this is of SYNC scenario. If it is not, as http adapter is not part of J2EE adapter engine, you can not raise from Adapter engine level, After SP14, you can raise an alert for the J2EE based adapter engine directly...
Hope this helps
Rgds,
Moorthy
Hi Adrean,
You can fill custom containers using FM SALERT_CREATE or SALERT_CREATE_API.
Regards,
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.