on 06-09-2011 2:22 PM
Hi,
I have a flat file of the following structure I am attempting to convert to XML using a file sender adatper:
H1,H2,H3,H4
D1,D2,D3,D4,D5,D6
D1,D2,D3,D4,D5,D6
D1,D2,D3,D4,D5,D6
.
.
.
.
T1,T2,T3,T4
Within the Content Conversion tab I have a Recordset Structure of:
Header,1,Detail,*,Trailer,1
i.e one header record, multiple detail records and one trailer as per the above example.
It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
Anyone help ?
>>It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
Yes you need to set key field value for your Header, Detail and Trailer
Example:
Header.keyFieldValue H1
Detail.keyFieldValue D1
Trailer.keyFieldValue T1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. To do this I would need to have a Key Field Name of something like KeyField
Each of the three substructures would then need to have a field called KeyField at the start of their fieldNames parameter ie:
Header.fieldNames KeyField,............
Detail.fieldNames KeyField,............
Trailer.fieldNames KeyField,...........
Is this correct ?
yes. you will need a key field name to be set in your case, H1, D1 and T1
Sample FCC refer:
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.