Show TOC

 Copying an ObjectLocate this document in the navigation structure

Use

You can use this procedure to replicate objects in different places and also to simplify the process of creating new objects. Instead of creating a new object from scratch, you can copy an existing object (or subobject) and modify it as needed.

Caution

When you copy a program, the system uses the active version of the source object. Only in the case of function groups and function modules the system asks you whether you want to use the active or the inactive version.

Procedure
  1. Select the required object and choose Copy from the context menu.
  2. Enter a name for the target object.
  3. Choose  with the quick info text Copy.

    A dialog box appears in which you can enter any subobjects you want to copy.

  4. Select the subobjects you need.

    There is a separate dialog box in which you can select the includes you want to copy and save them under new names.

  5. Choose  with the quick info text Copy.
  6. Assign the subobject to a package.

    You do not have to do this for local objects.

  7. Choose  with the quick info Save to confirm your entries.
Result

A new object is created in the Repository and its inactive version is included in the object list.