Skip to Content
0
Jan 29, 2011 at 11:07 AM

error in navigationlist UI element

23 Views

Hi

i m working on navigation list UI element and onselct event of that I need to transfer the selected record from the navigation list to another table UI element

method for Onselect of navigationlist UI is as follows

METHOD onactionget_details .

DATA lo_componentcontroller TYPE REF TO ig_componentcontroller.

DATA ls_navi_list TYPE wd_this->element_navi_list.

data CONTEXT_ELEMENT TYPE REF TO IF_WD_CONTEXT_ELEMENT.

  • Get key information for selected navigation list entry

context_element->get_static_attributes(

IMPORTING

static_attributes = ls_navi_list ).

  • Get related flights

lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).

lo_componentcontroller->get_flights(

iv_carrid = ls_navi_list-carrid

iv_connid = ls_navi_list-connid ).

ENDMETHOD.

i am getting a error "Access via NULL reference object not possible "

when debugger reaches below point.

context_element->get_static_attributes(

IMPORTING

static_attributes = ls_navi_list ).

Edited by: hema T on Jan 29, 2011 12:09 PM