Abap mapping: remove a parent or child node.
I will trying to remove a parent node (and all childs related to it) or a specific child (field) om my XML input message to obtain a new output message.
Reading the meaning of the methods remove_node and remove child (if_ixml_node) I can not find a solution in writing the right Abap code.
My ouput document is so defined:
data: outcode type ref to if_ixml_node.
I receive the following error message when I try to find all possibilities.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
If someone can give me a simple code for solving my issue, I will appreciate this.