on 01-11-2010 9:39 AM
Hi experts,
for interface Idoc to Legacies, we receive many alerts due to incorrect data.
Is it possible in the alerts received in inbox to systematically show directly in mail some specific fields of sent idoc that generated error (in example for idoc MATMAS, field MATNR, VKORG, VTWEG). ?
This because all errors come from that these data are incomplete (not missing).
Thanks a lot, any help would be greatly appreciated.
Kind regards,
Jamal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again for replies.
Christophe, could you elaborate 'in case of pb raise and alert', because if there is a mapping issue, how can this trigger the mapping making the call? Since the treatment should be stopped when mapping error right ?
Kind regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I've done in some of your JAVA mappings : in the StreamTransformationException catch block, I use a RFC lookup to call the SALERT_CREATE (or any other RFC compliant module that could be used to raise alerts in a SAP system) function ...
Thus, each time a mapping fails (because field is not filled correctly, or whatsoever), I can raised explicit alerts in a backend system
Chris
Hi,
You could add a mapping that will take care of structure / field / values verification, and if sthg is wrong then raise an alert using RFC lookups (ie, call SALERT_CREATE) with the relevant details of the error
Rgds
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thanks all for replies.
No we are not using BPM.
So there is no way to use 'classic' alert mails to contain data ?
If I refer to the blog XI Mail Adapter : Dynamically building attachment and message body content using a simple UDF, it is a bit more like a report that is triggered when the interface is triggered, not when we have errors, right ? Plus it has to be added in the scenario of the interface.
Thanks a lot again,
Jamal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Augastine for reply, could you please be a bit more specific ?
Kind regards,
Jamal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamal,
I think Augustine is referring to this blog of Michal. /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
But then you need to go for BPM. Are you using BPM in this interface? Without BPM this is going to be a little difficult, as I would suggest you to do some ABAP development to get the same
Regards
Suraj
Hi Jamal,
Use Container Variables to create dynamic messages
Regards,
J Augastine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.