Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

File receiver adapter - content conversion

$
0
0


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"
?>

 


-<ns1:MT_FileContent xmlns:ns1="urn:FileSplit:10">

 

      <MessageType>INVOICE</MessageType>
-      <Recordset>
-           <Rows>

 

                <DataRow>Some sample data</DataRow>
             </Rows>
     </Recordset>
</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.

Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>