cancel
Showing results for 
Search instead for 
Did you mean: 

Generating byte[] and FileDownload in one step

Former Member
0 Kudos

Hi there,

i'm developing an wdp application with a java-backend.

Now there is an iview with a linktoaction, which creates some excel-documents from the database (The backend returns the byte[]). Then there is the FileDownload component to download this generated excelfile.

Well, this works quite good but i don't like it....

The Question:

Is there a possibility of combining the two steps (generating file and starting the download)? So, the user clicks on the Generate File Button or Link and automatically gets a request for a filedownload?

Greetings

Sascha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Which Web Dynpro release are you using?

Armin

Former Member
0 Kudos

I'm using the minisap netweaver 04 edition (not the 2004s)

Former Member
0 Kudos

In that case I fear you have to do it in 2 steps. In NW04s or later there is the "on-demand-resource" mechanism available, see also the tutorial by Bertram Ganz.

Armin

Former Member
0 Kudos

well, i thought so but there was this little hope that someone might know a trick

Thanks for your help anyway

Greetings

Sascha

Answers (1)

Answers (1)

Former Member
0 Kudos

can you tell me, how can I create an excel-document from database content using POI?

Is there another way?

thanks.