Skip to Content
avatar image
Former Member

Receiver IDOC_AAE issue, Premature end of file

Hi All,

I am working on PO 7.31 SP10, my scenario is SOAP to IDOC_AAE.

When vendor triggered the message, it is failing in receiver IDOC_AAE communication Channel (Brand new interface).

Adding control record to payload failed due to SAXException while parsing to extract control record: Premature end of file.

MP: exception caught with cause com.sap.aii.af.idoc. exception.IDocAdapter Exception: SAXException while parsing payload to extract control record: premature end of file.

Exception caught by adapter framework: premature end of file.

Transmitting the message to endpoint <local> using connection SOAP_http://sap.com.xi/XI/System failed, due to : com.sap.aii.idoc.exception.IDocAdapterException: SAXException while parsing payload to extract control record: premature end of file.

I have gone through the below link, but I am not sure it works fine in case as I am on the latest version.

https://scn.sap.com/thread/3437345

Can someone help me to fix the issue.

Thanks in Advance,

Regards,

Vishnu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Nov 17, 2015 at 08:15 AM

    Hi Vishnu,

    Have you checked the check box "Apply Control Record from Payload" in IDoc receiver channel?

    If yes, have you mentioned the LS in your Sender Business system?

    Regards,

    Nitin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI Nithin,

      Thanks for looking into the issue.

      As the adapter is IDOC_AAE, I have selected Not mandatory option in advance tab of IDOC_AAE

      As I am getting the orders of same message type from different vendors

      Below is the screen shot of same.

      Regards,

      Vishnu

      Idoc_Rcvr.JPG (9.4 kB)
  • Nov 17, 2015 at 08:32 AM

    Hello Vishnu,

    This error mostly because of data issues.

    Test the payload in the mapping.some fields should be missing.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2015 at 09:34 AM

    Hi VIshnu,

    The request from SOAP is not complete, this would happen in case of xml is not formed properly. One way is you can download the xml and try opening in the internet explorer. If that is the case you would have to send a new request from SOAP.

    --

    Sendhil

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2015 at 11:43 AM

    Hi Vishnu,

                    Take the source payload in an XML editor. Check if each value is valid as expected. This is a data issue.

    Regards

    Anupam

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 15, 2015 at 11:29 PM

    Hi Vishnu,

    Did you got any reply? I am getting the same error, can you please suggest what you have done?

    Thanks,

    Nidhi

    Add comment
    10|10000 characters needed characters exceeded