Entering content frameProcedure documentation Restricting the Use of the Interface Locate the document in its SAP Library structure

Use

By default, all the elements in a package interface are visible to – and thus can be used by – all the packages at the same hierarchy level. In some cases, however, the provider package may want to restrict the use of an interface to one or more user packages.
For example, an interface might provide critical functions that could cause data inconsistencies and that can only be used correctly by a particular package in a specific context. In such a case, it would be undesirable for other packages to be given use access to this special interface.

Provider packages can make their interfaces available only to certain users, preventing other packages from using them.
See also:
Graphic: Permissible Use Accesses

Prerequisites

You have created a package interface.

Procedure

To name the only packages allowed to use an interface:

  1. Choose the interface belonging to the provider package.
  2. Make sure you are in Change mode.
  3. Choose Restriction on user packages.
  4. Check the Restriction on user packages.

The lines in the table are now ready for input.

  1. Under Packages, enter the user packages that are permitted to use the interface.
  2. Caution

    Note that the packages you enter do not necessarily have to be in the current system. The Package Builder does not perform any further checks on the package to ensure that its use access is authorized.

  3. Choose This graphic is explained in the accompanying text Save.

Result

You have specified the only user packages entitled to use a particular interface of the provider package. Other packages do not obtain use access, which means that they cannot use the interface elements, even if the latter are visible.

See also:

Creating Use Accesses

Extending Visibility over Several Levels

 

 

Leaving content frame