on 03-18-2014 9:38 AM
Hi All,
I have an ERP to File Scenario (CSV File generation )
File Structure
-<VMOReportsPart>
- <VMOReports>
<field1>
<field2>...
.....
<fieldn>
</VMOReports>
</VMOReportsPart>
Header Line is not getting generated in the output file.
CC file Configuration
RecordSet Structure: VMOReportsPart,VMOReports
VMOReportsPart.fieldSeparator ,
VMOReportsPart.endSeparator 'nl'
VMOReports.addHeaderLine 3
VMOReports.headerLine field1,field2,field3....fieldn
VMOReports.fieldSeparator ,
VMOReports.endSeparator 'nl'
All the Fields are populated but not with Header Value...
Even I have tried other combinations of adding Header Line for VMOPartsReport still no luck.,
Kindly provide your suggestions. PFA for your reference.
Best Regards,
Suresh S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat/Peter,
Your solution solved the issue.
Thanks for the help
Best Regards,
Suresh S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change (by mapping) the structure to
<VMOReportsPart>
fielda
fieldb
fieldc
</VMOReportsPart>
<VMOReports>
field1
field2
field3
<VMOReports>
Now make sure that <VMOReportsPart> has the header values in it (with occurrence 1)
No need to addHeaderLine. The structure <VMOReportsPart> is handled as a RecordSetStructure (as you had already defined it)
- - ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suresh,
Adding header line works only if 1 structure is defined in FCC. Since you've VMOReportsPart, VMOReports, I don't think it will work. This is standard SAP behaviour.
Check this link:
https://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Thanks,
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.