HI Ajit,
Please change ur code like below.
READ TABLE it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
wa_events-form = 'TOP_OF_PAGE' . "instead "'FROM_TOP_OF_PAGE'.
MODIFY it_events FROM wa_events INDEX sy-tabix.
*** READ END OF LIST.
READ TABLE it_events INTO wa_events WITH KEY name = 'END_OF_LIST'.
wa_events-form = 'END_OF_LIST'. " instead 'FROM_END_OF_LIST'
Thanks
Vijay