cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDoc-XML for type

Former Member
0 Kudos


Hi All

I am getting below error while sending the data file to IDOC.

Exception caught by adapter framework: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDoc-XML for type <DELFOR01>:state=READING_FIELD_VALUE_TAG, charPosition=25853, lineNumber=1,columnNumber=25854

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: Error before
sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An
IDocConversionException occurred while parsing IDoc-XML for type
<DELFOR01>:
state=READING_FIELD_VALUE_TAG, charPosition=25853,
lineNumber=1, columnNumber=25854

could you please help on this.

Thanks

Prem

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182412
Active Contributor
0 Kudos

Hi Prem,

Check below SAP Note for reason for this failure.

2036878 - IDoc_AAE: Disable field datatype validation during IDoc-XML parsing

The reason is that the IDoc-XML contains fields that are incompatible with the datatype defined in the IDoc metadata definition of the processed IDoc.

Regards,

Praveen.

RaghuVamseedhar
Active Contributor
0 Kudos

Prem,

This is data issue, request source system to send valid data. Please check for date field around character 25854. Date should be according to format defined in SAP (usually yyyyMMdd). 

engswee
Active Contributor
0 Kudos

Hi Prem

Are you using the standard SAP_XI_IDOC/IDOCXmlToFlatConvertor module?

Check out what is at position 25853 in the payload. If possible, can you share the few fields around that section of the payload.

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng Swee,

Thanks for your reply.

we are using standard IDOC only DELINS.DELFOR01.It is a inbound interface.

We are using sender COMM Channel VdaConverterModule.

I am not able to find postion.how we can find that postion.

Thanks

Prem

engswee
Active Contributor
0 Kudos

Hi Prem

Ok. I think I missed the part "file to IDoc".

Can you confirm if you are on single stack and using IDoc_AAE adapter?

Also, do you have any mapping in the scenario? Are you able to get the payload after mapping? If you are, then paste the payload into a text editor and try to go to that position.

I personally use Notepad++ and I can find the position of the cursor at the status bar.

Once you are able to find the data around the position, then please provide the details here so that we can analyse it further.

Rgds

Eng Swee