Parsing fixed field length FlatFile data and Mapping it to IDoc in Java

I have a senario, where I will be receiving a fixed field length flatfile that contains multiple purchase orders from different customers which I need to parse and map each order to IDoc XML using Java. I have read about Flatworm(java library) which is used to parse the flatfiles using XML configuration. But, the file I am getting contains EDI segment records (EDI file converted into flatfile format) under which it contains different elements in each order. So,Could anyone suggest me what would be the best approach to parse and map the datafile in java.
 
Back
Top