cancel
Showing results for 
Search instead for 
Did you mean: 

FCC issue

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

request source system people to correct the same

Former Member
0 Kudos

Hi,

Can you suggest me some other ways to solve this issue, because we are expecting a file in this structure and have to handle it.

Thanks

former_member184681
Active Contributor
0 Kudos

Hi,

Please post all content conversion parameters you defined, it seems to be an issue there.

Greg

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

I have mentioned the key Field Name as d2. So tat is the reason, Detail records are getting created without any issue.

Thanks