cancel
Showing results for 
Search instead for 
Did you mean: 

Premature end of file error during mapping

0 Kudos

Hi All,

It is an IDOC to SOAP Asynchronous scenario.

I am getting the error given in below screen shot during mapping.

But when I test the payload in mapping in ESR, it is successful.

I went through few blogs, but none of them solved my issue. Please help me

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Shathish,

The problem is your java mapping. Go to the monitoring and take the payload, later in your operation mapping try to test it. If the exception persits, you will need to add traces to your java mapping in order to know in which step is raising the exception. The usual causes are the mentioned by

Regards.

manigram
Active Participant
0 Kudos

Hello,

In mapping level XML validation may not done, so take the sender payload and send from RWM test tab, If it is PO then make your sender channel as file channel and try to process the file.

There might be some invalid character found in the payload. also save the payload in desktop and open in browser.

Regards,

Manigandan

nabendu_sen
Active Contributor
0 Kudos

Check whether your Inbound IDoc xml or Outbound SOAP xml is well formed or has any special characters.

Are you using IDoc_AAE adapter or ALE IDoc adapter? Save your IDoc XML and SOAP XML as xml files. Then try to open them with any Explorer (Firefox / Internet Explorer)

0 Kudos

Hi Nabendu,

I don't find any issue with IDOC (while executing it in mapping in ESR.)