P_MaterialShortageProfileUser

DDL: P_MATERIALSHORTAGEPROFILEUSER SQL: PMATSHRTGPRFLUSR Type: view CONSUMPTION

P_MaterialShortageProfileUser is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 1 field with key field UserID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_User I_User from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SDMAreaOfRespyProfile _profileuser _profileuser.UserName = $session.user
[0..1] I_SDMAreaOfRespyProfile _profileuserStar _profileuserStar.UserName = '*'

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMATSHRTGPRFLUSR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY UserID UserID User 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 P_MaterialShortageProfileUser.
-- 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: PMATSHRTGPRFLUSR

CREATE VIEW P_MaterialShortageProfileUser AS
SELECT
  UserID
FROM I_User
LEFT OUTER JOIN I_SDMAreaOfRespyProfile AS _profileuser ON _profileuser.UserName = $session.user  -- association [0..1]
LEFT OUTER JOIN I_SDMAreaOfRespyProfile AS _profileuserStar ON _profileuserStar.UserName = '*'  -- association [0..1]
;