on 02-19-2010 7:43 AM
Hi all,
We have a requirement where in are validating the incoming messages using the standard XML validation feature in PI 7.1.(we are using validation by integration engine)
If the message validation fails in Moni we have to send an alert email as well.Now alerts are coming in the alert Inbox using the standard alert functionality where in I am able to capture the error message which comes under the tag <SAP:Code area="XML_VALIDATION_INB">CX_XMS_SYSERR_VALIDATION</SAP:Code> using the standard container variables available(SXMS_ERROR_CODE and SXMS_ERROR_CAT)
Now the requirement is that the description of the error message which is the root cause of the validation failure appearing in Moni needs to be captured in the alert mail.This comes in Moni under the below mentioned tag as given below:
<SAP:P1>XML Validation for payload with root element name ReplenishmentOrderNotification , target namespace http://sap.com/xi/SAPGlobal20/Global Failed!Errors Encountered During Parsing 1.cvc-enumeration-valid: Value 'I' is not facet-valid with respect to enumeration '[1, 2, 3, 7]'. It must be a value from the enumeration. 2.cvc-type.3.1.3: The value 'I' of element 'DeliveryPriorityCode' is not valid.</SAP:P1>
Kindly guide me on how this message for the validation failure can be captured??
Thanks in advance,
Sowmya
Edited by: sowmya venkit on Feb 19, 2010 8:44 AM
solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have a requirement where in are validating the incoming messages using the standard XML validation feature in PI 7.1.
(we are using validation by integration engine)
If possible change the check to AE...Validation in Adapter Engine and use the alert container variable SXMS_TO_ADAPTER_ERRTXT ....you will receive the alert more quickly (as it will happen in AE) and you will also be able to receive the error text.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.