Using the LSM Workbench for the Conversion 
The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
The LSM Workbench carries out the following tasks:
You can download the LSMW at no cost from SAPNet under Services, SAP Methodology and Tools, category Tools. You can also find more information about the LSMW here.
If you have installed the LSMW, it is available as a default tool in the Data Transfer Workbench.
In the Data Transfer Workbench you can use a conversion object created in the LSMW for tasks of type MAP. When the task is executed, the conversion program is generated and executed.

Note that with background processing, the input file must not be located in the presentation server. Access to presentation server files is only possible when you are working online.