on 01-20-2012 6:17 AM
Hi All,
I have a file with format like :
HDR123
4567test
4567test1
TRL456
The problem Im facing is the header and trailer record starts with 2 spaces in the front followed by HDR and TRL.
I used
Header.keyFieldValue HDR
Trailer.keyFieldValue TRL
But the file is not picked in channel monitoring the error is "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 2: missing structure(s) before type 'Header'
Can somebody suggest me how to resolve this issue.
Thanks
Newa
request source system people to correct the same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have provided the below details in FCC:
The problem is with respect to the header and trailer .
In moni messages are generated for Detail records but not for Header or Trailer
Header.keyFieldValue HDR
Header.fieldFixedLengths 2,3,3
Header.fieldNames f1,f2,f3
Header.fieldContentFormatting nothing
Detail.keyFieldValue 6
Detail.fieldNames d1,d2,d3,d4
Detail.fieldFixedLengths 2,1,1,4
Detail.fieldContentFormatting nothing
Trailer.fieldFixedLengths 2,3,3
Trailer.fieldNames t1,t2,t3
Trailer.keyFieldValue TRL
Trailer.fieldContentFormatting nothing
test data:
HDR123
4567test
4567demo
TRL456
Thanks
Hi,
Look at this example [http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3228] [original link is broken] [original link is broken] [original link is broken];, because I think you missed some steps like to declare your Keyfield in the list of Header.feldNames, Detail.fieldNames, Footer.fieldNames.
And have you filled the fields "Key Field name" and "Key Field Type" ?
Regards.
Mickael
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.