Entering content frameProcedure documentation Creating Interfaces Locate the document in its SAP Library structure

Note

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

Prerequisites

When you name your interface, remember to observe the naming conventions for global ABAP interfaces.

Procedure

To create a new interface from the initial screen of the ABAP Workbench:

  1. Enter the name of the interface, remembering to observe the naming convention
  2. Select object type Interface.
  3. Choose Create.
  4. The Create Interface dialog box appears.

     

    This graphic is explained in the accompanying text

     

  5. Enter the following information:

- Description

A short descriptive text for the new interface.

- Modeled only

Note

No interface pool is generated for the marked interface. You therefore cannot access these interfaces at runtime.
In future, this option will allow you to design interfaces based on a graphical model.

  1. Choose Save.
  2. The Create Object Directory Entry dialog box appears.

  3. Specify your Package.
  4. Choose Save.
    The method display of the
    Class Editor appears. From here, you can define the components of the interface. Only after you have defined the interface can you include it in class definitions.

Result

You have created a new interface along with its basic data in the ABAP Dictionary. The system generates an interface pool for the interface, as long as you did not create the interface as Modeled.

Leaving content frame