Skip to Content
avatar image
Former Member

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

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 ).

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers