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

CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE( ) works in one system but does not in other

$
0
0

Hi folks,

 

We are facing an issue here with a custom web dynpro application that export an excel. The following piece of code has been written in this application to export an excel:

 

cl_wd_runtime_services=>attach_file_to_response(

       EXPORTING

         i_filename      = c_filename

         i_content       = xtext

         i_mime_type     = c_mimetype

         i_in_new_window = abap_false

         i_inplace       = abap_false ).

 

Now, the issue is this - it works fine in one system but does not in other system. HttpWatch shows ERROR_HTTP_INVALID_SERVER_RESPONSE in the system where it does not work. Any ideas?

 

Regards,

Shiromani


Viewing all articles
Browse latest Browse all 8150

Trending Articles



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