on 05-13-2006 12:49 PM
Hi ,
I am trying to implement file content conversion. The output file gets created but there is no data in it . When i try to open it , an error message is displayed saying 'XML document must have a top level element. Error processing resource ' .
The file which i have used as input file is as follows :
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_FILETRANSFER_SD xmlns:ns0="http://xitraining.com/file.transfer.sd">
<NAME>
<NAME1>SRESTHA</NAME1>
</NAME>
</ns0:MT_FILETRANSFER_SD>
The recordset structure name is NAME and i have specified the following atributes :
NAME.fieldSeparator - ,
NAME.fieldFixedLengths - 13
NAME.ignoreRecordsetName - 1
NAME.FieldFixedType - char
NAME.enclosureSignEscape - (
NAME.fieldNames - NAME1
Please help .
Thanx ,
Srestha
Hi Srestha,
If your output as csv file, then no need of giving fixed field lengths.
So content conversion in the Receiver side will be
NAME.fieldSeparator - ,
NAME.fieldNames - NAME1
NAME.endSeparator -'nl'
To more-
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.