Ansicht
Dokumentation
ABAPGET_PERMISSIONS_DYN - GET PERMISSIONS DYN
PERFORM Short Reference Addresses (Business Address Services)This documentation is copyright by SAP AG.
GET PERMISSIONS OPERATIONS, Dynamic Form
GET PERMISSIONS $[only_clause$]
OPERATIONS perm_tab $[response_param$].
Additions
1. ... PRIVILEGED ...
2. ... only_clause ...
3. ... response_param.
Effect
The dynamic version of the GET PERMISSIONS statement collects permission queries for multiple RAP BO entities in one GET PERMISSIONS statement.
perm_tab must be an internal table of type ABP_BEHV_PERMISSIONS_TAB. This table has specific components:
Component | Details |
entity_name | Specifies the name of the BO entity for which the permissions are requested. The entry for entity_name must be of type ABP_ENTITY_NAME. If the name is specified directly using a character literal, it must be provided using capital letters. It is a mandatory component. |
instances | The specification is optional. It is only relevant for getting the permission information on an instance level. The name must be provided using capital letters. The entry for instances must be a reference variable static type DATA. |
request | Specifies the REQUEST parameter. It is a mandatory component that must be a reference variable with the static type DATA. |
results | Specifies the RESULT parameter. It is a mandatory component that must be a reference variable with the static type DATA. \lbr \lbr See the Guidelines for information on how the components of the permissions result are handled. |
Addition 1
... PRIVILEGED
Effect
Addition 2
... only_clause ...
Effect
Addition 3
... response_param.
Effect
The addition response_param represents the response parameters that can be specified. When used in the context of the dynamic form of the statement, the parameters must be internal tables typed with
ABP_BEHV_RESPONSE_TAB.
Example
The following source code section taken from DEMO_RAP_EML_GET_PERMISSIONS
demonstrates the dynamic form of the GET PERMISSIONS statement in the context of checking access restrictions for certain data fields.
- The example - GET PERMISSIONS, Variants demonstrates the dynamic form of the GET PERMISSIONS statement with a simple managed RAP BO. It also includes the short and long form.
ROGBILLS - Synchronize billing plans SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 4342 Date: 20240419 Time: 032540 sap01-206 ( 58 ms )