cancel
Showing results for 
Search instead for 
Did you mean: 

Exception caught by adapter framework: Premature end of file.

nidhi_srivastava22
Active Contributor
0 Kudos

Hi Experts,

I am getting the error as  mentioned below in my Idoc receiver adapter.

Error

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

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

Exception caught by adapter framework: Premature end of file.

I went through the thread - https://scn.sap.com/thread/3437345

Checked my Messaging component,upgraded it to latest patch.After Upgrade, it worked for few interfaces but still the error persist for few.

Now, again I can see I am getting the same error for all the Idoc receiver channel interfaces.

PFB the messaging component patch details -

Can you please suggest, what could be the solution? I already deleted and recreated the ICO's but still the issue persists.

Please help.

Thanks,

Nidhi Srivastava

Accepted Solutions (0)

Answers (1)

Answers (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Nidihi,

Try adding parameter FieldValidationEnabled = False in advanced parameter in receiver IDOC_AAE channel.

br,

Manoj

nidhi_srivastava22
Active Contributor
0 Kudos

Hi Manoj,

I tried adding this parameter, still having the same error.

Please suggest.

Thanks,
Nidhi