
From the outside, an encapsulated package looks like a "black box." To make the content of a package visible from the outside so that it can be used, you define package interfaces. Only those package elements that have been added to an interface can be used by other packages. In other words: packages make their services available to other packages providing package interfaces.
A package can contain multiple package interfaces, each with a different name. When you add new package interfaces to a package, the creation procedure differs a little depending on the package type. In particular, you have to distinguish between package interfaces for
Structure packages (see also: Types of Package Interfaces for Structure Packages)
Mainand development packages.
To create a package interface (example: filter package interface) for a structure package:
Figure: Defining a filter for a structure package
Continue.
to save your entries.To add filter conditions (no longer required in SAP NetWeaver release 7.31 SP5!) for the elements exposed in a package filter interface, continue the procedure as follows:
Figure: Defining a filter
condition for a filter package interface
Continue.
Figure: Filter conditions that will become effective during the package check
To create a package interface for a main or development package:
The system displays the Create Package Interface dialog box.
Continue.
to save your entries.You have created an interface for the package. Each interface you create is an independent transport object, separate from the package.
You can now add package elements to the interface to make the elements in it visible to other packages.