cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC_ERROR_PARSE_FAILURE

Former Member
0 Kudos

Hi All,

I am using PI 7.31 Single stack and my senario is JMS to SAP while sending data to ECC it is showing the below error.

but the same payload is working fine on my previous version 7.1 dual stack

IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZFAP_LIMSYTOSAP>:
state=READING_FIELD_VALUE_TAG, charPosition=413, lineNumber=1, columnNumber=414

Thanks in Advance.

Regards,

Prasad.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

There is no mapping only sending the data using ID and also no  idoc extension used .Below is the payload using

- <ZFAP_LIMSYTOSAP>

- <IDOC BEGIN="1">

- <EDI_DC40 SEGMENT="1">

  <TABNAM>EDI_DC40</TABNAM>

  <DIRECT>1</DIRECT>

  <IDOCTYP>ZFAP_LIMSYTOSAP</IDOCTYP>

  <SNDPOR>1</SNDPOR>

  <SNDPRT>1</SNDPRT>

  <SNDPRN>1</SNDPRN>

  <RCVPOR>1</RCVPOR>

  <RCVPRN>1</RCVPRN>

  </EDI_DC40>

-

Former Member
0 Kudos

Hi Prasad

This error occurs if wrong data sent in IDOC. Check the date field if u have any in the idoc. The date should be sent in correct format.

Check the metadata of the IDOC and verify that you are sending data to all fields as per the metadata definition.

Former Member
0 Kudos

Hello,

>>An IDocConversionException occurred while parsing IDocXML for type <ZFAP_LIMSYTOSAP>

U are using any idoc extension?

Check this note: 1801511

Thanks

Amit Srivastava

Harish
Active Contributor
0 Kudos

Hi Prasad,

Please check the IDOC XML which you are sending to ECC. check the line charPosition=413, lineNumber=1, columnNumber=414, it seems unexpected tag is found in the IDOC XML.

Please check the IDOC XML against ECC idoc structure (WE60).

regards,

Harish

former_member184720
Active Contributor
0 Kudos

Hi Prasad - the java IDOC adapter does xml validation and hence you are getting this error.

Make sure you mapping all the mandatory attributes in your IDOC such as segment are mapped with some constant "1".


former_member184720
Active Contributor
0 Kudos

It's not an unexpcted tag - instead it is an unexpected value for one of the field.

This happens when you have things like inserting a string into NUMC type field.

Find out the field at the position charPosition=413 and check for the IDOC structure in the SAP system..

Former Member
0 Kudos

There is no mapping only sending the data using ID.Below is the payload using

- <ZFAP_LIMSYTOSAP>

- <IDOC BEGIN="1">

- <EDI_DC40 SEGMENT="1">

  <TABNAM>EDI_DC40</TABNAM>

  <DIRECT>1</DIRECT>

  <IDOCTYP>ZFAP_LIMSYTOSAP</IDOCTYP>

  <SNDPOR>1</SNDPOR>

  <SNDPRT>1</SNDPRT>

  <SNDPRN>1</SNDPRN>

  <RCVPOR>1</RCVPOR>

  <RCVPRN>1</RCVPRN>

  </EDI_DC40>

-

-

former_member184720
Active Contributor
0 Kudos

This is not the complete payload right? if so i dont see an end tag for <ZFAP_LIMSYTOSAP><IDOC>

can you please share the complete payload.

Harish
Active Contributor
0 Kudos

Hi Prasad,

from your XML the IDOC control record data sender port, receiver port and partner type is not correct, but this should not give the parsing error.

please provide the more data as the given data is only till col 234.

regards,

Harish