Skip to Content
0
Former Member
Nov 27, 2009 at 03:23 PM

Button as UI Element for FileDownload

18 Views

Hello,

I am to download data to an excel file. Herefore I can use the UI Element FileDownload (with supply function and such).

It woks fine.

Now the users would like to have the download being enabled via a button rather than a link.

So I created a button and thought that it should be possible to access the ui filedownload element via button action implementation and tell it (the filedownload ui) that it has been enabled. But I have not found a facility to neither access the filedownload UI element nor even to tell it that it is activated. I looked into the dynamic programming section of sap web dynpro documentation, but nothing seemd to fit.

Anybody got an idea if and if so how I could solve the 'problem'?

tx a lot in advance

Ana