cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Javascript in 7.0

Former Member
0 Kudos

Hi,

i am creating a webtemplate in 7.0, i have written a javascript function to open a new browser, and attached the script to a button, but when i execute the template and press the button nothing happens.

my javascript is as follows:

function Bookmark(){

var = url;

url = SAP_BW_URL_Get();

SAPBWOpenWindow(url+'&cmd=BOOKMARK');

}

Can you please help with the correct javascript for executing this.

Thanks

Message was edited by:

Murali Gudibandi

Message was edited by:

Murali Gudibandi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use the Script Item to write JS code and use command wizrd to create the code for creating bookmark

Former Member
0 Kudos

But this doesnot open in a new window directly. first information pops up on the top and when i click it then it opens in new window. i want to open a new window directly.

Answers (1)

Answers (1)

former_member184494
Active Contributor
0 Kudos

Murali,

please give the proper title .. your post has a title of open workbook in new window whereas the actual issue is with respect to opening a book mark through a web template.

Arun

Former Member
0 Kudos

Can anyone provide me the solution for this problem.