on 03-26-2007 5:36 PM
Hi experts,
I have a simple requirement:
I have a simple synchronous scenario:
SOAP -> XI -> RFC
In a message mapping, one of the fields in the source message is of type String.
However, the target application (RFC) does not expect a non-numeric characters in this string.
My question is how can I perform the validation in XI and tell the sender that this field contains Non-numeric characters?
Please help.
Thanks.
Ron
Hi,
You need to use User defined function.
You can use regular expressions inside it:
/people/wojciech.gasiorowski/blog/2006/11/01/the-power-of-regular-expressions-in-graphical-mapping-xi
Regards,
Wojciech
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ron,
>>With a RunTime Exception thrown, how can I tell the sender an error has occured?
Sure. You can do this with out a BPM. You need to configure alerts for this. If you configure ALERTS and SCOTT, this will send an email of the errors occuring in your scenario.
For configuring and trouble shooting alerts check these
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Regards,
Jai Shankar
> Ron,
>
> >>With a RunTime Exception thrown, how can I tell
> the sender an error has occured?
>
> Sure. You can do this with out a BPM. You need to
> configure alerts for this. If you configure ALERTS
> and SCOTT, this will send an email of the errors
> occuring in your scenario.
>
> For configuring and trouble shooting alerts check
> these
>
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 2327
> https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
> 2328
>
> Regards,
> Jai Shankar
Hi Jai
I already have alerts configured.
But what I had in mind is to send a response to the sender (The sender is waiting for a reply since this is synchronous), instead of telling the sender through an alternative means such as email, sms, etc.
Is this possible?
Hi Ron,
What is your target system? If uoi are using server proxies, then you can avoid BPM by using Fault message types in your scenario. But this will not send a msg incase of mapping failure. This will send an error msg back to sender only if the request msg reaches the target system and some error occur during the processing in target system.
For other scenarios you have to follow Bhavesh's reply.
Regards,
Jai Shankar
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.