SAP Business Connector BAPI_SALESORDER_SIMULATE

Hi,
i would like to use the SalesOrder.Simulate, but first i would have to get the data from my flat file. In this flat file the record separator is $ and the field separator is |. How can I process the flat file and the call the BAPI?

Thanx a lot. It’s my SAP BC first time.

David.