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.
|Published (Last):||2 February 2012|
|PDF File Size:||16.58 Mb|
|ePub File Size:||3.97 Mb|
|Price:||Free* [*Free Regsitration Required]|
If the application is called, it reads a file of a archive-system an send it back to the caller browser. Has anybody an idea what goes wrong here? Or has anybody an different idea how to implement such a file-server-like WD4A-application?
By clicking “Sign up” you indicate that you have read and agree to the attacu_file_to_response policy and terms of service. Questions Categories Tags Users. Join them; it only takes a minute:. Join them; it only takes a minute: The code is processed without error but the caller do not get the attached file. The code works fine, if it is called due to an gui- action click on a link or button. But in this case I have to implement a graphical user interface… Has anybody an idea what goes wrong here?
Hmmm never tried an attach before any output. Why use WDA if there is never any interaction. Here a simple piece of code that shows set the response.
You might cl_wd_runfime_services= this useful.
Im interested if you get attach to reponse working on the initial app call. BTW where did you put the call?
SAP Methods of CL_WD_RUNTIME_SERVICES – ATTACH_FILE_TO_RESPONSE
Be the first one! Doctor Asked on November 19, in web dynpro-abap.
Username or Email Password. Sign up here or sign in with.
Enter your new password here. Do you want to become SAP Expert? Please enter correct information. You will receive a confirmation email at attach_file_to_rfsponse registered address.
CL_WD_RUNTIME_SERVICES ATTACH_FILE_TO_RESPONSE – Adds File to Current Response: consolut
Please confirm with the link provided in the email. Not the answer you’re looking for? We will email you when an expert has commented on your question.