on 02-06-2009 9:20 AM
Hi
can any one help?
best regards
u mean u need to create a node or attribute....?
if so..jus go to the context tab, u will see context node..right click on CONTEXT..and create a node..
now right click on the created node and create an attribute..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use the following code for inserting the row at run time.
just make a button for adding the row and type the following code in the action of the method.
DATA lo_nd_cn_try1 TYPE REF TO if_wd_context_node.
DATA lo_el_cn_try1 TYPE REF TO if_wd_context_element.
DATA ls_cn_try1 TYPE wd_this->element_cn_try1.
navigate from <CONTEXT> to <CN_TRY1> via lead selection
lo_nd_cn_try1 = wd_context->get_child_node( name = wd_this->wdctx_cn_try1 ).
lo_el_cn_try1 = lo_nd_cn_try1->create_element( ).
lo_nd_cn_try1->bind_element( NEW_ITEM = lo_el_cn_try1 SET_INITIAL_ELEMENTS = abap_false )
Node name is: cn_try1
Regards
Pankaj Aggarwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
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.