on 2008 Aug 11 9:52 AM
Hi All,
I've a query related to FCC - header line for the following structure.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Testxmlns:ns0="urn:test:file">
<Record>
<Record1><field1>X</field1><field2>B</field2></Record1>
<Record2><field2>C</field3><field4>D</field4></Record2>
<Record3><field3>E</field5></Record3>
</Record>
<Record>
<Record1><field1>K</field1><field2>L</field2></Record1>
<Record2><field2>M</field3><field4>N</field4></Record2>
<Record3><field3>O</field5></Record3>
</Record>
</ns0:MT_Test>
And the file output (after FCC) should be as follows, where H1, H2 and H3 are the headers and the rest are the file values.
H1,H2,H3
X;C;E
K;M;O
FCC Param is like: Record1.fieldSeparator = ; and Record1.headerLine = 1 and same for rest two. But the output file generated doesn't have the Header line generated. Please let me know the FCC setting for the same.
Thanks,
Joe.
Joe,
The parameter should be Record1.addHeaderLine = 1([http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm]
Kind regards,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. If u require the header to be same as the XML name then use the FCC
<Field>.addHeaderLine = 1.
2. If u want to specify your own header name use the FCC
<Field>.addHeaderLine = 3
and define the name in the FCC <Field>.headerLine
Thanks
SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.