on 08-17-2007 10:55 PM
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/main.do').
endif.
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.
Krishna
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.
newwindow=window.open(this.href)
newwindow.focus()
Cheers
Graham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 http://www.w3schools.com/js/tryit.asp?filename=tryjs_animation
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.
Cheers
Graham
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.