Flatfile Processing

I am using SAP BC version 4.6 without the EDI Adapter. Is there another service comparable to wm.b2b.edi:convertToValues to use for merging the flatfile template and the flatfile data into EDIvalues.

If you are not using EDI Adapter services,then you have to build custom code for parsing the FlatFile.

May be some SAP BC Users can share their code if they have.