C_LglCntntMRefreshDocAgreement

DDL: C_LGLCNTNTMREFRESHDOCAGREEMENT Type: view_entity CONSUMPTION

Agreement Documents eligible for refresh

C_LglCntntMRefreshDocAgreement is a Consumption CDS View that provides data about "Agreement Documents eligible for refresh" in SAP S/4HANA. It reads from 2 data sources (C_LCMLegalTrDocument, I_LglCntntMRefreshDocAgreement) and exposes 20 fields with key fields LegalTransaction, LglCntntMDocumentUUID.

Data Sources (2)

SourceAliasJoin Type
C_LCMLegalTrDocument _LCMLegalTrDocument inner
I_LglCntntMRefreshDocAgreement _LglCntntMRefreshDocAgreement from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey LglCntntMDocumentUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Agreement Documents eligible for refresh view
Search.searchable true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY LegalTransaction C_LCMLegalTrDocument LegalTransaction Legal Transaction ID
KEY LglCntntMDocumentUUID C_LCMLegalTrDocument LglCntntMDocumentUUID Universal Unique ID
LegalTransactionUUID C_LCMLegalTrDocument LegalTransactionUUID Universal Unique ID
LegalDocument C_LCMLegalTrDocument LegalDocument Document ID
DocumentDescription C_LCMLegalTrDocument DocumentDescription Title
LglCntntMDocCntntTypeFilter C_LCMLegalTrDocument LglCntntMDocCntntTypeFilter Content Type
InternalDocumentStatus C_LCMLegalTrDocument InternalDocumentStatus Status
LglCntntMDocAgrmtCoreStatus I_LglCntntMRefreshDocAgreement LglCntntMDocAgrmtCoreStatus Agrmnt. Core Status
LglCntntMDocAgrmtBizStsCritlty
LglCntntMDocAgrmtBizStatus I_LglCntntMRefreshDocAgreement LglCntntMDocAgrmtBizStatus External Contract Status
LglCntntMDocAgrmtBizStatusText
LglCntntMDocLowTouchLevel C_LCMLegalTrDocument LglCntntMDocLowTouchLevel Assembly Automation Level
LglCntntMDocRefreshStatus C_LCMLegalTrDocument LglCntntMDocRefreshStatus Content Refresh
LglCntntMDocRefreshStatusText C_LCMLegalTrDocument LglCntntMDocRefreshStatusText
LglCntntMVirtualDocSyncSts C_LCMLegalTrDocument LglCntntMVirtualDocSyncSts Doc Content Sync Sts
LglCntntMDocLockedReasonCode
_ContentTypeText C_LCMLegalTrDocument _ContentTypeText
_DocStatusText C_LCMLegalTrDocument _DocStatusText
_LglCntntMDocLowTouchLvlTxt C_LCMLegalTrDocument _LglCntntMDocLowTouchLvlTxt
_DocumentAuth C_LCMLegalTrDocument _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 C_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 C_LglCntntMRefreshDocAgreement AS
SELECT
  _LCMLegalTrDocument.LegalTransaction AS LegalTransaction,
  _LCMLegalTrDocument.LglCntntMDocumentUUID AS LglCntntMDocumentUUID,
  _LCMLegalTrDocument.LegalTransactionUUID AS LegalTransactionUUID,
  _LCMLegalTrDocument.LegalDocument AS LegalDocument,
  _LCMLegalTrDocument.DocumentDescription AS DocumentDescription,
  _LCMLegalTrDocument.LglCntntMDocCntntTypeFilter AS LglCntntMDocCntntTypeFilter,
  _LCMLegalTrDocument.InternalDocumentStatus AS InternalDocumentStatus,
  _LglCntntMRefreshDocAgreement.LglCntntMDocAgrmtCoreStatus AS LglCntntMDocAgrmtCoreStatus,
  cast ( 0 as int1 ) AS LglCntntMDocAgrmtBizStsCritlty,
  _LglCntntMRefreshDocAgreement.LglCntntMDocAgrmtBizStatus AS LglCntntMDocAgrmtBizStatus,
  cast ( '' as lcm_doc_agrmt_biz_status_text ) AS LglCntntMDocAgrmtBizStatusText,
  _LCMLegalTrDocument.LglCntntMDocLowTouchLevel AS LglCntntMDocLowTouchLevel,
  _LCMLegalTrDocument.LglCntntMDocRefreshStatus AS LglCntntMDocRefreshStatus,
  _LCMLegalTrDocument.LglCntntMDocRefreshStatusText AS LglCntntMDocRefreshStatusText,
  _LCMLegalTrDocument.LglCntntMVirtualDocSyncSts AS LglCntntMVirtualDocSyncSts,
  _LglCntntMRefreshDocAgreement._LglCntntMDocLock.LglCntntMDocLockedReasonCode AS LglCntntMDocLockedReasonCode,
  _LCMLegalTrDocument._ContentTypeText AS _ContentTypeText,
  _LCMLegalTrDocument._DocStatusText AS _DocStatusText,
  _LCMLegalTrDocument._LglCntntMDocLowTouchLvlTxt AS _LglCntntMDocLowTouchLvlTxt,
  _LCMLegalTrDocument._DocumentAuth AS _DocumentAuth
FROM I_LglCntntMRefreshDocAgreement AS _LglCntntMRefreshDocAgreement
INNER JOIN C_LCMLegalTrDocument AS _LCMLegalTrDocument ON /* join condition not captured in parsed metadata */
;