Skip to Content
0
Former Member
Jan 13, 2013 at 08:50 AM

Method to upload Excel file

1923 Views

Hi,

I'm using the method cl_gui_frontend_services=>gui_upload to upload Excel file.

I tried all the ways changing the parameters filetype to 'ASC', 'BIN', 'DAT' & even has_field_separator to space, '#', '|' but I'm getting junk values into my internal table.

I know how to upload Excel file using Function Modules.

I DONOT want to use Function Modules for uploading Excel file, I want to achieve this only thru Class=>Method.

Can we use cl_gui_frontend_services=>gui_upload for uploading Excel file? If you have achieved this using this method, please post the code snippet.

Also kindly let me know if we have any class methods other than this to upload Excel file?

Thanks & Regards,

Adithya M.