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: Nabar Kigajar
Country: Pacific Islands
Language: English (Spanish)
Genre: Relationship
Published (Last): 22 November 2012
Pages: 117
PDF File Size: 12.68 Mb
ePub File Size: 1.55 Mb
ISBN: 752-6-47355-867-4
Downloads: 31316
Price: Free* [*Free Regsitration Required]
Uploader: Vudolabar

But by creating a context and using as noderesult is not expected as desired. Though this is workable solution, but is error prone and slight miss of tag is head banging.

RE: cl_wd_runtime_services=>attach_file_to_response – SAP Questions & Answers Portal

Why use WDA if there is never any interaction. Will try you approach as well. If a context is created using dictionary structure it will be good only for displaying names. Get notified of the new post, right into your inbox. By clicking “Sign up” you indicate that you have read and agree to the privacy policy and terms of service. I guess, the source is deep down buried somewhere on that code exchange page ….


I tried your code approach, it works well if you have an ALV on screen and is data filled. Class based exception are more powerful compared to the “legacy” exceptions.

Note 1093049 – ATTACH_FILE_TO_RESPONSE does not work in dialog box

November 12th, at Below are few references which made it possible. We will email you when an expert has commented on your question. Use ITS service for that. BTW where did you put the call? Join them; it only takes a minute:. Thanks it was good learning. You will receive a confirmation email at the registered address.

ABAP – Tech Memo – Web Dynpro for ABAP Tips and Tricks V07 | jmujai12 m –

Transformation – Create Transformation, pass the text and receive the XML results Concatenating the tags and appending them to text — This is time consuming and error prone I started with the second approach, like: Or has anybody an different idea how to implement such a file-server-like WD4A-application?

There is not data availabe at run time and ALV is not filled. I got Script Parse error and when checked few tags were open. You seem to be new here.


I really appreciate the links to SDN also. Sometimes, all you get is the data in different format.

We would do great working together. I live for it!

Subscribe to stay connected. In on of the comment on the same document by Pavan nailed down approach.

I hate it View Results. Do you want to become SAP Expert? By posting your answer, you agree to the privacy policy and terms of service.

November 12th, at 5: These sources can copy the data using Unicode vs non-Unicode. The code works fine, if it is called due to an gui- action click on a link or button.

This blog show a way to generate the formatted excel files using the XML. Data can be copied into the Excel from various sources. Has anybody an idea what goes wrong here? Not the answer you’re looking for?

Posted in: Sex