cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Context Menu Entries in Analysis 2.0

j_pick
Explorer
0 Kudos

Hi,

According to the User Guide of Analysis 2.0, it is possible to hide a specific context menu entry with the help of VBA.

On Page 89 the command is:


Refresh_Single

Use this ID to hide the single context menu entry Refresh.

Example: Application.Run("SAPExecuteCommand", "Hide", "ContextMenu", "Refresh_Single")

Is there a list of further IDs, which can be hidden from the context menu?

Thanks in advance,

Jason

Accepted Solutions (1)

Accepted Solutions (1)

former_member110741
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jason Pick,

whatever you have mentioned is correct and  no further ID's are required,

but currently hiding context menu and also hiding ribbon menu are not working in 2.0

These are known to SAP.

you may can open SAP incident for this for you faster processing of your requirement.

Hope this info helps

Thanks & Regards,
Subhash

j_pick
Explorer
0 Kudos

Great! I guess, we will open an incident.

Do you know if there are any plans to hide additional entries in the context menu. We would require a reference to their IDs. Like hiding not only the Refresh_Single but also filter functionality from the context menu.

Thank's for the help Subhash!

Message was edited by: Jason Pick

former_member110741
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi jason pick,

You are welcome

I am aware of two options of hiding context menu

1. Context menu before refresh(Api which you mentioned above)

2. Full Context menu after refresh (for this as well api available in document)

I did not come across api for hiding individual options in context menu. This can be something we can propose it in idea place

Hope this helps.

Subhash

j_pick
Explorer
0 Kudos

Hi Subhash,

As iI understood the User Guide, this Code hides the Refresh Button within the Context Menu.

Application.Run("SAPExecuteCommand", "Hide", "ContextMenu", "Refresh_Single")

With that functionality it should be possible to hide specific entries of the context menu.

I'll have a look at idea place.

Thank's again and regards,

Jason Pick

Answers (0)