on 08-11-2014 6:33 AM
Hi All,
My scenario is Proxy to File, where the output file is csv (flat file). The problem is with the output file
where I have to populate space in between the header field in the output csv file.
for example: If the Target fields are like, SupplierNumber, CustomerAccount then the putput csv file sould be
Header fields : Supplier Number,Csutomer Account
Can anyone quickly help on the this requirement.
Many thanks,
Rahul.
Hi Rahul,
Add a new structure in the Data type as Header.
Populate the fields with constants as "Supplier Number",
"Customer Account".
Then in Communication Channel, change the FCC parameter as
Header.fieldSeparator as ','
Header.endSeparator as 'nl'.
Then it should work.
Thanks,
Kanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
You can add header with space for your FCC in receiver file adapter. Add below two parameters in FCC, it will generate file with the headers specified.
NameA.addHeaderLine : 3
NameA.headerLine: Supplier Number,Customer Account
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.