Hello Jittu,
Read the file using Simple Content Conversion in one structure and the use Graphical mapping to segregate the records of Item in the mapping with the Header. This is how i Will do it.
read the above in record set:
Recordset
Header (this will contain all header fields)
Item1 (this will contain all Item1 fields)
Item2 (this will contain all Item1 fields)
item3 (this will contain all Item1 fields)
Now use graphical mapping to extract fields. You can create single UDF to extract records if they have same delimiter for each Item Field.
Alternative Way: Use Java mapping to read your File and then do the necessary mapping
Can suggest you other better approaches if you can share the sample file here.
Regards,
Nipun