cancel
Showing results for 
Search instead for 
Did you mean: 

Remove / Hide standard right click menu in Web Dynpro ABAP application

Former Member
0 Kudos

Hi all,

I would like to remove the standard context menu that appears in all my Web Dynpro applications. This menu has basically two options:

- Display Quick Help

- More Field Help

There is a third option ( user settings ) which I can hide by using parameter WDDISABLEUSERPERSONALIZATION.

I do not want any context menu in my application. Is that possible?

Thank you.

Best regards,

Nacho.

Accepted Solutions (0)

Answers (6)

Answers (6)

tayyab_aslam2
Explorer
0 Kudos

Hi,

Its quite late reply, i belive someone might be looking the answer to this "hide right click menu" problem.

First following the SAP note 2875176; you cannot completely hide this menu.

There is workaround through enhancement at:

Class: CL_WDR_CONTEXT_MENU_HANDLER

Method: IF_NW7_VIEW_ELEMENT_ADAPTER~HANDLE_EVENT

i_event_name = 'ContextMenu'

wdr_task=>application_name = <your application name>

You can just pass 'Return' if above validation matches

Regards,

Tayyab

Rekha_DR
Developer Advocate
Developer Advocate
0 Kudos

Hello All,

I have an exact opposite requirement.

I need this context menu, also need the option 'user settings'.

Under User settings, I would like to add an option ' Use value as default '.

Where can I customize the ' User Setting ' Menu ?

Regards,

Rekha

former_member183915
Active Contributor
0 Kudos

Hi ,

I have similar requirement.Were you able to find any solution?

Regards ,

Navya

Former Member
0 Kudos

Hi Navya,

Go to SICF Transaction.

sap/bc/webdynpro/sap/wd_analyze_config_user

You can remove personalization from here. Try this.

Also check this..

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/47/bbbeac2b07296fe10000000a42189b/content.htm

Cheers,

Kris.

vibhor_bhatnagar
Participant
0 Kudos

Hi everyone,

I have the exact same requirement as Ignacio.

Any solutions for this?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can use WDDISABLEUSERPERSONALIZATION and WDHIDEMOREFIELDHELPASDEFAULT to effect and/or hide some of the entries; but you aren't going to be able to remove the entire right click menu. It is used by certain UI elements (Table for instance) and can be used at the application level for application specific entries. Why would you want to remove it completely?

Former Member
0 Kudos

Thank you Thomas,

I already removed the user settings option with parameter WDDISABLEUSERPERSONALIZATION . The other parameter WDHIDEMOREFIELDHELPASDEFAULT is not useful for our case.

We do not want to remove context menu from all applications because we already have applications with personal options in them. The thing here is that we have published some very simple applications and I do not want the users to see any context menu when using the right mouse button.

Why should an end-user check the UI element properties? Is that always necessary? Don't you think this option is not very useful in some applications.

PS: Saurav, thank you also for your answer but I could not find any new solution by using that link.

Former Member
0 Kudos