Start of Content Area

Procedure documentation Copy Object  Locate the document in its SAP Library structure

Use

You can copy an object in order to reuse the original object, or part of the original object, in a new context, for example.

This function enables you to create a copy of the outbound object for another object key. That is, you can copy objects to another namespace (of the same or another software component version).

Caution

Note that different object reference types act differently.

More information: Object Reference Types

Recommendation

It is not recommended to use the copy function to copy all objects of a software component version to a new software component version. The release transfer function is provided for this purpose.

More information: Transferring Design Objects*

Procedure

...

       1.      Open the object you want to copy.

More information: Object Editors

       2.      Choose <Object> à Copy Object (This graphic is explained in the accompanying text) from the object menu of the open object.

Note

You can also call the copy function by positioning the cursor on the object to be copied in the navigation area and choosing Copy Object (This graphic is explained in the accompanying text) from the context menu. In this case you can skip step 1.

The copy function is called.

       3.      Enter the key attributes for the object copy under Target Object. To enter the software component version and namespace of the target object, use input help (icon This graphic is explained in the accompanying text). Enter the name of the target object manually. The default name is the name of the original object.

       4.      Choose Copy.

Copy Object with Dependent Objects

You can copy interface or mapping objects together with all their dependent objects.

If you select this option, all dependent objects are copied to the new namespace with the object. This ensures that the entire object is copied and that you can use it with all its features in the new namespace.

Caution

If the original object contains object references to objects in a namespace other than that of the original object, these referenced objects are not copied.

To select the Copy with Dependent Objects option, select the relevant checkbox.

Recommendation

Since you can only copy dependent objects with interface objects or mapping objects, if you are copying other objects you must make sure that the object references still function in the object copy. Note that the various object reference types have different results in the object copy. If objects have relative object references, you must copy the dependent objects separately and use the same name in the new namespace.

 

End of Content Area