cancel
Showing results for 
Search instead for 
Did you mean: 

How does implement that Download form table

Former Member
0 Kudos

Hi everybody:

my question is:

How does implement the function that download data from the table into a file? Do you give me some suggest?

Thanks a lot!

Accepted Solutions (1)

Accepted Solutions (1)

former_member192434
Active Contributor
0 Kudos

Hi Yan,

No, not required any kind of templet, u can use UI element

LinkTORrl UI Element

Thanks

Anup

Edited by: Anup Bharti on Oct 10, 2008 11:11 AM

Former Member
0 Kudos

fill data in server ? if it fill data in server ,the Excel must be open in server .but if the server is UNIX,it doesn't support Excel

former_member192434
Active Contributor
0 Kudos

Yan,

Then you can Export data into other format file like (pdf or text)

and what does it mean "opening file on your server side"

if you talking about sending file data on to server then you have to first export data into local mahcine in any spcified file format and then you can try to upload it on your server.

This is what u mean, Plase let me know?

Thanks

Anup

Edited by: Anup Bharti on Oct 10, 2008 11:25 AM

Edited by: Anup Bharti on Oct 10, 2008 11:34 AM

Former Member
0 Kudos

Hi Anup

Thanks a lot for your reply so quickly!,

I means that i will fill data in the excel what i need to download. my question is ,the operation what fill data in which side ,server or web dynpro (context)

thanks

Yan

former_member192434
Active Contributor
0 Kudos

Yan,

You have to fill the data on WD side, by using sample code (given in PDF link)

once the file will created it will be there in WD Web resoure. after that you have to map it to context by creating a attributes.

You don't need to do anything on server side .....you just have to put file(upload) on server. once everything is done.

Thank

Anup

Edited by: Anup Bharti on Oct 10, 2008 11:56 AM

Former Member
0 Kudos

Hi Anup

Thank you suggest

I see

Yan

Answers (3)

Answers (3)

former_member192434
Active Contributor
0 Kudos

Hi Yan,

Try to export table data into Ms-Excel file by using this link

/people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities

Aslo make sure required jar file(xlf.jar) file should be included into your java build path and lib folder of your application, otherwise it will give excepiton

Thanks

Anup

Edited by: Anup Bharti on Oct 10, 2008 11:02 AM

Former Member
0 Kudos

Is it need a template of Excel?

Edited by: yan li on Oct 10, 2008 11:09 AM

Former Member
0 Kudos

hi!

add xlf.jar in the lib .its required.

thanks

vishal

siddharth_jain
Active Contributor
0 Kudos

Hi,

Check the following WIKI for Downloading Table data in Excel Sheet using On demand Resource streaming in WD java:

https://www.sdn.sap.com/irj/sdn/wiki?path=/x/0mq

Also Sample Source code Download link applicable for NW 7.0

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900c73fa-e5ef-2910-bea8-89276e64b...

Regards

Siddharth

Edited by: Siddharth Jain on Oct 10, 2008 11:00 AM

Former Member
0 Kudos

Hi Yan,

Please go through the following link for exporting table data to excel file

you may also refer to the following link:

http://help.sap.com/erp2005_ehp_03/helpdata/EN/df/d2844229ac173be10000000a155106/frameset.htm

Edited by: Aishwarya Sharma on Oct 10, 2008 10:58 AM