Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

issue with cl_gui_frontend_services=>gui_upload

pashasapcha
Participant
0 Kudos
1,722

Hi, gurus,

I am looking to upload data from excel sheet to internal table.

I changed excel file to csv file with comma delimiter.

I have called cl_gui_frontend_services=>gui_upload method , the following is the code below.

The problem is the data is getting moved in first column only as shown in the pic .

the below is the declaration part where I made p_fname as string.

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
1,650

In the FM signature the parameter HAS_FIELD_SEPARATOR is described as 'Columns Separated by Tabs in Case of ASCII Upload' - So don't handle the CSV separator as ';' or ','

You could

Read only

0 Kudos
1,650

Can I use GUI_UPLOAD method to get excel xsls data into internal table for this ?

Read only

0 Kudos
1,650

The GUI_UPLOAD doesn't (yet) handle the zipped/xml format of XLSX