OnInputProcessing 필수 로직
* event handler for checking and processing user input and
* for defining navigation
DATA: lr_event TYPE REF TO if_htmlb_data,
data TYPE REF TO cl_htmlb_fileupload,
lr_tableview TYPE REF TO cl_htmlb_tableview,
lr_table_event TYPE REF TO cl_htmlb_event_tableview,
lt_fields TYPE tihttpnvp.
CHECK event_id EQ cl_htmlb_manager=>event_id.
lr_event = cl_htmlb_manager=>get_event( request ).
CHECK lr_event IS BOUND.
* 화면 변경값 조회.
CLEAR lt_fields.
request->if_http_entity~get_form_fields( CHANGING fields = lt_fields ).
CASE lr_event->event_name.
WHEN ‘button’.
CASE lr_event->event_id.
WHEN OTHERS.
ENDCASE. ” CASE lr_event->event_id.
WHEN ‘tableView’.
lr_table_event ?= lr_event.
CASE lr_event->event_server_name.
WHEN OTHERS.
ENDCASE. ” CASE lr_event->event_server_name.
WHEN OTHERS.
ENDCASE. ” CASE lr_event->event_name.
* Navigation
navigation->set_parameter( name = ‘g_url2’ value = ‘../appraisal03/default.htm’ ).
navigation->goto_page( url = ‘../appraisal03/detail.htm’ ).