on 06-27-2011 5:20 AM
Hi Experts,
I have a file to file scenario. I have created a alert category and alert rule.
The alert title is setup as:
Error: &SXMS_ERROR_CODE& ( category &SXMS_ERROR_CAT& ) was found in a message &SXMS_MSG_GUID& from system &SXMS_FROM_SERVICE& and from interface &SXMS_FROM_INTERFACE&
The alert short text is setup as:
Error Details: &SXMS_TO_ADAPTER_ERRTXT&
however when the alert is triggered the title text is coming as expected but the short text contains only "Error Details:". That is, no value is printed by container variable SXMS_TO_ADAPTER_ERRTXT. Why is this so? What am I missing?
I want to get the exception details as we get in SXMB_MONI.
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_DataIn_To_DataOut_</SAP:P1><SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
<SAP:P3>on: Cannot create target element /ns0:DataOut/Tota</SAP:P3>
<SAP:P4>l. Values missing in queue context. Target XSD re~</SAP:P4>
<SAP:AdditionalText/>
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_DataIn_To_DataOut_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:DataOut/Total. Values missing in queue context. Target XSD re~
</SAP:Stack>
Please help
Thanks
Gopal
for long text (adapter errors) use the below
&SXMS_TO_ADAPTER_ERRLINES[]&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Error Details: &SXMS_TO_ADAPTER_ERRTXT&
ADAPTER_ERRTXT holds a value only when the alert is raised from Adapter Engine....your error testx shows that the error is from IE (mapping) ....make the channel faill and you would see Error Details: containing some value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried by giving the required parameters to long text in ALTCATDEF transaction ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I gave the required parameters in Long text as well but still no values displayed.
Long text is setup as below:
Error Details: &SXMS_TO_ADAPTER_ERRTXT&
Param1: &SXMS_AF_ERRPAR1&
Param2: &SXMS_AF_ERRPAR2&
Param3: &SXMS_AF_ERRPAR3&
Param4: &SXMS_AF_ERRPAR4&
Val1: &SXMS_AF_ERRVAL1&
Val2: &SXMS_AF_ERRVAL2&
Val3: &SXMS_AF_ERRVAL3&
Val4: &SXMS_AF_ERRVAL4&
Edited by: gopalkrishna baliga on Jun 27, 2011 7:37 AM
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.