on 01-23-2008 10:02 AM
Hi friends,
My requirement is to put the column headings in file for just a recap of what each column represents.
My structure contains only one root node: Records
Please tell me the structure that need to be defined for displaying the field headings.
As per my knowledge, by adding
Records.addHeaderLine = 1 provides first column by space to the file. If I am correct then how can I display the columns heading.
If not correct please suggest the correct way for approaching the same.
Thanks in advance,
Regards,
Prathibha.
Hi Prathibha,
You are absolutly on right track...you could use the Records.addHeaderLine to add the column header lines.
xml.addHeaderLine=<n>
Specify whether the text file should have a header line with column names. The following values are permitted:
■ 0 No header line
■ 1 Header line with column names from the XML document
■ 2 as for 1, followed by a blank line
■ 3 Header line is stored as xml.headerLine in the configuration and is applied
■ 4 as for 3, followed by a blank line
This specification is mandatory.
○ xml.headerLine=<headerLineString>
Specify the header line that is generated in the text file if xml.addHeaderLine has the value 3 or 4. This specification is mandatory.
Refer,
Configuring the Receiver File/FTP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prathibha!
You are right..
Check this blog as a guide:
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Regards,
Matias
ps: please award points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.