on 03-30-2009 1:19 PM
hi all,
I have an attribute in the root node and I need to clear this attribute without affects other nodes and attributes.
Could you help me in this.?
BR,
Ali
Hi Ali,
Use set_attribute_null method to do this.
Refer this code:
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
** get single attribute
lo_el_context->set_attribute_null(
EXPORTING
name = `ABC` "ABC is the name of attribute ).
I hope it helps.
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 |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.