on 01-03-2014 2:13 PM
Hi PI community,
we have PI 7.31, SP07 AEX and there is one sync interface with RFC2SOAP scenario.
When SOAP adapter gets fault message back from external server, we receive alert mail about this message like:
"AdapterType": "UNKNOWN",
"Component": "af.xxxx.xxxx",
"ErrCat": "Application",
"ErrCode": "APPLICATION_ERROR",
"ErrLabel": "-1",
"ErrText": "application fault",
"FromParty": "XXXX",
"FromService": "XXXXX",
"Interface": "XXXXXXXXXX",
Because this is not really an error, and no action is needed from PI perspective, so I want to suppress this kind of alert mail. My question is, is it possible to suppress it, if yes, how should I configure the corresponding alert object.
Thanks & regards
Dingjun
Update:
I removed the inbound sync interface from alert object and put the corresponding ICO object into i. Now it looks that our problem is resolved.
Regards
Dingjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dingjun
When your web web service is returning fault message , the message is failing in SAP PI and hence the alert message is getting generated.
Now below is the way by which you can get fault message as processed status in SAP PI and no error message will be triggered.
Use the option ‘Do Not Use SOAP Envelope’ and then in the module use the below parameters
XMBWS.NoSOAPIgnoreStatusCode
Transform.ContentType
AF_Modules/MessageTransformBean
Use java mapping to populate the soap envelope.
Once you do this the fault message will come as response payload in SAP PI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
a very simple way is to not define any alert rules for that particular interface flow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shabarish,
thanks for your reply.
We used an ICO obejct for this interface and added the service interface in the alert object. If we don't define any alert rule for this interface, then we will not receive any alert mail, if something goes wrong like mapping error or delivery error on SOAP adapter etc.
We also received other alert mail about this interface with below content:
"AdapterType": "SOAP",
"Component": "af.snp.ins-snp-62",
"ErrCat": "XI_J2EE_ADAPTER_SOAP",
"ErrCode": "SOAP_ADAPTER_PROCESSING_ERROR",
"ErrLabel": "2003",
"ErrText": "java.io.EOFException: Connection closed by remote host.",
So we don't want to suppress all alert mails for this interface, only a kind of alert with error category: Application:
"ErrCat": "Application",
"ErrCode": "APPLICATION_ERROR",
How can we get this?
Regards
Dingjun
Hi Dingjun,
In this case you need to define the alert rule for Integration engine Category "Application" for all the Error codes except "ABAP.APPLICATION_ERROR".
Please define the alerts configuration for all Error Codes execpt "ABAP.APPLICATION_ERROR".
I never tried this so please share your the feedback after your change.
regards,
Harish
Hi Jia -
The below approach may address your issue but requires developing an interface.
Also i see that there is an option to create custom job and not sure whether you can route the alerts based on the error content. May be Amit Srivastava can add.
http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/11/18/customized-alerts-in-sap-po
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.