Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8419

Problem with class cl_wd_runtime_services

$
0
0

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 thecode
I 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.


Viewing all articles
Browse latest Browse all 8419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>