Hi Folks,
I have an annyoing situation when creating a file with file content conversion that I can't seem to get through.
My XML looks like this:
<?xml
version="1.0" encoding="UTF-8" ?>
version="1.0" encoding="UTF-8" ?>
<MessageType>INVOICE</MessageType>
</ns1:MT_FileContent>
My problem is that I alway get,when creating the file, whatever I put as endSeparator at the beginning of the file.
So, I do not get a file having just:
Some sample data
but I get, if I place the separator as tab, I get this:
Some sample data.
Why does this happen, I don't get it? There is just one field and one element, why should it receive a separator in the beginning when there isn't any.
The data in the file needs to be exactly as in the field, there can't be extra CRLFs or tabs or anything in the beginning.
Attached you also find the configuration of the file receiver adapter.
Please help if you have any idea.
I can't remove the message type because I use it for variable substitution in the filename.
Best regards,
George
P.S.: Please no links to help.sap.com because I've been through all of them already.