on 08-19-2009 10:01 AM
Hi all,
I'm sending messages to ERP through an ABAP Proxy.
My problem is that i get "checkered flag" in SXMB_MONI on ERP even though the execution of my my proxy class fails. (duplicate key etc.).
How can I get errors from my proxy to be reflected in SXMB_MONI on ERP? - so I get a red flag in case of "duplivate keys" etc.
Thanks
Thomas,
My problem is the the "DT_fault" message is as far as I can see not defined in PI 7.1
Will I have to define it myself? or can i find it somewere?
-
>In PI 7.1, ExchangeFaultData and ExchangeLogData are SAP provided message types that need be created for each scenario. In previous versions , these messages were automatically created after namespace creation, which is not the case any more .
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Thomas,
You need to raise the System exceptions from your ABAP program, if the error are related to your application or message, then you can go for fault message types and handle them in your server program.
Refer this blog, tells how to handle exceptions from server program:
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
Regards,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>Can't I define my exceptions directly in the class builder?
AFAIK, the only way to raise application errors on a server proxy was to use the Fault message as defined in the blog. I have tried to create an exception in the class builder earlier. But I was not successful in this approach.
Regards
Jai
From PI 7.1 Fault message is not available as a default component in every SWCV. You can create a new fault message type.
Please see http://help.sap.com/saphelp_nwpi71/helpdata/EN/dd/b7623c6369f454e10000000a114084/content.htm
which describes about error handling in Server proxies using Fault messages (PI 7.1)
Regards
Jai
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.