C_LegalTransCollabnDoc

DDL: C_LEGALTRANSCOLLABNDOC Type: view_entity CONSUMPTION

Collaboration Documents in LT

C_LegalTransCollabnDoc is a Consumption CDS View that provides data about "Collaboration Documents in LT" in SAP S/4HANA. It reads from 1 data source (R_LglCntntMCollabnDocumentTP) and exposes 18 fields with key field LglCntntMCollabnDocUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
R_LglCntntMCollabnDocumentTP R_LglCntntMCollabnDocumentTP from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LcmDocument _LCMDocument $projection.LglCntntMDocumentUUID = _LCMDocument.LglCntntMDocumentUUID

Annotations (10)

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

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMCollabnDocUUID LglCntntMCollabnDocUUID Document UUID
LglCntntMCollabnUUID LglCntntMCollabnUUID Collaboration UUID
LglCntntMDocumentUUID LglCntntMDocumentUUID Universal Unique ID
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LglCntntMDocument LglCntntMDocument Document ID
DocumentDescription _LCMDocument DocumentDescription Doc. Name
LglCntntMDocStatusName
InternalDocumentStatus _LCMDocument InternalDocumentStatus Status
LglCntntMDocContentTypeName
LglCntntMDocContentType _LCMDocument LglCntntMDocContentType Content Type
LglCntntMAccessLvlName
LglCntntMDocAccessLvl _LCMDocument LglCntntMDocAccessLvl Acs. Level
LanguageName
LglCntntMLanguage _LCMDocument LglCntntMLanguage Language
LglCntntMIsMandatory _LCMDocument LglCntntMIsMandatory Is Mandatory
LglCntntMCollabnFileIDInDrive LglCntntMCollabnFileIDInDrive File ID in Drive
LglCntntMCollabnFileAttchID LglCntntMCollabnFileAttchID Attachment ID
_LegalTransaction _LegalTransaction

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_LegalTransCollabnDoc.
-- 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_LegalTransCollabnDoc AS
SELECT
  LglCntntMCollabnDocUUID,
  LglCntntMCollabnUUID,
  LglCntntMDocumentUUID,
  LegalTransactionUUID,
  LglCntntMDocument,
  _LCMDocument.DocumentDescription AS DocumentDescription,
  _LCMDocument._DocStatusText[1: Language = $session.system_language].LglCntntMDocStatusName AS LglCntntMDocStatusName,
  _LCMDocument.InternalDocumentStatus AS InternalDocumentStatus,
  _LCMDocument._ContentTypeText[1: Language = $session.system_language].LglCntntMDocContentTypeName AS LglCntntMDocContentTypeName,
  _LCMDocument.LglCntntMDocContentType AS LglCntntMDocContentType,
  _LCMDocument._AccessLvlText[1: Language = $session.system_language].LglCntntMAccessLvlName AS LglCntntMAccessLvlName,
  _LCMDocument.LglCntntMDocAccessLvl AS LglCntntMDocAccessLvl,
  _LCMDocument._LanguageText[1: Language = $session.system_language].LanguageName AS LanguageName,
  _LCMDocument.LglCntntMLanguage AS LglCntntMLanguage,
  _LCMDocument.LglCntntMIsMandatory AS LglCntntMIsMandatory,
  LglCntntMCollabnFileIDInDrive,
  LglCntntMCollabnFileAttchID
FROM R_LglCntntMCollabnDocumentTP
LEFT OUTER JOIN I_LcmDocument AS _LCMDocument ON LglCntntMDocumentUUID = _LCMDocument.LglCntntMDocumentUUID  -- association [0..1]
;