Note – ATTACH_FILE_TO_RESPONSE does not work in dialog box Key words: cl_wd_runtime_services=>attach_file_to_response. Related Notes: . “Hi Everyone, My issue is that I want to download the contents which are displayed in the WEBDYNPRO output into a PDF file on click of. and finally send this to the user cl_wd_runtime_services=> attach_file_to_response(EXPORTING i_filename = l_filename i_content.

Author: Kirr Voodoorg
Country: Guadeloupe
Language: English (Spanish)
Genre: Spiritual
Published (Last): 28 August 2018
Pages: 373
PDF File Size: 10.12 Mb
ePub File Size: 2.97 Mb
ISBN: 377-9-48340-986-7
Downloads: 65144
Price: Free* [*Free Regsitration Required]
Uploader: Jura


You might find this useful. Use ITS service for that. Thanks it was good learning. Funny how that Naimesh guy always shows up!!

Subscribe Keep in touch. There is not data availabe at run time and ALV is not filled. Do you want to become SAP Expert? I tried your code approach, it works well if you have an ALV on screen and is data filled. Requirement I had was to generate a formatted excel, for user to fill in again and upload back.

BTW where did you put the call? By clicking “Sign up” you indicate that you have read and agree to the privacy policy and terms of service. You seem to be new here. Join them; it only takes a minute:. Class based exception are more powerful compared to the “legacy” exceptions. Below are few references which made it possible.


Note – ATTACH_FILE_TO_RESPONSE does not work in dialog box

Good article and very useful! November 12th, at If a context is created using dictionary structure it will be good only for displaying names. But when formatted cells are required this approach fails due to Excel property.

Enter your new password here. Will try you approach as well. I hate it View Results. But in this cl_wd_runtime_servicee= I have to implement a graphical user interface… Has anybody an idea what goes wrong here?

It can be achieved via: Username or Email Password. Data can be copied cl_wd_rjntime_services= the Excel from various sources. If the application is called, it reads a file of a archive-system an send it back to the caller browser.

November 12th, at 8: Here a simple piece of code that shows set the response. Why use WDA if there is never any interaction. Questions Categories Tags Users.


November 13th, cl_wd_runtime_sevices= We would do great working together. Join them; it only takes a minute: In on of the comment on the same document by Pavan nailed down approach.


Or has anybody an different idea how to implement such a file-server-like Cl_wd_runtime_sdrvices= But you don’t want to c November 12th, at 5: I live for it! Not the answer you’re looking for? Though this is workable solution, but is error prone and slight miss of tag is head banging.

Hmmm never tried an attach before any output. The code is processed without error cl_wd_urntime_services= the caller do not get the attached file.

By posting your answer, you agree to the privacy policy and terms of service. You will receive a confirmation email at the registered address.

This blog show a way to generate the formatted excel files using the XML. These sources can copy the data using Unicode vs non-Unicode.