C_LglCntntMRefreshDocAgreement
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)
| Source | Alias | Join Type |
|---|---|---|
| C_LCMLegalTrDocument | _LCMLegalTrDocument | inner |
| I_LglCntntMRefreshDocAgreement | _LglCntntMRefreshDocAgreement | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
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