SAP BDL PRIVILEGED MODE EXTENSION



Get Example source ABAP code based on a different SAP table
  


• WITH PRIVILEGED MODE DISABLING ABAP_BDL_EXTENSION

ABAP_RAP - with privileged mode, Extension

ABAP_SYNTAX
...
with privileged mode disabling ContextName;
...

What does it do?
Enables BDEF privileged mode for an extended RAP BO. BDEF privileged mode is a prerequisite for using the addition PRIVILEGED in ABAP EML when consuming the extended RAP BO.
ContextName must be an authorization context for disable that is specified in the same BDEF extension. Only one authorization context for disable can be specified after with privileged mode disabling.
The effect is that the authorization context ContextName is automatically disabled when a RAP BO consumer uses privileged access to the extended RAP BO in question.
Privileged access with ABAP EML is possible as soon as either the original BDEF or one of its extensions has specified privileged mode. For the original BDEF and all the extensions, a context consisting of a union of all contexts specified after with privileged mode disabling is applied.
For further details, see
RAP BDL - with privileged mode.
ABAP EML - PRIVILEGED.

ABAP_EXAMPLE_VX5
The following source code shows BDEF extension DEMO_RAP_EXTENSION_2. It extends BDEF DEMO_RAP_EXTENSIBLE_ROOT . The extension defines an authorization context for disable Context02, which is disabled in privileged mode.
BDEF DEMO_RAP_EXTENSION_2
ABAP_EXAMPLE_END