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

ALV Grid: exclude a menu button

Hello,

I have a strange problem here:

I'm excluding several buttons and menu buttons from the default alv grid toolbar. But one the the menu buttons doesn't behave like the others.

cl_gui_alv_grid=>mc_fc_views

and

cl_gui_alv_grid=>mc_mb_view

both remove the menu entries but not the button itself !

Other menu buttons like

cl_gui_alv_grid=>mc_mb_subtot

are removed properly.

Any ideas on this one ?

Best regards,

Patrick Baer

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on May 04, 2005 at 08:19 AM

    Hi Patrick

    Are you sure about the button code you are passing is the one for the button you want to be excluded.

    Regards

    *--Serdar https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Durairaj Athavan Raja

      Raja,

      got it now 😊

      I hate brute force approaches to solve a problem but in this case in fact it seemed to be the last remaining possibility. So I went through all the exclusion properties and figured out the right combination:

      mc_fc_views AND <i>mc_fc_print_prev</i> must be excluded.

      The latter one was missing because I didn't really associate the button with print preview...

      Best regards,

      Patrick Baer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 10:38 AM

    Hi all,

    where can I look for the mc_mb_* attributes af cl_gui_alv_grid?

    Is better work with mc_fc* or with mc_mb* to exclude a lot of pushbutton in toolbar?

    Christian

    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.