cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member214667
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Shiromani,

You mean "Other System" is other PC. If so, it seems that there is an issue with browser

Please check the below SAP note

1679126 - Server sends timeouts that cannot be reproduced

Also, compare the browsers versions in both systems.

Regards,

Rama