on 10-17-2012 6:20 AM
Hi ,
Scenario is : Proxy to Proxy. i.e. application A to B.
mode : synchronous.
When both application are running, for some issue application B would through an exception and it will go to A as fault. This is possible when B up and running.
How to route a fault message when application B is down.
(My thinking: when B is down , exception wont be raised, then how application A would get the fault. An alternative will be to have alert mechanism but would that trigger a fault message or let me know if there is any alternative).
Thanks,
Vishal
Hi Vishal,
As Beena said, when the message is not able to reach the target system, it throws an exception if alert configuration is done with System error status.
If you would like to have the status back to Source system, then write a piece of code in PI system to check for the error status messages with respective of the interface. But this is not recommended.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
You may catch the error in sender proxy class using exception class
CX_AI_SYSTEM_FAULT.
Please check the link posted earlier:
You distinguish system errors using error codes; these are managed and documented centrally for all systems. The application can display an error message by using the attributes CODE and ERRORTEXT of the exception class.
Regards,
Beena.
Hi Vishal,
If the target system is down, there will be system error in PI and proxy can catch system errors.
Please check below link:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm
Regards,
Beena.
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 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.