Skip to Content
0
May 12, 2020 at 08:40 AM

BSP file download - browser stuck waiting for response

117 Views

Dears,

I'm facing an odd issue on a custom development made upon a standard BSP application (SAP SRM-SUS).
I added a button on a view (in SRM-SUS it can be done by means of customizing) and lately, wrote my custom routine in the HANDLE_EVENT method to generate an excel file ( using abap2xlsx ).
Everything works fine: when I press the button, the browser prompts me for what to do with the file (open, save, Save As...) but after the selection, I get the blue "waiting" spinning wheel on the BSP view and can't do anything.

It seems the RESPONSE is stuck after the download prompt. The issue is also reported as consequence of the use of protectDoubleSubmit in forums, but I have no chance of intervention @ layout level as the button is directly added by means of a customizing task on the view. (if I look at the views, I don't have explicitly any single button but a static creation of a toolbar).

How can I workaround this?
Thanks for your valuable feedbacks and suggestions.

-_- Matt -_-