C_LglCntntMDocCollaboration
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)
| Source | Alias | Join Type |
|---|---|---|
| R_LglCntntMCollabnDocumentTP | R_LglCntntMCollabnDocumentTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA