SU21_OBJ_PRIVILEGED_MODE

DDL: SU21_OBJ_PRIVILEGED_MODE SQL: SU21_OBJ_PRIVIL Type: view

Object in Privileged Mode Disabling

SU21_OBJ_PRIVILEGED_MODE is a CDS View that provides data about "Object in Privileged Mode Disabling" in SAP S/4HANA. It reads from 3 data sources (SU21_CRIT_OBJ_PRIVILEGED, tobjvorflg, tobj) and exposes 2 fields with key field object.

Data Sources (3)

SourceAliasJoin Type
SU21_CRIT_OBJ_PRIVILEGED crit left_outer
tobjvorflg flag left_outer
tobj tobj from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName SU21_OBJ_PRIVIL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label Object in Privileged Mode Disabling view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY object tobj objct Object
flag5NthenNelseendasflag_privileged

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view SU21_OBJ_PRIVILEGED_MODE.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: SU21_OBJ_PRIVIL

CREATE VIEW SU21_OBJ_PRIVILEGED_MODE AS
SELECT
  tobj.objct AS object,
  case when ( flag.flag5 is initial or flag.flag5 is null ) and crit.flag_privileged = 'N' then 'N' when ( flag.flag5 is initial or flag.flag5 is null ) then 'A' when flag.flag5 = 'A' then 'A' when flag.flag5 = 'N' then 'N' else '' end as flag_privileged AS flag5NthenNelseendasflag_privileged
FROM tobj
LEFT OUTER JOIN tobjvorflg AS flag ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SU21_CRIT_OBJ_PRIVILEGED AS crit ON /* join condition not captured in parsed metadata */
;