on 01-24-2011 1:09 PM
Hi Experts,
Basis team identified the following dump. Please advice a fix.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Exception CX_SY_REF_IS_INITIAL
Date and Time 24.01.2011 12:35:18
DATA lo_nd_settings TYPE REF TO if_wd_context_node.
DATA lo_nd_ecm TYPE REF TO if_wd_context_node.
DATA lo_nd_crevi TYPE REF TO if_wd_context_node.
DATA lo_el_crevi TYPE REF TO if_wd_context_element.
DATA ls_crevi TYPE wd_this->element_crevi.
data l_citem type ecm_citem.
navigate from <CONTEXT> to <SETTINGS> via lead selection
lo_nd_settings = wd_context->get_child_node( name =
wd_this->wdctx_settings ).
navigate from <SETTINGS> to <ECM> via lead selection
lo_nd_ecm = lo_nd_settings->get_child_node( name =
wd_this->wdctx_ecm ).
navigate from <ECM> to <CREVI> via lead selection
lo_nd_crevi = lo_nd_ecm->get_child_node( name =
wd_this->wdctx_crevi ).
@TODO handle not set lead selection
IF lo_nd_crevi IS INITIAL.
ENDIF.
get element via lead selection
lo_el_crevi = lo_nd_crevi->get_element( ).
get all declared attributes
lo_el_crevi->get_static_attributes(
IMPORTING
static_attributes = ls_crevi ).
DATA lo_nd_selection TYPE REF TO if_wd_context_node.
DATA lo_el_selection TYPE REF TO if_wd_context_element.
DATA ls_selection TYPE wd_this->element_selection.
navigate from <CONTEXT> to <SETTINGS> via lead selection
lo_nd_settings = wd_context->get_child_node( name =
wd_this->wdctx_settings ).
navigate from <SETTINGS> to <SELECTION> via lead selection
lo_nd_selection = lo_nd_settings->get_child_node( name =
wd_this->wdctx_selection ).
get element via lead selection
lo_el_selection = lo_nd_selection->get_element( ).
*****************dump occured here ******************
get all declared attributes
lo_el_selection->get_static_attributes(
IMPORTING
static_attributes = ls_selection ).
ls_selection-begda = ls_crevi-slbeg.
ls_selection-endda = ls_crevi-slend.
Regards,
Venkatesh
Hi,
While giving dumps please make sure to give complete information like....
1. When does the Dump shows up.
2. Which transaction does the dump shows up.
Regards,
Nirmal.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
When we access a link from portal we are getting the above dump.
get element via lead selection
lo_el_crevi = lo_nd_crevi->get_element( ).
lo_el_crevi doesnt have any value in it so with the below code when its trying to fetch the attribute dump is occuring.
get all declared attributes
lo_el_crevi->get_static_attributes(
IMPORTING
static_attributes = ls_crevi ).
In webdynpro context , for the node crevi there are 4 elements. While debugging we found that the supply function which is assigned to the lo_el_crevi is not returning anything.
Please advice.
Regards,
venkatesh
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.