on 11-27-2009 3:23 PM
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
You don't want to try and use the FileDownload UI element at runtime in such a way. Instead use the CL_WD_RUNTIME_SERVICES=>Method ATTACH_FILE_TO_RESPONSE API method:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a8d95673b12fe2e10000000a42189d/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.