Skip to Content
author's profile photo Former Member
Former Member

context menu button in alv reports

hi everybody,

i want to add context menu for the key field in the report. if i click on that context menu it should show that particular details.

from ,

madhukar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 08:30 AM

    Hi

    add a handler to your ui-control reacting to the event CL_GUI_ALV_GRID-CONTEXT_MENU_REQUEST.

    This handler should have an importing parameter e_object referencing CL_CTMENU.

    Use the methods (of CL_CTMENU)

    ->add_function

    ->add_separator

    to fill the context menu according to your needs.

    Regards

    Silke

    Add a comment
    10|10000 characters needed characters exceeded

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.