Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

copy development object

peter_langner
Active Contributor
0 Likes
2,406

Hi,

I want to copy a development object (a class). if I right click the class I find a menu item 'copy'. if I press it, nothing happens. If I create a new class, I can not refer to an existing class. So my question is, how to copy a development object in ADT?

I am using  ABAP Development Tools for SAP NetWeaver Version: 2.13.0

Thanky for helping me,

Peter

1 ACCEPTED SOLUTION
Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,510

Hi Peter,

we have used the Copy/Paste semantic for copying development objects in Eclipse. That means after copy you have to trigger paste to copy the object.

The easiest way to copy objects is to use the command 'Duplicate' in the context menu on the development object. After choosing that you get a popup where yu can enter the name of  your copy and so on. The dialog is similar to create dialog.

Kind Regards,

Thomas.

2 REPLIES 2
Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,511

Hi Peter,

we have used the Copy/Paste semantic for copying development objects in Eclipse. That means after copy you have to trigger paste to copy the object.

The easiest way to copy objects is to use the command 'Duplicate' in the context menu on the development object. After choosing that you get a popup where yu can enter the name of  your copy and so on. The dialog is similar to create dialog.

Kind Regards,

Thomas.

Read only

0 Likes
1,510

Hi Thomas,

thank you for the hint. The 'duplicate' menu item is only in the context menu of the project explorer.

I was looking for it in the edit menu and the context menu of the outline of the object to be copied... but the copy menu item just copies the name of the object, not the object itselve. I think I was misleaded by SE80 where the duplication is called 'copy'.

So thank you one more time,

Peter