cancel
Showing results for 
Search instead for 
Did you mean: 

export a table to excel for NW 7.1??

anibal_alonso
Explorer
0 Kudos

Hi, I wonder if there is any article that explains how to export a table to excel for SAP NetWeaver Composition Environment 7.1 SP09. I found an article called "Exporting Context Data into Excel Using the Web Dynpro Binary Cache" but it is for SAP NW 04, and I wonder if there is a simpler way to do it with SAP NW 7.1 , for example , add a button in my application, thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

anibal_alonso
Explorer
0 Kudos

Nothing? Isn't there a native form as there is in Visual Composer (NW7.0)?

Former Member
0 Kudos

Hi Anibal,

This explain how to upload as well as download. Here they used JExcel API .Also you can use POI APi.

http://wiki.sdn.sap.com/wiki/display/WDJava/UploadingexcelfileusingWebDynproforJava

Thanks & Regards,

Arun

anibal_alonso
Explorer
0 Kudos

Hi arunganesan , I need to pass a table WD to Excel and not Excel to table WD as in the link...

Former Member
0 Kudos

Hi,

PFB link

[https://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0]

even it is for 7.0 ,Try apply the same concepts in 7.1 as well

all the best.

Regards,

Govindu

anibal_alonso
Explorer
0 Kudos

Thanks all people, solved!

anibal_alonso
Explorer
0 Kudos

I have a new question, how can I do to make the excel file has the same order as the table? This file has a different ordination...

anibal_alonso
Explorer
0 Kudos

solved, I have to use LinkedHashMap.