Show TOC

 Permissible Use AccessesLocate this document in the navigation structure

The following graphic indicates which use accesses to the server package interfaces comply with package concept rules.

For packages at the same level

Only packages P1 and P2 are entered in interface I3 as exclusive users. P4 cannot have use access to I3. 

For packages at different hierarchy level and with the same root package.

a). The use access cannot break through a package - that is, access a server package without using an interface (see the graphic on the right).

Nor can the client package access a server package without a package interface. In the graphic below, the package P2 has to define a package interface I2.

 

 

b). Use access is only granted after all the relevant superpackages have also received their use accesses

In a case such as depicted below, you must first create the use access for the package superpackage package P1. The client package P1_1 can then access the package interface I2 of the server package P2.

See also:

Visibility Rules in Embedded Sub Packages