Entering content frameProcedure documentation Moving Interface Components to the Component Interface Locate the document in its SAP Library structure

Use

You can move attributes, methods and events of an interface to a component interface if you have interface nesting. See also: Class Diagram.

Caution

If the interface is already implemented by classes, certain adjustments to the classes are required. The Assistant performs these adjustments for you.

Procedure

  1. Select the interface from which you want to move the components and change to the Class Editor.
  2. Make sure you are in Change mode.
  3. Choose Utilities ® Refactoring Assistant.
  4. The Assistant is started in a separate window.

  5. Select the components and move them to the name of the component interface using Drag & Drop.
  6. You might have to confirm that you want to make adjustments to the implementing class.
  7. Save using the corresponding icon.
  8. Close the Assistant.

Result

The selected components of the interface are created in the component interface and the required adjustments are made to the implementing class.

Note

You can also split an implemented interface using the described function. See also: Splitting Interfaces.

 

 

Leaving content frame