Creating an Interface
Use
You use this procedure to create interfaces in the Class Builder. For more information about interfaces, see the ABAP Keyword Documentation.
Procedure
- In the Repository Browser (transaction SE80), navigate to the package in which you want to create an interface.
- In the context menu of the package, choose Create → Class Library → Interface.
The Create Interface dialog box appears.
- In the Interface field, enter a name of the new class according to the naming conventions. The name of the interface should begin with IF_.
- In the Description field, enter a short description of the interface.
- Choose Save.
The Create Object Directory Entry dialog box appears.
- Enter the name of the package to which your class should belong.
- Choose Save.
Result
You have created a new interface in the ABAP Dictionary. The system generates an interface pool for the interface, unless you have created the interface as Only modeled.