2007 Dec 06 2:27 PM
I'm trying to upload a regular excel (*.xls) using the fm <b>GUI_UPLOAD</b>, though sy-subrc is set to 0 after the function call, the data that is uploaded into the internal table shows junk. Any thoughts are welcome.
Thanks all for all the replies. I'm aware of the function module suggested, however the question that I want to put forward is : is it not possibe to upload a regular excel file(*.xls) using the fm GUI_UPLOAD. I apologize for the confusion.
2007 Dec 06 2:29 PM
Hi Ratan,
Instead of using GUI_UPLOAD
use,
ALSM_EXCEL_TO_INTERNAL_TABLE function module.
this will help you.
2007 Dec 06 2:31 PM
2007 Dec 06 2:40 PM
Hi,
save your excel file with tab delimeter then use GUI_UPLOAD function module
for upload the file data to internal table.if u do like this it won't show the junk data.
2007 Dec 06 2:47 PM
Thanks all for all the replies. I'm aware of the function module suggested, however the question that I want to put forward is : is it not possibe to upload a regular excel file(*.xls) using the fm GUI_UPLOAD. I apologize for the confusion.
2007 Dec 06 2:56 PM
Hi Ratan,
There is no confusion in this,
you can do this with GUI_UPLOAD but you will not get the uploaded internal table data in
a right and organised way.
but in case of ALSM_EXCEL_TO_INTERNAL_TABLE you will get those uploaded internal table data as below.
ROW COL VALUE
1 1 10
1 2 20
. . .
. . .
2007 Dec 06 2:58 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |