cancel
Showing results for 
Search instead for 
Did you mean: 

Abap mapping: remove a parent or child node.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

correct

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

You can also right-click on a field then click "disable field".

Hope this helps,

Former Member
0 Kudos

Hi,

this link explain the signature that is how to use all the methods including the method u want

[http://help.sap.com/saphelp_nw04/helpdata/en/bb/57669ddca511d4990b00508b6b8b11/frameset.htm]

and this for complete library for ABAP mapping[http://help.sap.com/saphelp_nw04/helpdata/en/bb/57669ddca511d4990b00508b6b8b11/frameset.htm]

Thanks and regards,

Kubra Fatima.