Skip to Content
0

How to identify the download completion and close the download(blank) page in a BSP app?

Apr 23 at 01:19 PM

43

avatar image
Former Member

I am creating and downloading a SAP GUI shortcut file in a BSP app. When I call this BSP app from an external page, it executes and downloads the shortcut file leaving the download (blank) page kept open. I need to close the blank page as soon as the download is completed. Is it really possible to achieve it? If yes, kindly suggest the ways to do it..

Below is code snippet to download the sap gui shortcut file for reference.

cl_bsp_utility=>download(
object_s = X_shortcut_file
content_type = 'application/x-sapshortcut'
content_disposition = 'attachment; filename="createSapGuiShortcut.sap"'
response = runtime->server->response
navigation = _M_navigation ).

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers