You can copy segments of mappings and mapplets when you want to reuse a portion of the mapping logic. A segment consists of one or more objects in a mapping or mapplet. A segment can include a source, target, transformation, mapplet, or shortcut. To copy mapping segments, select and copy the segments from the Mapping Designer and paste them into a target mapping or an empty mapping or mapplet workspace. You can copy segments across folders or repositories.
To copy a segment of a mapping or mapplet:
Open a mapping or mapplet.
Select a segment by highlighting each object you want to copy. You can select multiple objects. You can also select segments by dragging the pointer in a rectangle around objects in the workplace.
Copy the segment to the clipboard by pressing Ctrl+C or clicking Edit > Copy.
Open a target mapping or mapplet. You can also paste the segment into an empty workspace.
Click Edit > Paste or press Ctrl+V.
If you are creating duplicate objects in a folder, the Designer assigns a unique name to the new object.