Error BEC2004: Unexpected data found while looking for: 'nr'

Error BEC2004: Unexpected data found while looking for: '\n\r'

This maybe encountered when you Validation Instance for a flat file.

Solution:

1, Check your flat file(always an input file), there maybe BLANKS before 'return line', so make sure the file is a coreect one;

2, Modify your Schema file, you need to add one more element to fit thos BLANKS.