We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
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:
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) ).