2009 Jan 20 8:58 AM
Hi Experts,
I have an issue in using the Function Module GUI_UPLOAD for uploading the contents of an Excel file on the Presentation Server to an internal table in an ABAP Program.
My file consists of around 300 records but the FM succeeds in uploading only the first 6 lines to the Internal Table specified while calling the FM.
I dont have any idea why this happens. Any pointers in this direction will be helpful.
Thanks in advance.
Regards,
Keerthi
2009 Jan 20 9:03 AM
Use FM ALSM_EXCEL_TO_INTERNAL_TABLE to upload data from excel file .
Hope this helps...
2009 Jan 20 9:04 AM
Hi,
Try with this function module.
ALSM_EXCEL_TO_INTERNAL_TABLE
Hope this helps u.
Thanks.
2009 Jan 20 9:04 AM
Hi Keerthi,
What are the parameters that you are passing to the FM: GUI_UPLOAD?
Also, if try to debug the function module. If not, in Debug Mode, delete some records from your internal table and see what happens. Delete preferably the records that are being uploaded in the excel now.
Best Regards,
Ram.
2009 Jan 20 9:14 AM
I am sorry, I mentioned it wrongly.
I am in fact saving the Excel File in the Text (Tab Delimited) format before calling the FM, GUI_UPLOAD.
I am not trying to upload the Excel file data directly using this FM. Sorry for the confusion.
2009 Jan 20 11:33 AM
Hi ,
Check how you are declaring the internal table.
Regards,
Deepthi
Edited by: Deepthi Upadhyaya on Jan 20, 2009 12:33 PM
2009 Jan 20 11:43 AM
Hi,
Kindly go through this link below:
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=60655105
Hope it helps you
Regards
Mansi
2009 Jan 20 12:04 PM
Hi,
The issue got resolved. It was a problem with the data format actually.
Thank you all very much for your quick and valuable responses.
Regards,
Keerthi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |