cancel
Showing results for 
Search instead for 
Did you mean: 

how can I upload a file in Web Dynpro?

yjiang
Advisor
Advisor
0 Kudos
153

hi experts,

I am working on WD for uploading a excel and processing the excel.

I design a button with the event to call the method "cl_wd_runtime_services=>attach_file_to_response" for opening a local file, is it right???

if the method is right, how should I configure the parameters? any other methods for upload a excel from local??

Many thanks.

best wishes,

Yang

View Entire Topic
former_member186491
Contributor
0 Kudos

Hi Yang,

Please check this weblink -

http://wiki.sdn.sap.com/wiki/display/WDABAP/WDA+for+uploading+Data+from++Excel+sheet

This describes the process of achieving that same.

Hope this would help you.

Thanks.

Kumar Saurav.

yjiang
Advisor
Advisor
0 Kudos

thanks Kumar.

I have done the upload but the file must be tab delimited, otherwise the file conent is in chaos.

do you have any idea on how to upload the Excel file with CORRECT format parsing?