Use
User packages cannot make use of all the visible elements of an interface, unless there is use access available for it – that is, both visibility and use access are required before elements can be used. All packages except the package immediately surrounding the embedded package require use access for the interface. (For the immediate surrounding package, use access is implicit).
For migration projects, you can specify different levels of use by classifying error severity.
Each (explicit) use access applies to one package interface only. If a user package requires several interfaces, you must create use access for each one.
Prerequisites
Procedure
To create use access for a user package:
The system displays the Create Use Access dialog box.
Enter the Package interface, to which the use access should refer.
Change the Error severity only if No response is unsuitable. You should only do this when migrating the package interfaces that have been generated, and even then, only if you intend to update the use access.
Apart from the default value, NONE, these error severity values indicate that a true permission no longer exists, since they limit, at different levels, the authorization given by the use access.
Error severity |
Meaning |
NONE |
Default value The system does not respond when you use interface elements(true permission). |
INFO |
If you use interface elements, the system displays an Information message when you perform an extended program check (transaction: SLIN). |
WARN |
If you use interface elements, the system displays an Warning message when you perform an extended program check (transaction: SLIN). |
ERRO |
If you use interface elements, the system displays an Error message when you perform an extended program check (transaction: SLIN). |
OBSO |
After performing an extended program check, the system characterizes the interface elements as obsolete – that is, they should no longer be used. |
Result
You have created use access for an interface in a user package. The user package can now use all the interface elements contained in the provider package.