on 12-18-2013 5:09 PM
Experts,
I have flat file to iDoc scenario, we have dual stack and I am using IDOC_AAE for receiver channel. I have resolved all the connectivity related errors however now I am getting below error. I am not able to see the idoc xml in RWB, its showing the source xml. I have values in all the mandatory fields. any idea why I am getting this error and where i can see the idoc xml
IDoc: Error before sending due to IDoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type </SCWM/WMTCID01>: state=READING_FIELD_VALUE_TAG, charPosition=586, lineNumber=1, columnNumber=587
MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: IDoc: Error before sending due to IDoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type </SCWM/WMTCID01>: state=READING_FIELD_VALUE_TAG, charPosition=586, lineNumber=1, columnNumber=58
Thanks,
Nishant
Thanks everyone for your response. its a date format issue. I am trying all the formats but none is working. can you give me the exact format which will work or where i can find that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI All,
I am also facing the same issue,
Mine is file(.csv) to idoc scenario while processing idoc its failing in PO with below error.
Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDoc-XML for type <ACC_DOCUMENT03>:
state=READING_FIELD_VALUE_TAG, charPosition=1731, lineNumber=1, columnNumber=1732
Note iam using PO 7.4. single stack
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishan
Can you check below also:
Make sure you assign IDOC BEGIN=1 (Constant of value 1) all Begin=1 for all segment
& check note:OSS Note 1688780 - IDoc AAE Adapter fails to insert empty strings in database.
that may also help:
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishant
This error occurs when you send data in wrong format. The error message it gives is not correct. I have personally faced this. In my case also it was giving character position, but there was not problem in that position.
In my case the problem was that I was sending a blank value in the date field.
Try to send one segment at a time , disable the other segment in message mapping. In this way you will find out the segment which is causing problem and then you dig inside to find out the actual field.
I know it would be time consuming, but this will work for sure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
>> I am not able to see the idoc xml in RWB, its showing the source xml
Which version of PI u are using? Either enable staging at global level or interface specific level (in case u are using PI7.31)
>> I have values in all the mandatory fields
Make sure all the segment attributes are mapped with constant 1 + in case u are using dates then make sure the format is correct.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Amit for your suggestion on how to check the payload. I am able to see the payload now. All the required fields has value however still getting error. I am attaching payload as well as error. Please advice
iDOX XML Payload.
<?xml version="1.0" encoding="UTF-8"?>
<_-SCWM_-WMTCID01>
<IDOC BEGIN="1">
<_-SCWM_-E1LTCOH SEGMENT="1">
<LGNUM>W110</LGNUM>
<WHO>0000002419</WHO>
<SQUIT>X</SQUIT>
<PROCESSOR>Administrator</PROCESSOR>
<CONFIRMED_DATE>12/04/13</CONFIRMED_DATE>
<_-SCWM_-E1LTCOI SEGMENT="1">
<TANUM>2535</TANUM>
<SQUIT>X</SQUIT>
<ALTME>EA</ALTME>
</_-SCWM_-E1LTCOI>
</_-SCWM_-E1LTCOH>
</IDOC>
</_-SCWM_-WMTCID01>
Error
03.01.2014 14:26:02.165 | Error | IDoc: Error before sending due to IDoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type </SCWM/WMTCID01>: state=READING_FIELD_VALUE_TAG, charPosition=586, lineNumber=1, columnNumber=587 |
03.01.2014 14:26:02.170 | Error | MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: IDoc: Error before sending due to IDoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type </SCWM/WMTCID01>: state=READING_FIELD_VALUE_TAG, charPosition=586, lineNumber=1, columnNumber=587 |
03.01.2014 14:26:02.181 | Error | Exception caught by adapter framework: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type </SCWM/WMTCID01>: state=READING_FIELD_VALUE_TAG, charPosition=586, lineNumber=1, columnNumber=587 |
03.01.2014 14:26:02.182 | Error | Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: IDoc: Error before sending due to IDoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type </SCWM/WMTCID01>: state=READING_FIELD_VALUE_TAG, charPosition=586, lineNumber=1, columnNumber=587 |
Can you check if the below notes are applicable to you
1860336 - JIDocLib: Check XML character range validity in IDocXML
1801511 - IDOC_ERROR_PARSE_FAILURE while sending IDoc Extension
Hi,
Looks like there might be some values missing in the IDoc as per xsd..
As the new Idoc adapter IDoc_AAE does a validation of the IDoc against the xsd..so check the Idoc generated is as per IDoc xsd.. like segment should have value 1 as per xsd..else will end up getting the above errors...
This is the new feature of the idoc_aae adapter..
HTH
Rajesh
Hello,
>>IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type </SCWM/WMTCID01>: state=READING_FIELD_VALUE_TAG, charPosition=586, lineNumber=1, columnNumber=587
Open failed idoc xml and check 586th character of the payload, I believe either u have provided some incorrect value or missed populating some mandatory attribute segment.
Thanks
Amit Srivastava
Hi Nishant,
If you mapping is right you should check this note:1688780 - IDoc AAE Adapter fails to insert empty strings in database
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.