cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons in Work Area Toolbar

Former Member
0 Kudos

How can I add/remove buttons to a work area toolbar?

Thanks for your help!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dave,

If you want to add or remove buttons in a toolbar, you need to have a look at the Controller Implementation Class of the View or Overview Page to which you want to add a button. In this class you will find back the method: IF_BSP_WD_TOOLBAR_CALLBACKGET_BUTTONS where the list of buttons is filled and where you can add or remove buttons. And you will find back the method IF_BSP_WD_TOOLBAR_CALLBACKGET_NUMBER_OF_VISIBLE_BUTTONS where the number of visible buttons is defined.

Kind regards,

Carl

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Carl!

Former Member
0 Kudos

Hi Dave,

I have same kind of requirement..Could you please explain in steps how to do this?

Thanks in Advance.,

Robin

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

Please have a look at GET_BUTTONS / GET_NUMBER_OF_VISIBLE_BUTTONS method in controller (_IMPL) class of BP_HEAD/BPHEADOverview.

Hope this helps.

Regards,

Bhushan