其实权限变量不是变量的一种,大家的俗称而已,它是可以作用于characteristic value variables and hierarchy node variables的一种Processing by的选择。
首先看官方文档:
Authorization
Use
The processing type Authorization enables variables to be filled with values automatically from the user authorization.
Integration
The processing type Authorization can be used with characteristic value variables and hierarchy node variables.
Prerequisites
You have maintained the
authorizations in transaction RSMM.
Features
When you create a variable, if you choose Process with Authorization, the variable is automatically filled with the values of the user's authorization. When the user opens a query, the data is selected automatically according to his or her authorizations.
Note that when they are automatically filled, variables do not have to be ready-for-input, which means a variables screen does not necessarily appear when you open the query or Web application. The user opens the query with the authorization variable, and can see only the data that corresponds to his or her authorizations.
Act