event handler for checking and processing user input and
for defining navigation
IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
Read event from manager.
DATA: event_data TYPE REF TO IF_HTMLB_DATA.
event_data = CL_HTMLB_MANAGER=>get_event_ex( request ).
if event_data->event_defined = ‘input1’.
Action for input1
if event_data->event_defined = ‘input2’.
Action for input2
You can also use this to create custom input field help. Key press events for other function keys can also be captured. You can get keycodes of all keys from the below link. Just replace the keycode in the application.