cancel
Showing results for 
Search instead for 
Did you mean: 

How to Download Data in Excel Formate

Former Member
0 Kudos

Hi Friend,

I have one doubt on webdynpro with java. Req: For download data in Excel formate.

I will follow this http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3596. [original link is broken] [original link is broken] [original link is broken]

i am doing upto 3rd Step here.. Up to Step 3 i am doing after 3rd Step I am not understand. Could u explain 4step.

1. I have to place TableUtilities.java

2. I have Create tableutilities value attribute

3. in Modify view--- This is -SecondView -


This is having Table UI Element.

if(firstTime)

{

IWDTextView tv = (IWDTextView)view.getElement("total");

wdContext.currentContextElement().setTableutility(new TableUtilities(wdContext.nodeDepartments()));

//Returns attribute info of a dynamically created attribute which can be bound to the UI element neeed.

tv.bindText(wdContext.currentContextElement().getTableutility().CalculateSum("Departments","NoOfPeople"));

}

4. Creating an Excel File

How to Create Excel File here can u explain

I am not understand this 4th step. Pls give me Breef Explanation. How to write this code...here...

Regards

Vijay Kalluri

Edited by: KalluriVijay on May 4, 2010 8:00 PM

Edited by: KalluriVijay on May 4, 2010 8:02 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vijay,

Please open Microsoft Excel from your system and then create some entries (ex. having 3 columns and 3 rows). Save this file to some location in your system. Later you will need to give the location path of this saved file when uploading it from your web dynpro application.

Creating of an Excel file (i.e the 4th step) is no where related to Web Dynpro and NWDS.

Hope this helps!

Regards,

Kishan

Answers (0)