Ansicht
Dokumentation

ABAPGET_PERMISSIONS_SHORT - GET PERMISSIONS SHORT

ABAPGET_PERMISSIONS_SHORT - GET PERMISSIONS SHORT

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

GET PERMISSIONS, Short Form

GET PERMISSIONS $[PRIVILEGED$] $[only_clause$]
     ENTITY bdef $[FROM keys$] REQUEST request RESULT result $[response_param$].


Additions

1. ... PRIVILEGED

2. ... only_clause

3. ... FROM keys

4. ... response_param.

Effect

The short form of the GET PERMISSIONS statement is used to retrieve information on permissions for instances of a single entity.

Syntax Details

Syntax Part Details
bdef Specifies the name of the BDEF following the keyword ENTITY. It must be the full entity name, not the defined alias.

Addition 1

... PRIVILEGED

Effect

Addition 2

... only_clause

Effect

Addition 3

... FROM keys

Effect

Addition 4

... response_param.

Effect

Example

The following source code section taken from DEMO_RAP_EML_GET_PERMISSIONS demonstrates the short form of the GET PERMISSIONS statement in the context of checking access restrictions for certain data fields.

  • The example - GET PERMISSIONS, Variants demonstrates the short form of the GET PERMISSIONS statement with a simple managed RAP BO. It also includes the long and dynamic form.





rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2970 Date: 20240420 Time: 051213     sap01-206 ( 41 ms )