‎2006 Nov 16 10:49 PM
Hello knowledgeable friends.
I would like a single event handler to manage two alv grid objects. There is a parameter SENDER that is available in the method implementations to say which object triggered the event. I would like to get at the attribute MT_OUTTAB but this syntax does not work:
local_variable = sender->mt_outtab
Any help would be greatly appreciated
‎2006 Nov 17 8:41 PM
Ok, MT_OUTTAB is a protected Attribute. I would settle for just the name of the Sender. This code checks:
call method sender->get_name RECEIVING name = l_name.
but l_name is empty. I was hoping for 'GRID1'; when I created the object I used:
CREATE OBJECT alvgrid
EXPORTING
i_parent = container_top
i_name = 'GRID1'.