Skip to Content
0
Former Member
Jun 03, 2009 at 04:54 AM

Usage of insert button in Std ALV toobar (OOPs)

145 Views

Hi Experts,

I have developed an ALV(oops) with cl_gui_alv_grid. I have the std toolbar and do NOT want to disable it.

what i need is when i click on insert button in std toolbar, i need to make a field editable.

The func code for insert is &LOCAL&INSERT_ROW ( see in e_object->mt_toolbar).

I am unable to trap the func code. i tried to make use of this func code iand use it in the handle_toolbar method (e_ucomm). Its not going into debugging mode even when i set break point.

i want to write code as:

when '&LOCAL&INSERT_ROW'.

further validation.

Can someone help me how to get the sy-ucomm and do my validation?

Thanks

Dan