I_MKT_UserAuthority

DDL: I_MKT_USERAUTHORITY SQL: IMKT_USERAUTH Type: view BASIC Package: CUAN_CDS_COMMON

User Authority

I_MKT_UserAuthority is a Basic CDS View that provides data about "User Authority" in SAP S/4HANA. It reads from 3 data sources (usr02, usrbf2, ust12) and exposes 8 fields with key fields HPA_CLIENT, AuthorizationProfileName, AuthorizationGroupObject, AuthorizationFieldName, AuthorizationFromValue. It has 1 association to related views. Part of development package CUAN_CDS_COMMON.

Data Sources (3)

SourceAliasJoin Type
usr02 usr02 inner
usrbf2 usrbf2 from
ust12 ust12 inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_MKT_User _MKT_User $projection.UserID = _MKT_User.UserID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMKT_USERAUTH view
VDM.viewType #BASIC view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.compiler.compareFilter true view
EndUserText.label User Authority view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY HPA_CLIENT usrbf2 mandt Editing Client
KEY AuthorizationProfileName
KEY AuthorizationGroupObject
KEY AuthorizationFieldName
KEY AuthorizationFromValue
KEY AuthorizationToValue
UserID
FullName _MKT_User FullName Name

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 I_MKT_UserAuthority.
-- 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: IMKT_USERAUTH

CREATE VIEW I_MKT_UserAuthority AS
SELECT
  usrbf2.mandt AS HPA_CLIENT,
  cast( ust12.auth as xuauth preserving type ) AS AuthorizationProfileName,
  cast( ust12.objct as xuobject preserving type ) AS AuthorizationGroupObject,
  cast( ust12.field as xufield preserving type ) AS AuthorizationFieldName,
  cast( ust12.von as xuval preserving type ) AS AuthorizationFromValue,
  cast( ust12.bis as xuval preserving type ) AS AuthorizationToValue,
  cast( usrbf2.bname as xuser preserving type ) AS UserID,
  _MKT_User.FullName AS FullName
FROM usrbf2
INNER JOIN ust12 ON /* join condition not captured in parsed metadata */
INNER JOIN usr02 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MKT_User AS _MKT_User ON UserID = _MKT_User.UserID  -- association [1..1]
;