Gooddayexperts I am using thisclass cl_wd_runtime_services todownload aWord fileinto aWebDynproapplications, operating correctlybutafter I downloadthe filehas 0kbwhen the actualsize is25kb.
Pleasehelp meI hope,this is thecodeI am using:
DATA: lv_filename TYPE string,
lv_ctype TYPE string,
lv_content TYPE xstring.
lv_filename = 'Anexar.docx'.
lv_ctype = 'pdf'.
cl_wd_runtime_services=>attach_file_to_response(
EXPORTING i_filename = lv_filename
i_content = lv_content
i_mime_type = lv_ctype
i_in_new_window = abap_true ).
Thanks
Best regards.