cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC_ERROR_PARSE_FAILURE: An IDocIllegalTypeException occurred while parsing IDocXML:state=READING_SEGMENT_STARTTAG

suman_saha
Contributor
0 Kudos

Hello Experts,

We are getting a strange issue while trying to post IDOC into ECC through PO 7.31 Single Stack.

We are having a custom segment in IDOC with a single field.If we don't create that segment in PO,i.e. if we don't map this segment the IDOC is getting posted.But if we map the custom segment(setting SEGMENT=1),we are getting error "com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.conn.idoc.IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: An IDocIllegalTypeException occurred while parsing IDocXML for type <*IDOC_NAME*>:

state=READING_SEGMENT_STARTTAG, charPosition=834, lineNumber=1, columnNumber=835".

I have gone through other discussion in scn related to this exception,but they are not similar to our problem.

Please suggest.

Regards,

Suman

Accepted Solutions (1)

Accepted Solutions (1)

suman_saha
Contributor
0 Kudos

Restart has done the trick.

Former Member
0 Kudos

Hi Suman,

What did you exactly do to resolve this issue?

Thanks,

Vertika

suman_saha
Contributor
0 Kudos

Hi,

We restarted the server. The IDOC metadata was not getting refreshed even after re-importing.

Suman

Answers (1)

Answers (1)

sunil_singh13
Active Contributor
0 Kudos

Suman,

Delete the Metadata from Idoc Adapter and let it Regenerate at Runtime. Also Try to Reimport Idoc and see if it gives any error.

Thanks,

Sunil

suman_saha
Contributor
0 Kudos

Hi Sunil,

I have re-imported Idoc as many as 10 times,even created separate message and operation mapping,new Idoc receiver channel.But still no luck.

Regards,

Suman