Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Abap mapping: remove a parent or child node.

Hi all,

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.

Thanks,

Regards,

Giovanni

Former Member
Not what you were looking for? View more on this topic or Ask a question