Skip to Content

How to create a context menu in ALV table cell editor(Webdynpro abap ) ?

Hi Guru's,

I have a requirement , where i need to add context menu item for the alv table cell. can anyone help how to add the menu item for the alv table in webdynpro abap.

Thanks,

Prakash.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 12, 2014 at 12:25 PM

    Hi Prakash,

    You need to use the method SET_MENU of alv table cell editors from class CL_SALV_WD_UIE_*

    Hope this helps you.

    Regards,

    Rama

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Prakash,

      I have not come across this requirement till now to have context menu in a cell editor of alv.

      Unfortunately the implementation of method SET_MENU of alv ui elements ( ex: cl_salv_wd_uie_text_view ) is not updating alv configurable table, instead it just stores in a global attribute as string. Hence has no effect on context menu.

      If your user is very particular about this requirement of having context menu in cell editor, you can go for a normal table. Because, normal table's cell editor has the property to set the menuID as we do it for other ui elements.

      Regards,

      Rama

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.