Visibility Rules in Subpackages
Nested packages have a special relation between packages and their subpackages that also comes along with a restriction of visibility. As a general rule, the visibility has a one-way effect, namely from top (surrounding package) to the bottom (subpackages).
This means that elements in sub packages are always visible and accessible within their surrounding package (see graphic on the left).
However, the elements of the surrounding package are always invisible (and therefore not accessible) in embedded packages (see graphic on the right). For instance, it is not allowed for an ABAP program in the subpackage P2_1 to call a function module or so from the package P1.

.
.