cancel
Showing results for 
Search instead for 
Did you mean: 

copy nested nodes data in new node

Former Member
0 Kudos

Hello Techies,

We are using webdynpro component HAP_DOCUMENT_BODY in our ESS application.

We want to copy contents of node L_BODY_DATA to new node of similar type.

L_BODY_DATA has subnodes inside it which inturn has subnodes.

How to do this?

Thanks & Regards,

Sachin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sachin

You may want to use class WDCopyService

in it you will find copy subnodes.

regards

yuval

Former Member
0 Kudos

Hi Yuval,

is this service/class available in ABAP? i cant see any one.

Thanks & Regards,

Sachin

Former Member
0 Kudos

Hi,

There is no WDCopyservice in wda. It is available in WDJ.

You have to loop through the main node and create subnodes from it. See this thread.

[|]