Read input file with generic structure (FTP2IDoc)
Hi i have following problem.
I have an File on FTP where the structure is kindly different in each row. Because of simplifying it, i chose to make a Datatype which might cover all the requirements of reading the file. Mapping does not interest now!
File is a csv where the
first 16 rows have 5 fields
next 15 rows have 8 fields and
next 5 rows have 6 fields.
I created this MT:
<?xml version="1.0" encoding="UTF-8"?>
In FCC i configured as follows:
The problem is that when i want to read the file, it's being read but there is only one row read - and it is not the first but the thrid last.
I dont' understand why the other rows with datafields are not being read?!
All other datafields are less longer than specified in CADDetStruct.fieldFixedLengths - so where is the problem?