Prerequisites
The class must be free of syntax errors, other than those for the missing method implementation.
Context
You can create method implementations in the following situations:
- Unimplemented interface methods
- Unimplemented abstract methods from super-classes
- Locally defined methods that are not yet implemented
Procedure
- Position the cursor on one of the following statements within the class:
- Class definition statement
- Interface declaration that has no implementation part yet
- Method definition of an unimplemented method
- Class implementation statement
Figure 1:
Creating method implementation stubs for unimplemented methods in a class
- In the context menu, choose Quick Fix or use the shortcut
(Ctrl 1).
- In the Quick Fix dialog box, select Add unimplemented methods.
Results
ABAP Development Tools for SAP NetWeaver generates stubs for all missing method
implementations regardless of where the method is defined.
Figure 2:
Adding empty method stubs of unimplemented methods in a class