cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help regarding downloading excel sheet from server using wd java

Former Member
0 Kudos

Hello Experts,

i have requirement in which an excel sheet from a server is to be downloaded when user clicks a link in the webdynpro java application.

can this be achieved using webdynpro java?

if so please help on how to achieve this.

regards

vamsi krishna

Accepted Solutions (0)

Answers (3)

Answers (3)

nikhil_bose
Active Contributor
0 Kudos
Sharathmg
Active Contributor
0 Kudos

Hello Vamsi,

Try to save the excel, which you want the user to download in the project or in KM respositoy folder.

Then, create a UI - FileDownload in WD Screen.

Fill the data and resource property of the UI element. Then, when the user clicks on the link we will be able download the excel linked to it.

Regards,

Sharath

vijay_kumar49
Active Contributor
0 Kudos

Vamsee,

This is feasible,

Read the data from the Excel (located in Server Path) and put into the ValueNode.

This Value Node is binded to Table. Now Data is available in Table.

Finally you can download the data from the Table .

How to Read the data from the Server and How to download the data from the Table.

Please look at this link

https://scn.sap.com/thread/496193

http://wiki.sdn.sap.com/wiki/display/WDJava/Uploading+excel+file+using+WebDynpro+for+Java

Hope this is helpful!!!

Regards

Vijay Kumar Kalluri