10-02-2007 4:11 PM
Hi gurus,
I have a requirement where I need to upload a file from the legacy system, I have to write a program that is good enough to deal with the input file generated from the legacy system in the different formats, such as .txt,.xls,.csv. So can you please help me out which function module should I use, as of know I am looking forward for ws_upload.
Thanks
Rajeev Gupta
10-02-2007 4:16 PM
Hi,
In which version are you coding..
GUI_UPLOAD also can be used.
If you are uploading .CSV file the scenario will be different compared to .XLS and .TXT files.
.txt nd .xls file you can upload directly with the FM.
.csv you need to split the fields accordingly where comma
(,) exists.
Thanks,
Deepak.
10-02-2007 4:16 PM
Hi,
In which version are you coding..
GUI_UPLOAD also can be used.
If you are uploading .CSV file the scenario will be different compared to .XLS and .TXT files.
.txt nd .xls file you can upload directly with the FM.
.csv you need to split the fields accordingly where comma
(,) exists.
Thanks,
Deepak.
10-02-2007 4:38 PM
Thanks For the reply, well I am uploading in 6.0, can you suggest me different function module.
Thanks
Rajeev gupta
10-02-2007 4:45 PM
Hi Rajeev,
You can use FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' to uplpoad from Excel sheet...I suppose you have to use two FM's to get all the functionality you want i.e., for .txt, .xls, .csv...Next good FM would be 'GUI_UPLOAD'..
Regards,
Vivek