I_LglCntntMDocAggregation

DDL: I_LGLCNTNTMDOCAGGREGATION SQL: ILCMDOCAGGR Type: view COMPOSITE

Aggregation view for I_LcmDocument

I_LglCntntMDocAggregation is a Composite CDS View that provides data about "Aggregation view for I_LcmDocument" in SAP S/4HANA. It reads from 1 data source (I_LegalDocument) and exposes 9 fields with key field LglCntntMDocumentUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LegalDocument _Document from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_LegalDocument _DocumentAuth $projection.LglCntntMDocumentUUID = _DocumentAuth.LglCntntMDocumentUUID
[1..1] I_LglCntntMSgntrParam _LglCntntMSgntrParam _LglCntntMSgntrParam.LglCntntMSgntrParameter = 'ACTIVATE_ESIGN'

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ILCMDOCAGGR view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey LglCntntMDocumentUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Aggregation view for I_LcmDocument view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMDocumentUUID LglCntntMDocumentUUID Universal Unique ID
ChangeDocObject
LglCntntMCreatedUTCDateTime LglCntntMCreatedUTCDateTime Created On
LglCntntMChangedUTCDateTime LglCntntMChangedUTCDateTime Changed On
LglCntntMDocIsVersCreateEnable
LglCntntMDocumentHasStamp
LglCntntMNumerator
BusinessPartner
_DocumentAuth _DocumentAuth

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_LglCntntMDocAggregation.
-- 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: ILCMDOCAGGR

CREATE VIEW I_LglCntntMDocAggregation AS
SELECT
  LglCntntMDocumentUUID,
  cast( concat('DOCUMENT', LglCntntMDocument) as cdobjectv ) AS ChangeDocObject,
  LglCntntMCreatedUTCDateTime,
  LglCntntMChangedUTCDateTime,
  '' AS LglCntntMDocIsVersCreateEnable,
  '' AS LglCntntMDocumentHasStamp,
  cast( 1 as abap.int8 ) AS LglCntntMNumerator,
  cast( 1 as bu_partner) AS BusinessPartner
FROM I_LegalDocument AS _Document
LEFT OUTER JOIN I_LegalDocument AS _DocumentAuth ON LglCntntMDocumentUUID = _DocumentAuth.LglCntntMDocumentUUID  -- association [1..1]
LEFT OUTER JOIN I_LglCntntMSgntrParam AS _LglCntntMSgntrParam ON _LglCntntMSgntrParam.LglCntntMSgntrParameter = 'ACTIVATE_ESIGN'  -- association [1..1]
;