cancel
Showing results for 
Search instead for 
Did you mean: 

IdocConversionException.

vijay_b4
Active Contributor
0 Kudos

Hi,

I am facing below issue:

Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDoc-XML for type </CWM/MATMAS_BAPI01>:
state=READING_FIELD_VALUE_TAG, charPosition=5631, lineNumber=1, columnNumber=5632


Any suggestions please.


Thanks,

Vijay.

Accepted Solutions (1)

Accepted Solutions (1)

Bhargavakrishna
Active Contributor
0 Kudos

Hi Vijay,

As suggested by Vadim, verify the IDOC XML using XML editor [Notepad ++] and find the character position.compare both successful and error IDOC xml's you will get the root cause of this error.

There may be some unexpected character /  incorrect character set, or a special XML character is coming in IDOC which is different from the defined IDOC structure in ESR [SAP PI]



Regards

Bhargava Krishna

Answers (2)

Answers (2)

vadimklimov
Active Contributor
0 Kudos

Hello Vijay,

Please check forum thread which discusses similar issue - for example, . A good starting point would be to check the IDoc element at a specified character position (5631) and validate if it contains valid value (in terms of type, length, permitted values if any).

Regards,

Vadim

Former Member
0 Kudos

Make sure in the idoc pi mapping - begin and segment attribute should be having value  as "1"