on 02-11-2011 9:14 AM
Hi Experts,
I have to generate one excel file using the ABAP web dynpro application. can you please provide some sample code to implement this applixcation.
Thanks!
Piyush
Hi sri,
Using filedownload ui element, if u want using this.. go through this.. it might help you.
http://wiki.sdn.sap.com/wiki/display/WDABAP/UploadandDownloadfilesinWebdynproABAP
Thanks,
Kris.
Edited by: kissnas on Feb 11, 2011 11:46 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can try to use the following method:
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'filename'
i_content = content
i_mime_type = 'application/vnd.ms-excel'
i_in_new_window = abap_true
i_inplace = abap_false ). "filename is the name of the file and content is XString.
Hope this helps!
Regards,
Srilatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.