Show TOC Start of Content Area

Procedure documentation Creating an Interface  Locate the document in its SAP Library structure

Use

You use this procedure to create interfaces in the Class Builder. For more information about interfaces, see the ABAP Keyword Documentation.

Procedure

       1.      In the Repository Browser (transaction SE80), navigate to the package in which you want to create an interface.

       2.      In the context menu of the package, choose Create ® Class Library ® Interface.

The Create Interface dialog box appears.

       3.      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_.

       4.      In the Description field, enter a short description of the interface.

       5.      Choose Save.

The Create Object Directory Entry dialog box appears.

       6.      Enter the name of the package to which your class should belong.

       7.      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.

Note

For more information about interfaces see Interfaces in the ABAP manual.

 

 

End of Content Area