on 01-09-2007 3:18 PM
Hi
I need to transform text file with 1 line to this xml
my line for example is ABC
is it possible to convert it with content conversion to this strucutre ? or do I have to use another node in xml?
***<FI_Hashav_Mail_MT>
*******<Text>ABC</Text>
***</FI_Hashav_Mail_MT>
another node is
***<FI_Hashav_Mail_MT>
*****<Line>
*******<Text>ABC</Text>
*****</Line>
***</FI_Hashav_Mail_MT>
Hi,
I dont think the strucutre1 can be created using the sender file adapter.
***<FI_Hashav_Mail_MT>
*******<Text>ABC</Text>
***</FI_Hashav_Mail_MT>
The reason is your RecordsetStrcuture is mandatory field in the content conversion parameters and for every element in the RecordsetStructure you will need a .fieldNames as well.
You will need a strcuture like this,
***<FI_Hashav_Mail_MT>
*****<Line>
*******<Text>ABC</Text>
*****</Line>
***</FI_Hashav_Mail_MT>
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I think it is not possible to convert it with content conversion to this strucutre.
Just see this link for the structure you should use:
http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
You need to insert another node as mentioned in the before posts.
Regards,
Gunasree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Firstly you need to mention the Recordset Structure as this the mandatory filed for any file content conversion.
Also you need to for fixed length formats for the field names in this case.
For eg: consider the Recordset Structure to be Row,*
then Row.fieldNames should be mentioned as ABC,......,....(in case of more than one field name).
Also the separator for these filed names should be mentioned,so that if it has second line it picks up the entire second line.
Regards
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shai,
You can do it very easily. In content conversion you specify the total maximum length of the line then it picks up the entire row. Also specify the endseparator as 'nl' so that if it has second line it picks up the entire second line.
But you have to give maximum length for the row of the file.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.