Ansicht
Dokumentation

ABAPEML_PRIVILEGED - EML PRIVILEGED

ABAPEML_PRIVILEGED - EML PRIVILEGED

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

- PRIVILEGED

The addition PRIVILEGED is used for a privileged access to a RAP BO, for example, to circumvent authority checks. The addition can only be used if the RAP BO entity is defined with with privileged mode .... See the details in the CDS BDL documentation for with privileged mode.

The addition is currently possible for the following statements:

  • Short forms

  • Long forms:

  • Dynamic forms:

Note

Using the method get_current_context of class CL_ABAP_BEHV_AUX, you can receive context information. Among others, you can determine if the running handler is running in privileged mode, e. g. as follows:

cl_abap_behv_aux=>get_current_context( IMPORTING privileged = DATA(priv) ).

The example Using the addition PRIVILEGED with an Statement demonstrates the addition PRIVILEGED using an action and a managed RAP BO.






CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3418 Date: 20240424 Time: 005811     sap01-206 ( 33 ms )