Skip to Content
Former Member
Nov 24, 2005 at 09:03 AM

Pop up window after bookmark command has been executed


Hi everyone,

I have a tricky problem. There is a client requirement to delete & add favorites directly from reports, i.e add web templates (bookmarked) to the BW favorites the user sees in the SAP GUI user menu. To accomplish this I have developed a BSP application that calls function modules and adds or deletes a query/template link from the user favorites.

My problem now is when the user adds. In order for the user to add, he/she must first execute the command "bookmark", this creates a url with a bookmark that I need to store. After the command has been executed a pop-up will ask the user to enter a name for the query. But there is no way for me to know that the command bookmark has been executed. I can't store a variable anywhere to check after the page has reloaded so I can pop up the window with the url containing the bookmark id.

Does anyone have any ideas on how to solve this? I've tried putting a hidden label where I store a value to check after the page has been reloaded, but I can't set the value while executing the command "bookmark" as well, it doesn't seem to have any effect on the property (it seems to disregard the command to set the property and only executes the bookmark command).

We don't what the users to click twice, we want to do it in "one go", execute the command "bookmark" and after the page has reloaded and the new url with the bookmark id has been created, the pop-up window appears (with the current url containing the bookmark id sent as a parameter to it) and the user enters a name/description and then creates.

Any ideas?

Best regards,