on 05-08-2006 4:24 PM
Hello SDN
I have got a BSP application using pages with flow logic. What I want to do is downloading the content of an internal table to a local file, when a user triggers a certain event. In the event-handler "OnInputProcessing" I tried to use "CALL METHOD cl_gui_frontend_services=>gui_download" but this causes an error in the browser.
Can anybody help me?
Regards
Markus
Message was edited by: Markus Tschiderer
Hi Markus,
Go through this Weblog...
http://help.sap.com/saphelp_nw2004s/helpdata/en/27/67443cc0063415e10000000a11405a/frameset.htm
Regards,
Azaz Ali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a generic example that accepts any table, but perhaps the concepts will help:
/people/thomas.jung3/blog/2004/09/02/creating-a-bsp-extension-for-downloading-a-table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello markus,
cl_gui_frontend_services can only be used in sapgui-applications.
what you could do is to create a bsp-page that doesn't generate html, but only a list of data, separated by tabs and line-breaks. on the top of the bsp, you would have to set the mime-type to text/plain, so the browser will offer so save the file or open it in notepad.
regards,
norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.