Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Planning app hangs up

In the extension class of BPS Web Application, following coding has been written to download data at the Presentation layer (User-Terminal).

mr_response->set_data( "file_stream_var" ).
mr_response->set_header_field( name = 'Content-Type' value = "text/html" ).
mr_resposne->set_header_field( name = 'Content-Length' value = "file_stream_length_var" ).
mr_response->set_header_field( name = 'Content-Disposition' value = 'attachment; filename=myFileName.csv' ).
mr_resposne->delete_header_field( name = 'Cache-Control' ).
mr_response->delete_header_field( name = 'Expires' ).
mr_response->delete_header_field( name = 'Pragma' ).

mr_navigation->response_complete( ).

The DISPATCH Method is so programmed, that when a user clicks on download button (SAVE) it would execute this code.

<b>I am able to download the file. </b>


Problem: The Modal Box "Your request is being processed" dosen't gives control back to the Planning Web Application . It stays up there forever and the user could do nothing more.


Any experiences and suggestions would be appreciated.


Former Member
Not what you were looking for? View more on this topic or Ask a question