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: Nikogar JoJorr
Country: Moldova, Republic of
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 10 November 2013
Pages: 115
PDF File Size: 18.26 Mb
ePub File Size: 6.44 Mb
ISBN: 588-7-89993-120-5
Downloads: 63413
Price: Free* [*Free Regsitration Required]
Uploader: Garamar

If you have something important to share, you can always contact me.

By posting your answer, you agree to the privacy policy and terms of service. November 12th, at 8: Has anybody an idea what goes wrong here? These sources can copy the data using Unicode vs non-Unicode. I tried your code approach, it works well if you have an ALV on screen and is data filled.

CL_WD_RUNTIME_SERVICES ATTACH_FILE_TO_RESPONSE – Adds File to Current Response: consolut

It can be achieved via: We would do great working together. Please enter correct information. Not the answer you’re looking for? Subscribe Keep in touch. Subscribe to stay connected. Or has anybody an different idea how to implement such a file-server-like WD4A-application? Use ITS service for that.


BTW where did you put the call? Join them; it only takes a minute: You might find this useful. But you don’t want to c November 13th, at I live for it! Here attach_file_to_esponse simple piece of code that shows set the response.

November 12th, at 5: I hate it View Results. Funny how that Naimesh guy always shows up!! Im interested if you get attach fl_wd_runtime_services= reponse working on the initial app call.

By clicking “Sign qttach_file_to_response you indicate that you have read and agree to the privacy policy and terms of service. Sign up here or sign in with. If the application is called, it reads a file of a archive-system an send it back cl_wd_runtime_servixes= the caller browser.

Class based exception are more powerful compared to the “legacy” exceptions.

Below are few references which made it possible. There is not data availabe at run time and ALV is not filled.

Hmmm never tried an attach before any output. If a context is created using dictionary structure it will be good only for displaying names.


Note 1093049 – ATTACH_FILE_TO_RESPONSE does not work in dialog box

The code is processed without error but the caller do not get the attached file. Why use WDA if there is never any interaction. But by creating a context and using as noderesult is not expected as desired. You will receive a confirmation email at the registered address. Good article and very useful! I got Script Parse error and when checked few tags were open.

Comments on this Post are now closed.


Do you want to become SAP Expert? Doctor Asked on November 19, in web dynpro-abap.

Thanks it was good learning.

Previous post:
Next post: