Skip to Content
author's profile photo Former Member
Former Member

How to call a custom BSP Application in a new window

I have a custom BSP application that I am calling inside SAP BSP using the following command.

if htmlb_event->server_event = 'Batchinfo'.

navigation->goto_page( '/sap/bc/bsp/sap/zbsp_batch/').


But I want this new BSP zbap_batch to open a new IE window and display info. Can someone help me on how to do that.

Thanks in advance.


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 18, 2007 at 02:23 AM

    Hi Kris,

    you can't really do this from the server. You need to send a response to the browser and get it to open the new window using client-side scripting.

    In JavaScript you would do something like this.



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Kris,

      this is client-side scripting. In other words it is sent to the browser embedded in the HTML payload and it is the browser that executes it.

      It is usually client-side scripting that handles all the cool UI stuff on the browser. Like pop-up menus, buttons that change as the mouse moves over them, etc.

      Look at the demo at

      When you move your mouse over the soccer ball image it changes. This is implemented using the javascript that is displayed in the left-hand frame.

      There are lots of web resources on client-side scripting. You really need to get up to speed on a range of web technologies that all meld together to provide clever user interfaces. These include client-side scripting, DOM, CSS, DHTML, AJAX, and probably a few others I haven't mentioned.