C_LglCntntMDocCollaboration

DDL: C_LGLCNTNTMDOCCOLLABORATION Type: view_entity CONSUMPTION

Collaborations in Legal Transaction Doc

C_LglCntntMDocCollaboration is a Consumption CDS View that provides data about "Collaborations in Legal Transaction Doc" in SAP S/4HANA. It reads from 1 data source (R_LglCntntMCollabnDocumentTP) and exposes 27 fields with key field LglCntntMCollabnDocUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_LglCntntMCollabnDocumentTP R_LglCntntMCollabnDocumentTP from

Associations (4)

CardinalityTargetAliasCondition
[0..1] C_LegalTransCollaboration _LegalTransCollabn $projection.LglCntntMCollabnUUID = _LegalTransCollabn.LglCntntMCollabnUUID
[1..*] C_LegalTransCollabnMember _LegalTransCollabnMember $projection.LglCntntMCollabnUUID = _LegalTransCollabnMember.LglCntntMCollabnUUID
[0..1] I_LCMUserContactCard _CreatedByContactCard _CreatedByContactCard.ContactCardType = 'User' and _CreatedByContactCard.ContactCardID = $projection.LglCntntMCreatedByUser and _CreatedByContactCard.ContactCardRole = 'Creator'
[0..1] I_LCMUserContactCard _ChangedByContactCard _ChangedByContactCard.ContactCardType = 'User' and _ChangedByContactCard.ContactCardID = $projection.LglCntntMChangedByUser and _ChangedByContactCard.ContactCardRole = 'Creator'

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Collaborations in Legal Transaction Doc view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Collaboration view
UI.headerInfo.typeNamePlural Collaborations view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMCollabnDocUUID LglCntntMCollabnDocUUID Document UUID
LglCntntMCollabnUUID LglCntntMCollabnUUID Collaboration UUID
LglCntntMDocumentUUID LglCntntMDocumentUUID Universal Unique ID
LglCntntMCollaboration _LegalTransCollabn LglCntntMCollaboration Collaboration ID
LglCntntMCollabnName _LegalTransCollabn LglCntntMCollabnName Collaboration Name
LglCntntMCollabnTypeName _LegalTransCollabn LglCntntMCollabnTypeName
LglCntntMCollabnType _LegalTransCollabn LglCntntMCollabnType Collaboration Type
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LglCntntMCollabnStatusName _LegalTransCollabn LglCntntMCollabnStatusName Collaboration Status
LglCntntMCollabnStatus _LegalTransCollabn LglCntntMCollabnStatus Status
LglCntntMCollabnStsCritlty 0
LglCntntMScopeOfCollabnName _LegalTransCollabn LglCntntMScopeOfCollabnName
LglCntntMScopeOfCollabn _LegalTransCollabn LglCntntMScopeOfCollabn Scope of Collaboration
LglCntntMCollabnDescription _LegalTransCollabn LglCntntMCollabnDescription Collaboration Description
LglCntntMCreatedByUser _LegalTransCollabn LglCntntMCreatedByUser Created By
_CreatedByContactCard _CreatedByContactCard
LglCntntMCreatedUTCDateTime _LegalTransCollabn LglCntntMCreatedUTCDateTime Created On
LglCntntMCreatedByFullName
LglCntntMChangedByUser _LegalTransCollabn LglCntntMChangedByUser Changed By
_ChangedByContactCard _ChangedByContactCard
LglCntntMChangedUTCDateTime _LegalTransCollabn LglCntntMChangedUTCDateTime Changed On
LglCntntMLogHandler _LegalTransCollabn LglCntntMLogHandler Handle
LglCntntMChangedByFullName
LglCntntMCollabnTeamName _LegalTransCollabn LglCntntMCollabnTeamName Team Name
_LegalTransaction _LegalTransaction
_LegalTransCollabn _LegalTransCollabn
_LegalTransCollabnMember _LegalTransCollabnMember

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 C_LglCntntMDocCollaboration.
-- 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.

CREATE VIEW C_LglCntntMDocCollaboration AS
SELECT
  LglCntntMCollabnDocUUID,
  LglCntntMCollabnUUID,
  LglCntntMDocumentUUID,
  _LegalTransCollabn.LglCntntMCollaboration AS LglCntntMCollaboration,
  _LegalTransCollabn.LglCntntMCollabnName AS LglCntntMCollabnName,
  _LegalTransCollabn.LglCntntMCollabnTypeName AS LglCntntMCollabnTypeName,
  _LegalTransCollabn.LglCntntMCollabnType AS LglCntntMCollabnType,
  LegalTransactionUUID,
  _LegalTransCollabn.LglCntntMCollabnStatusName AS LglCntntMCollabnStatusName,
  _LegalTransCollabn.LglCntntMCollabnStatus AS LglCntntMCollabnStatus,
  0 AS LglCntntMCollabnStsCritlty,
  _LegalTransCollabn.LglCntntMScopeOfCollabnName AS LglCntntMScopeOfCollabnName,
  _LegalTransCollabn.LglCntntMScopeOfCollabn AS LglCntntMScopeOfCollabn,
  _LegalTransCollabn.LglCntntMCollabnDescription AS LglCntntMCollabnDescription,
  _LegalTransCollabn.LglCntntMCreatedByUser AS LglCntntMCreatedByUser,
  _LegalTransCollabn.LglCntntMCreatedUTCDateTime AS LglCntntMCreatedUTCDateTime,
  cast('' as ad_namtext) AS LglCntntMCreatedByFullName,
  _LegalTransCollabn.LglCntntMChangedByUser AS LglCntntMChangedByUser,
  _LegalTransCollabn.LglCntntMChangedUTCDateTime AS LglCntntMChangedUTCDateTime,
  _LegalTransCollabn.LglCntntMLogHandler AS LglCntntMLogHandler,
  cast('' as ad_namtext) AS LglCntntMChangedByFullName,
  _LegalTransCollabn.LglCntntMCollabnTeamName AS LglCntntMCollabnTeamName
FROM R_LglCntntMCollabnDocumentTP
LEFT OUTER JOIN C_LegalTransCollaboration AS _LegalTransCollabn ON LglCntntMCollabnUUID = _LegalTransCollabn.LglCntntMCollabnUUID  -- association [0..1]
LEFT OUTER JOIN C_LegalTransCollabnMember AS _LegalTransCollabnMember ON LglCntntMCollabnUUID = _LegalTransCollabnMember.LglCntntMCollabnUUID  -- association [1..*]
LEFT OUTER JOIN I_LCMUserContactCard AS _CreatedByContactCard ON _CreatedByContactCard.ContactCardType = 'User' AND _CreatedByContactCard.ContactCardID = LglCntntMCreatedByUser AND _CreatedByContactCard.ContactCardRole = 'Creator'  -- association [0..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _ChangedByContactCard ON _ChangedByContactCard.ContactCardType = 'User' AND _ChangedByContactCard.ContactCardID = LglCntntMChangedByUser AND _ChangedByContactCard.ContactCardRole = 'Creator'  -- association [0..1]
;