on 06-22-2011 11:35 AM
Hi All,
in method wddoinit I have added a context node and some attributes
lo_node = wd_context->get_child_node( name = wd_this->wdctx_instructors ).
lo_node_info = lo_node->get_node_info( ).
lo_node_info = lo_node_info->add_new_child_node( name = 'OCCUPANCY'
is_mandatory = abap_true
is_multiple = abap_false
is_multiple_selection = abap_false ).
...
lo_node_info->add_attribute( ls_attr ).
So far, I have node INSTRUCTORS (0...n) with a subnode OCCUPANCY (1...1)
In the supply_method of INSTRUCTORS I would like to fill the instructors node and the OCCUPANCY subnode.
The thing is I do not know the structure of the dynamicaly created subnode OCCUPANCY there. How can I get a description of this node (that, what in non-dynamic programming would be wd_this->element_occupancy...)??
THANKS,
Johannes
...I got this one solved by myself...
I simply added this coding:
lo_node_info = lo_node->get_node_info( ).
lt_attributes = lo_node_info->get_attribute_names( ).
This appers to be enough information to be good to gogo
Thanks anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.