cancel
Showing results for 
Search instead for 
Did you mean: 

RABAX state

Former Member
0 Kudos
963

Hi Guys,

I am getting error code while navigating to my second view.Pls help me

Error code: ICF-IE-http -c: 900 -u: ABAPUSR3 -l: E -s: FSD -i: sap-01_FSD_01 -w: 1 -d: 20120215 -t: 105216 -v: RABAX_STATE -e: OBJECTS_OBJREF_NOT_ASSIGNED_NO

Karthik.R

Edited by: R.Karthik Ramani on Feb 15, 2012 6:52 AM

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi,

Thanks for your reply

Karthik.R

Former Member
0 Kudos

Hi,

Retrieve your data from context before the if condition.

Former Member
0 Kudos

Hi,

method ONACTIONGET_FLIGHTS .

DATA LO_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .

LO_COMPONENTCONTROLLER = WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).

LO_COMPONENTCONTROLLER->EXECUTE_BAPI_FLIGHT_GETLIST(

).

DATA LO_ND_FLIGHT_LIST TYPE REF TO IF_WD_CONTEXT_NODE.

DATA LO_EL_FLIGHT_LIST TYPE REF TO IF_WD_CONTEXT_ELEMENT.

DATA LS_FLIGHT_LIST TYPE WD_THIS->ELEMENT_FLIGHT_LIST.

  • navigate from <CONTEXT> to <FLIGHT_LIST> via lead selection

LO_ND_FLIGHT_LIST = WD_CONTEXT->GET_CHILD_NODE( NAME = 'FLIGHT_LIST' ).

  • @TODO handle not set lead selection

  • get element via lead selection

LO_EL_FLIGHT_LIST = LO_ND_FLIGHT_LIST->GET_ELEMENT( ).

  • @TODO handle not set lead selection

IF LO_EL_FLIGHT_LIST IS INITIAL.

WD_THIS->FIRE_NO_FLIGHTS_FOUND_PLG(

).

ENDIF.

  • alternative access via index

  • lo_el_flight_list = lo_nd_flight_list->get_element( index = 1 ).

  • @TODO handle non existant child

  • IF lo_el_flight_list IS INITIAL.

  • ENDIF.

  • get all declared attributes

endmethod.

Karthik.R

Former Member
0 Kudos

Hi,

The coding of the event what you mentioned is right..pls post the other event coding

Former Member
0 Kudos

Hi,

I changet it to CAPS.But it does not do

Karthik.R

Former Member
0 Kudos

Hi,

Try debugging and find where exactly you got the error or else goto ST22 there you can find the line

at which error occured.

Former Member
0 Kudos

Hi,

I am not passing any parameters.my navigation links are right.

Karthik.R

Former Member
0 Kudos

Go to ST22 it will show error details and the classes causing it.

Former Member
0 Kudos

Hi,

Are you trying to pass any parameters, may be these are not initialized or you can may also check

whether the navigation link was created correctly.

If can explain what you were trying to do exactly, can help you in resolving?

Former Member
0 Kudos

Hi,

This is my coding.

method HANDLENO_FLIGHTS_FOUND .
  DATA LO_ND_DESTINATION_FROM TYPE REF TO IF_WD_CONTEXT_NODE.
  DATA LO_EL_DESTINATION_FROM TYPE REF TO IF_WD_CONTEXT_ELEMENT.
  DATA LS_DESTINATION_FROM TYPE WD_THIS->ELEMENT_DESTINATION_FROM.
  DATA LV_CITY LIKE LS_DESTINATION_FROM.
  DATA TEXT TYPE STRING.

* navigate from <CONTEXT> to <DESTINATION_FROM> via lead selection
  LO_ND_DESTINATION_FROM = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_DESTINATION_FROM ).

* get element via lead selection
  LO_EL_DESTINATION_FROM = LO_ND_DESTINATION_FROM->GET_ELEMENT(  ).

* get single attribute
  LO_EL_DESTINATION_FROM->GET_ATTRIBUTE(
    EXPORTING
      NAME =  `CITY`
    IMPORTING
      VALUE = LV_CITY ).

*   navigate from <CONTEXT> to <DESTINATION_TO> via lead selection
    LO_ND_DESTINATION_FROM = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_DESTINATION_TO ).

*   get element via lead selection
    LO_EL_DESTINATION_FROM = LO_ND_DESTINATION_FROM->GET_ELEMENT(  ).

*   get single attribute
    LO_EL_DESTINATION_FROM->GET_ATTRIBUTE(
      EXPORTING
        NAME =  `CITY`
      IMPORTING
        VALUE = LV_CITY ).

CONCATENATE 'No Flights Available from' LV_CITY 'to' LV_CITY into text separated by ' '.
wd_context->set_attribute( name = 'text' value = TEXT ).


endmethod.

Karthik.R

Former Member
0 Kudos

Hi,

Try giving the name 'text' in caps.

wd_context->set_attribute( name = 'TEXT' value = TEXT )

Former Member
0 Kudos

Hi Karthik,

Send your event handler code.

Dinesh90.