I_LglCntntMRefreshDocAgreement

DDL: I_LGLCNTNTMREFRESHDOCAGREEMENT Type: view_entity COMPOSITE

Legal document Agreement refresh detail

I_LglCntntMRefreshDocAgreement is a Composite CDS View that provides data about "Legal document Agreement refresh detail" in SAP S/4HANA. It reads from 2 data sources (I_LcmDocument, I_LglCntntMDocAgreement) and exposes 8 fields with key field LglCntntMAgreementUUID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_LcmDocument _LegalDocument inner
I_LglCntntMDocAgreement _LglCntntMDocAgreement from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LglCntntMDocLock _LglCntntMDocLock _LglCntntMDocLock.LglCntntMDocumentUUID = $projection.LglCntntMDocumentUUID and _LglCntntMDocLock.LglCntntMDocumentLinkedObjKey = $projection.LglCntntMDocumentLinkedObjKey

Annotations (10)

NameValueLevelField
Analytics.technicalName ILCMREFRESHDOCAGRMT view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Legal document Agreement refresh detail view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey LglCntntMAgreementUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMAgreementUUID I_LglCntntMDocAgreement LglCntntMAgreementUUID Agreement UUID
LglCntntMDocumentUUID I_LglCntntMDocAgreement LglCntntMDocumentUUID Universal Unique ID
LglCntntMDocAgrmtCoreStatus I_LglCntntMDocAgreement LglCntntMDocAgrmtCoreStatus Agrmnt. Core Status
LglCntntMDocAgrmtBizStatus I_LglCntntMDocAgreement LglCntntMDocAgrmtBizStatus Agrmt Bus Status
LglCntntMDocLockedReasonCode _LglCntntMDocLock LglCntntMDocLockedReasonCode Locked Reason
LglCntntMDocumentLinkedObjKey I_LcmDocument LglCntntMDocumentLinkedObjKey UUID Char32
_DocumentAuth I_LglCntntMDocAgreement _DocumentAuth
_LglCntntMDocLock _LglCntntMDocLock

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_LglCntntMRefreshDocAgreement.
-- 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 I_LglCntntMRefreshDocAgreement AS
SELECT
  _LglCntntMDocAgreement.LglCntntMAgreementUUID AS LglCntntMAgreementUUID,
  _LglCntntMDocAgreement.LglCntntMDocumentUUID AS LglCntntMDocumentUUID,
  _LglCntntMDocAgreement.LglCntntMDocAgrmtCoreStatus AS LglCntntMDocAgrmtCoreStatus,
  _LglCntntMDocAgreement.LglCntntMDocAgrmtBizStatus AS LglCntntMDocAgrmtBizStatus,
  _LglCntntMDocLock.LglCntntMDocLockedReasonCode AS LglCntntMDocLockedReasonCode,
  _LegalDocument.LglCntntMDocumentLinkedObjKey AS LglCntntMDocumentLinkedObjKey,
  _LglCntntMDocAgreement._DocumentAuth AS _DocumentAuth
FROM I_LglCntntMDocAgreement AS _LglCntntMDocAgreement
INNER JOIN I_LcmDocument AS _LegalDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LglCntntMDocLock AS _LglCntntMDocLock ON _LglCntntMDocLock.LglCntntMDocumentUUID = LglCntntMDocumentUUID AND _LglCntntMDocLock.LglCntntMDocumentLinkedObjKey = LglCntntMDocumentLinkedObjKey  -- association [0..1]
;