/AGIL/LUR_I_UserAuthAccessMax

DDL: /AGIL/LUR_I_USERAUTHACCESSMAX SQL: /AGIL/LURUSMXACC Type: view

Maximum Access Level per User

/AGIL/LUR_I_UserAuthAccessMax is a CDS View that provides data about "Maximum Access Level per User" in SAP S/4HANA. It reads from 1 data source (/AGIL/LUR_I_UserAuthAccMaxBase) and exposes 4 fields with key field Username. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/AGIL/LUR_I_UserAuthAccMaxBase /AGIL/LUR_I_UserAuthAccMaxBase from

Parameters (1)

NameTypeDefault
p_key_date datuv

Associations (1)

CardinalityTargetAliasCondition
[1..1] /AGIL/LUR_I_AccessLevel _level _level.AccessPriority = $projection.AccessLevelPriority

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName /AGIL/LURUSMXACC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Maximum Access Level per User view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Username Username User who owns item
AccessLevelPriority AccessLevelPriority
AccessLevel _level AccessLevel Access Level
AccessLevelDescription _level Description Well Code Des.

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 /AGIL/LUR_I_UserAuthAccessMax.
-- 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: /AGIL/LURUSMXACC
-- Parameters: p_key_date : datuv

CREATE VIEW /AGIL/LUR_I_UserAuthAccessMax AS
SELECT
  Username,
  AccessLevelPriority,
  _level.AccessLevel AS AccessLevel,
  _level.Description AS AccessLevelDescription
FROM /AGIL/LUR_I_UserAuthAccMaxBase
LEFT OUTER JOIN /AGIL/LUR_I_AccessLevel AS _level ON _level.AccessPriority = AccessLevelPriority  -- association [1..1]
;