on 05-13-2009 2:46 PM
Hello Friends,
I get the message wdctx_calculator unknown with the below coding.
What did I forget? Please help
method SET_VALUE_HELP_LISTENER .
wd_this->value_help_listener = listener.
****Check the data type of the source field - it must be a date data type.
IF wd_this->value_help_listener->f4_attribute_info-rtti->type_kind NE cl_abap_typedescr=>typekind_numeric.
ENDIF.
DATA lo_nd_calculator TYPE REF TO if_wd_context_node.
DATA lo_el_calculator TYPE REF TO if_wd_context_element.
data dyn_node_info type ref to if_wd_context_node_info.
* navigate from <CONTEXT> to <CALCULATOR> via lead selection
lo_nd_calculator = wd_context->get_child_node( name = wd_this->wdctx_calculator ).
dyn_node_info = lo_nd_calculator->get_node_info( ).
dyn_node_info->add_attribute( wd_this->value_help_listener->f4_attribute_info ).
endmethod.
Thx in advance for your efforts.
Regards
ertas
Edited by: Ilhan Ertas on May 13, 2009 4:11 PM
how is the node called
wdctx_calculator ?
calculator?
wdctx ??????????????????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ertas,
Just make sure that the spelling of the nade name is correctlt used in the code. According to the code calculator is the node name. Go to the Context tab and check if it is spelt properly.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.