Creating Your Own Conversion Program 
Use
The data extracted from the source system has to be converted to the SAP structures of the transfer file.
You can carry out the conversion using the
LSM Workbench or using an external tool.Alternatively you can create your own conversion program and register it with the relevant object type.
Prerequisites
You have analyzed the fields and structures, as well as the transfer file and your legacy data.
You have extracted the data to be transferred from the source system.
Procedure
Proceed as follows:
Follow the structuring rules that apply to data transfer objects.
If you use other programming languages (C, Cobol or PL/1), you can create data definitions using the Data Transfer Workbench. Choose Goto ® Tools ® Files and data structures, Structure ® Generate.
If you write an ABAP program, follow the guidelines in
Result
You have created, registered and successfully tested your program.