on 11-17-2006 4:48 PM
Hi all,
I want to convert a XML to a CSV-file using file reciever adapter.
Doing this I want to add the
The parameter for content conversion:
recordset: ET_AWB,item
parameter list:
item.addHeaderLine = 1
item.fieldSeparator = ;
ET_AWB.addHeaderLine = 1
ET_AWB.fieldSeparator = nl
The file is created successfully but the header line is not writen. Could it be that the header line is only created if the recordset is a single type?
Can anybody help me?
Thanks a lot!
Florian
HI,
One option is to make the header is part of payload , so like other details , you can get the first line as header line.
To know more- http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
REgards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI all,
thanks for the information!
My scenario is a RFC-Message with more than 1 table which is mapped into several RFC-Messages (Message split).
Because I use RFC-functions for mapping I do not want to change the XML because then I would need an own DT/MT.
Probably because the record type is not a single recordset it doesn't function.
Unfortunately also the option from Prakash with explicitely defined header names doesn't function. Has anybody one more idea? Or is this what I want to do impossible?
Thanks a lot!
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can also try with another option that is available..
item.addHeaderLine = 3
item.headerLine = AWB_PA_NR,VKORG,...etc,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
make a small change in you DT/MT so that your target XML looks like;
- node and then use the following in FCC;
recordset: item
parameter list:
item.addHeaderLine = 1
item.fieldSeparator = ;
item.endSeparator = 'nl'
it will work now.
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.