cancel
Showing results for 
Search instead for 
Did you mean: 

Error Message: Conversion of file content to XML failed at position 0: sun.

Former Member
0 Kudos

Hi Experts,

i strugle with a File 2 IDOC Scenario.

In the sender communication channel monitoring I get the error message:

Conversion of file content to XML failed at position 0: sun.io.MalformedInputException

Unfortunately I am not getting any further information and I do not know where the file-adapters problem is.

Tthe .fieldSeparator = # . Can this be the problem, that the file-adapter-engine can not handle # within file conversion? I also tried it with .fieldSeparator = '#' . But the error message is the same.

I am glad for any hints.

Thank you for your help in advance.

Regards,

Udo

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hey.. i got it.

The communication channel was told to read binary files... but it was a text file which was to read and we also had to change the file encoding to ISO.

Thanks for your help anyway

Former Member
0 Kudos

Hi.

Thanks for you fast answers. I will try it with an other fieldSeperator. Unfortunately I have to reorder the flat file, which is delivered by another department. So it will take a while.

Thanks so far

Former Member
0 Kudos

Hi Udo,

The error is due to wrong intput.

putting # might be a reson.

You Can try (,) or a space as a field separater.

Can you test this once.

Have to defined the field separated?

Regards,

Sumit Gupta

Former Member
0 Kudos

Hi UDO,

U can give the Field separator is #, I think its wrong,

pls give Filed Separator is Comma(,)..

Pls check it once.

Regards,

Skumar