cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver IDOC_AAE issue, Premature end of file

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

nidhi_srivastava22
Active Contributor
0 Kudos

Hi Vishnu,

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

Thanks,

Nidhi

anupam_ghosh2
Active Contributor
0 Kudos

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

sendhil_kumar
Active Participant
0 Kudos

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

Former Member
0 Kudos

This message was moderated.

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

This error mostly because of data issues.

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

Former Member
0 Kudos

Hi Raghu,

I have tested the payload in message mapping and operation and it works fine.

I can see the message fails status in IDoc_AAE receiver channel.

Thanks

Vishnu

former_member186851
Active Contributor
0 Kudos

Do a metadata refresh and check once.

nitindeshpande
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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