on 07-31-2012 4:38 AM
Hi All,
I am implementing file(text file) to idoc scenario.There can be different steps where a message can be failed. So wanted to know different ways of tracking an error and sending an error notification to the sender?
1) Failure while doing FCC-> How to inform sender that the file is corrupt?
2) Failure at mapping level -> how to send a notification to the sender application that the message has been failed?
Regards!!
Hello Vasanth,
Please go through below SDN posts,it may be helpfull
http://scn.sap.com/thread/2096476
http://scn.sap.com/thread/1197860
Regards,
$HRI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>Failure at mapping level -> how to send a notification to the sender application that the message has been failed?
Just curious. Why do you want to send mesg to the sender system if the error occurs at the mapping level? is that due to invalid data?
IMHO, the error occurs at the mapping level due to various reasons example like mapping logic errors or improper condition handling in the mapping or so. It's not really easy to distinguish between your mapping error vs data invalid issues. Instead you can set Schema validation which is first step in the pipeline step. You might want to use XSD for the equivalent XML sender message structure and validate. If the error happens due to constraints of size of the field or types etc, you can send alert mail to the sender system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. Vasant.
For these requeriment you can try to set up Alerts.
Check below links.
http://scn.sap.com/community/pi-and-soa-middleware/blog/2005/09/09/xi-alerts--step-by-step
http://scn.sap.com/docs/DOC-3804
Regards
Lucho.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
a) I want to send alert notification to sender application system which is not a sap user.
You can send an email to the sender and to use the alert configuration: http://scn.sap.com/docs/DOC-3804
b) and if i am correct alerting wont come into picture for any errors which occurs on sender channel?
Check this thread, may be could help you: http://scn.sap.com/thread/3175552
Regards and good luck.
Hello!
- For the error during the java mapping, you can create the alerts based on the blog below:
You can send the alert e-mail to an external user.
- For an alert specific for FCC, like "FCC failed: Check structure", I don't think there is a direct way of doing it. Instead, you can force the message to go to the mapping program, and then you are able to handle it again with an UDF, like mentioned on the blog below:
Please let us know if any of the recommendations are useful!
BR,
Lucas Santos
User | Count |
---|---|
84 | |
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.