SAP GET PERMISSIONS DYN ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID GET-PERMISSIONS-DYN

GET PERMISSIONS OPERATIONS, Dynamic Form

ABAP_SYNTAX
GET PERMISSIONS $[only_clause$] OPERATIONS perm_tab $[response_param $].

ABAP Addition
1 ... PRIVILEGED ...
2 ... only_clause ...
3 ... response_param.

What does it do?
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: ComponentDetails
entity_nameSpecifies 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.
instancesThe 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.
requestSpecifies the REQUEST parameter. It is a mandatory component that must be a reference variable with the static type DATA.
resultsSpecifies the RESULT parameter. It is a mandatory component that must be a reference variable with the static type DATA. lbr lbr ABAP_NOTE See the Guidelines for information on how the components of the permissions result are handled.

ABAP Addition

What does it do?