on 2012 Feb 15 5:46 AM
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
Hi,
Thanks for your reply
Karthik.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Retrieve your data from context before the if condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The coding of the event what you mentioned is right..pls post the other event coding
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I changet it to CAPS.But it does not do
Karthik.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not passing any parameters.my navigation links are right.
Karthik.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
Send your event handler code.
Dinesh90.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
12 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.