cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I am getting an IDoc error: IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type.

Former Member
0 Kudos

Please find the detailed error msg:

(its a File to Idoc scenario) PI version: 7.3

File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.conn.idoc.IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type :

state=READING_FIELD_VALUE_TAG, charPosition=554, lineNumber=1, columnNumber=555" tabIndex=0 ti="0" lsdata="{0:'Transmitting the message to endpoint using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.conn.idoc

Accepted Solutions (0)

Answers (5)

Answers (5)

jayaraj2018
Explorer
0 Kudos

Hi,

My 2 cents on this issue.

Whenever there is an IDoc parse failure due to READING_FIELD_VALUE_TAG, try following the steps below.

The charPosition in the error helps to locate the data error in payload.

1. If unsure, first analyze the DATE and TIME fields in the payload to check if those are in SAP standard format.
2. Second, if data/time is not an issue, then verify if all data in idoc fields adheres to Data Type of the respective fields. Like check if a CHAR string is being passed on to an idoc field that is expecting data in DEC format.

Regards,

Jay

former_member184789
Active Contributor
0 Kudos

Hi,

Do one thing, In the message mapping test tab, click on generate test instance & click on source to get an XML with no data. In other words, send an XML with no values. For eg if source contains two fields F1 & F2,then instead of sending

<Root>

<F1>12000</F1>

<F2>ABC</F2>

</ROOT>

Send the data

<Root>

</F1>

</F2>

</ROOT>

Since this empty XML does not contain any data, if this is successful then it means that the XML which is giving error contains some character which couldn't be parsed. Then you can check out for whitespaces etc. in the XML.

Former Member
0 Kudos

I have tried the same., but in vain., I have also disabled the IDOC Control Record and tried , that too diodnt work

former_member184789
Active Contributor
0 Kudos

Hi,

Could you let us know what happened when you sent empty XML. If it gave the same error then it means the original file is correct. In that case go through the threads posted above by Sunil.

Former Member
0 Kudos

Hi Karthi,

Check whether you are populating correct formats for dates as expected in Idocs. Most of the time we faced the error for date format. Idoc adapter checks with the meta data before sending the Idoc to ECC in 7.3.

Regards,

Malini

smavachee
Active Contributor
0 Kudos

Its commonly observed error with SAP PI 7.3 (Java only) and discussed in few other threads as well.

IDOC_ERROR_PARSE_FAILURE

Hope it helps.!

Regards,

Sunil

Former Member
0 Kudos

Hi Karthi,

Please check the below threads.

http://scn.sap.com/message/13871092

http://scn.sap.com/thread/1959625

Thanks,

Satish.