Ansicht
Dokumentation

ABAPEML_PRIVILEGED - EML PRIVILEGED

ABAPEML_PRIVILEGED - EML PRIVILEGED

Vendor Master (General Section)   CPI1466 during Backup  
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.






TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3418 Date: 20240423 Time: 105135     sap01-206 ( 34 ms )