!--a11y-->
URL from a New Window in the Opening Window 
Use
JavaScript function for sending commands.
Features
You can send a URL on the opening window from a new window with this function. The properties of the output device are taken into acccount here.
|
JavaScript Function |
SAPBWSetOpenerUrl |
|
Parameter |
Description |
|
url |
URL to be launched in the opening window. |
|
close true = close, false = leave open |
Then close window |
Example
Start a new Web application in the main window
SAPBWSetOpenerUrl(SAP_BW_URL_Get() + "&CMD=LDOC&TEMPLATE_ID=NewTemplate");
or in HTML:
<a href="JavaScript:SAPBWSetOpenerUrl(SAP_BW_URL_GET() + "&CMD=LDOC&TEMPLATE_ID=NewTemplate");">New Web report</a>