cancel
Showing results for 
Search instead for 
Did you mean: 

SAPBWAddToMenu in BeX Web App Designer?

Former Member
0 Kudos

Hi,

When I try to call SAPBWAddToMenu(...) in javascript, I get an object-not-dound error...

Isn't SAPBWAddToMenu supported anymore in NW2k4s? What's the alternative? I need to be able to extend the context menu...

Thanks,

Jeroen

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

I have the same problem and like to add an own entry.

Does anyone know how? Can't find the blog Prakash wanted to write...

Thanks,

Sebastian

Former Member
0 Kudos

Well, you can try to locate it by appending your server before the link that Prakash mentioned ....

<protocol>://<yourserver.com>:<port>/irj/portalapps/com.sap.ip.bi.web.portal.mimes/web.scripting/resources/js/

The protocol is either http or https;

the port could be 50000 or 50001 or whichever is used by the Java runtime

I tried it through my access but I could not see that since I did not have access.. You could try accessing it directly

Hope this helps..

- Adi

Former Member
0 Kudos

Some commands such as add to menu aren't supported any more as they have changed. There is a new context menu web item for working the the context menu. Also, if you use javascript for buttons or tabs, you can now use these new web items. In general, you can do a lot more without javascript, so make sure you look at those new web items before you start coding javascript. Also, the javascript web item has a wizard to help call Web Design API Commands.

Former Member
0 Kudos

The context menu web item only allows to turn on/off certain predefined context menu items. Can't I add my own context menu item that has its own (javascript) eventhandler (as in EP6/NW2004)?

Thanks,

Jeroen

Former Member
0 Kudos

Not directly. The underlying function to do this isn't currently published but are available on the portal in the filesystem at

/irj/portalapps/com.sap.ip.bi.web.portal.mimes/web.scripting/resources/js/*

I'll write a blog about this in the coming weeks that outline this particular scenario. So the short answer is currently, this is not supported...