cancel
Showing results for 
Search instead for 
Did you mean: 

WDCopyService

Former Member
0 Kudos

How can we use WDCopyService is a project?

How do we include it?

I am absolutely clueless.Please help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Supriya,

WDCopyService can be use directly in ur code.It has different methods ,depending on ur requirement u can use these.

WDCopyService.copyElement()

WDCopyService.copySubTree();

for further info u can check the java docs available on <a href="http://help.sap.com/javadocs/NW04S/current/wd/index.html">http://help.sap.com/javadocs/NW04S/current/wd/index.html</a>

It is available in this package : com.sap.tc.webdynpro.progmodel.api.WDCopyService

regards

Sumit

Message was edited by:

Sumit Malhotra

Answers (2)

Answers (2)

former_member751941
Active Contributor
0 Kudos

Hi Supriya,

Check this thread also.

Regards,

Mithu

Former Member
0 Kudos

it is used to copy the elements from one node to another node

If source node elements and destination node elements are same then WDCopyService will work

WDCopyService.copyElements(sourceNode,targetNode);

Otherwise you have copy manually from src to destination using for loop.