Skip to Content
avatar image
Former Member

IDOC_ERROR_PARSE_FAILURE (PI 7.31, Java Only, IDoc_AAE)

Hello community,

we are facing an error since we started our migration from PI 7.1 to PI 7.31 AEX. It is a File to IDoc scenario. On release 7.1 it is working perfect with the ABAP IDoc Adapter but the IDoc_AAE Adapter seems to parse the XML IDocs in another way.

However, our error-message is:

IDoc: Error before sending due to IDoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <IDOCTYPE>:

state=READING_FIELD_VALUE_TAG, charPosition=512, lineNumber=1, columnNumber=513

We already found out that the charPosition mentioned in the error-message is a komma (",").

So we change the payload to numbers with a "dot" instead of a "komma" (e.g. "1.00" instead of "1,00"). Now it is working properly but the backend system (SAP-System) needs the data with a "komma" (especially the field in the target IDoc, configurated as type "decimal").

Does anybody know how to disable the parsing or at least make it less sensitive?

Is anybody else facing the same issue?

Thank you very much in advance!

Best Regards,

Thomas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Jan 09, 2013 at 01:17 PM

    Hello Thomas,

    Check if you already have the patch recommended in note #1801509 CRETIM not valid in idoc control record.

    See also note #1791798 731 SP05: IDoc adapter Fixes

    Regards

    Mark

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Mark.

      thank you for your reply. I think note #1801509 is not relevant in our case due to the fact that it is working with dots instead of commas.

      I already found note #1791798 but we are on Rel. 7.31 SP4 PL20 and the note is for SP5 and SP7

      Some other ideas?

      Thanks in advance!

      Regards,

      Thomas

  • avatar image
    Former Member
    Feb 25, 2013 at 07:57 AM

    Hello community,

    for all those who have the same problem.

    The IDoc-Parsing is much strikter on PI 7.31 (java only). The only way is to:

    1. Check the IDoc-definition (e.g. on the SAP-Backend). Change the mapping in ESR, so that the not accepted signs are converted to the correct form.

    2. Change the segments of the IDoc to format "character", so all signs are accepted.

    Regards,

    Thomas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2013 at 07:51 AM

    Does somebody has some more ideas?

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 25, 2013 at 10:28 AM

    Make sure that all the attributes of all mapped segments are mapped with constant 1

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Yeah i have chkd ., its all fine.,

      anything else to chk., ? (other than applying the OS Note !   :-)  )

      regards

      karthi

  • avatar image
    Former Member
    Mar 08, 2013 at 06:34 AM

    Whether you checked the metadata of idoc in the SAP system for the particular node.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member A D

      I just want to follow Adarsh. Remember to sent empty idoc with all attributes filled, like attribute "BEGIN" and "SEGMENT". So when parsing IDOC xml, IDOC_AAE adapter is stricter than ABAP based IDoc adapter.