Show TOC

Creation in SAP NetWeaver 7.3 EHP1 SP4-10Locate this document in the navigation structure

Context

Limitations

You can only create the implementations for unimplemented interface methods.

Note In SAP NetWeaver 7.3 EHP1 SP11 and higher, the same behavior as in SAP NetWeaver 7.4 SP2 and subsequent releases is provided.

Procedure

  1. In the source code editor of the class, enter the statement with the name of the interface in the public section.
  2. Position the cursor on the interface declaration that has no implementation part yet.
    Creating the implementation part of an interface in a class
    Figure 1: Creating the implementation part of an interface in a class
  3. In the context menu, choose Quick Fix or use the shortcut (Ctrl 1).
  4. In the Quick Fix dialog box, select Add unimplemented interface methods.

Results

ABAP development tools for SAP NetWeaver inserts the implementations of the missing interface methods in the existing implementation part of your class.

Adding empty method stubs of an interface into the implementation part of a class
Figure 2: Adding empty method stubs of an interface into the implementation part of a class