I_LglCntntMUserDetails

DDL: I_LGLCNTNTMUSERDETAILS SQL: ILCMUSERD Type: view COMPOSITE

User Details

I_LglCntntMUserDetails is a Composite CDS View that provides data about "User Details" in SAP S/4HANA. It reads from 1 data source (I_LCMUserAddressAssignment) and exposes 10 fields with key field ContactCardID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LCMUserAddressAssignment _User from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_LCMPerson _Person _Person.PersonNumber = $projection.Person and _Person.PersonNumber <> ''
[0..*] I_AddressEmailAddress _DefaultEmailAddress _DefaultEmailAddress.AddressID = $projection.AddressID and _DefaultEmailAddress.Person = $projection.Person and _DefaultEmailAddress.IsDefaultEmailAddress = 'X'
[0..1] I_LCMContactCardOrgData _OrgData _OrgData.AddressID = $projection.AddressID and _OrgData.Person = $projection.Person

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ILCMUSERD view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.representativeKey ContactCardID view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label User Details view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ContactCardID I_LCMUserAddressAssignment ContactCardID User name
Person I_LCMUserAddressAssignment Person Person/ Farm/ Field
BusinessPartnerUUID I_LCMUserAddressAssignment BusinessPartnerUUID UUID
FirstName _Person FirstName First Name
LastName _Person LastName Last Name
FullName
AddressID I_LCMUserAddressAssignment AddressID Ship-to address
_Person _Person
_DefaultEmailAddress _DefaultEmailAddress
_OrgData _OrgData

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_LglCntntMUserDetails.
-- 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: ILCMUSERD

CREATE VIEW I_LglCntntMUserDetails AS
SELECT
  _User.ContactCardID AS ContactCardID,
  _User.Person AS Person,
  _User.BusinessPartnerUUID AS BusinessPartnerUUID,
  _Person.FirstName AS FirstName,
  _Person.LastName AS LastName,
  coalesce( _Person.UserFullName , _User.FullName ) AS FullName,
  _User.AddressID AS AddressID
FROM I_LCMUserAddressAssignment AS _User
LEFT OUTER JOIN I_LCMPerson AS _Person ON _Person.PersonNumber = Person AND _Person.PersonNumber <> ''  -- association [0..1]
LEFT OUTER JOIN I_AddressEmailAddress AS _DefaultEmailAddress ON _DefaultEmailAddress.AddressID = AddressID AND _DefaultEmailAddress.Person = Person AND _DefaultEmailAddress.IsDefaultEmailAddress = 'X'  -- association [0..*]
LEFT OUTER JOIN I_LCMContactCardOrgData AS _OrgData ON _OrgData.AddressID = AddressID AND _OrgData.Person = Person  -- association [0..1]
;