cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to add new button to web ui view?

Former Member
0 Kudos
4,630

Hello!

I'm working with CRM7.0 and now i have the requirement to run report from quotation view in web UI. For this purpose i need to create new button which will call my report. I've found that button can be created via BSP Component Workbench.

Who can guide me with creating?

Thanks in advance!

View Entire Topic
Former Member
0 Kudos

Hi Olga,

yes, you have to redifine this method.

The coding posted by kamesh will customize the appearance of your button ( text 'TEST BUTTON', Tooltip, type, etc. ) wich can be changed due to your needs.

You also have to define an event-hanlder wich name you have to enter in the ls_button-on_click.

As the name tolds you, this event-handler will then be called after clicking the button.

just to mention, you have to define the gt_button with type CRMT_THTMLB_BUTON_T on your view in the implementation class too (if it doesn't already exists).

Depending on where you want to place your button (toolbar, header of a table, somewhere on the view) you have different ways to implement them. If you have problems on this, i can give you some examples.

Regards

Dennis

Former Member
0 Kudos

Hello Friend,

In ur reply u Have mentioned

gt_button with type CRMT_THTMLB_BUTON_T

but type CRMT_THTMLB_BUTON_T is not there.

an error message is displayed that CRMT_THTMLB_BUTON_T is not available.

please tell where frm i will get it.

regards

Alsalfi

Former Member
0 Kudos

Hi,

Type of GT_BUTTONS is CRMT_THTMLB_BUTTON_T.

Regards,

Lakshmi.Y

Former Member
0 Kudos

Hi,

Please use CRMT_THTMLB_BUTTON_EXT_T instead. If still issue is not resolved then let us know which view you are trying to add a button.

Thanks,

Bhushan

0 Kudos

Hi,

Does anyone have a sample for Buttons to be placed in a view? Buttons need to be vertical one after another.

andreas_graeven
Explorer
0 Kudos

Hi Dennis, your post is a long time ago, but i need a solution to add buttons somewhere into a view. I try it with the setter getter methodes. But it´s not working with the gt_buttons. Please provide your examples. Thank you !