Skip to Content
0
Sep 28, 2007 at 09:31 PM

System events on Hotspot Click of ALV Grid

380 Views

Hi,

I've got a question on behalf of the event handling of an ALV hotspot. It works perfectly. My problem is that I would like to perform an PBO (to change a pf status accordingly to the content of the selected cell) after an hotspot click. I tried to register the handler method as a system event but it didn't work. Has anyone got an idea?

my coding:

SET HANDLER handle_left_click FOR o_alv.

lw_evnt-eventid = '2'.

lw_evnt-appl_event = c_on.

APPEND lw_evnt TO lt_evnt.

CALL METHOD o_alv->set_registered_events

EXPORTING

events = lt_evnt

EXCEPTIONS

cntl_error = 1

cntl_system_error = 2

illegal_event_combination = 3

OTHERS = 4.

regards Johannes