C_LglCntntMNotesLglTrans
Notes for Legal Transactions
C_LglCntntMNotesLglTrans is a Consumption CDS View that provides data about "Notes for Legal Transactions" in SAP S/4HANA. It reads from 2 data sources (I_LglCntntMNotesDet, I_LglCntntMNotesLglTransObjDet) and exposes 29 fields with key fields LglCntntMParApplObjUUID, LglCntntMNoteUUID. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LglCntntMNotesDet | LCMNote | inner |
| I_LglCntntMNotesLglTransObjDet | LTObj | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LcmDocument | _DocumentAuth | _DocumentAuth.LglCntntMDocumentUUID = LTObj.LglCntntMParObjUUID and LglCntntMObjType = 'DOC' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLCMLTNOTES | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Notes for Legal Transactions | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMParApplObjUUID | LglCntntMParApplObjUUID | ||
| KEY | LglCntntMNoteUUID | LglCntntMNoteUUID | Note UUID | |
| LglCntntMParentNoteUUID | I_LglCntntMNotesDet | LglCntntMParentNoteUUID | Parent Note UUID | |
| LglCntntMTopNoteUUID | I_LglCntntMNotesDet | LglCntntMTopNoteUUID | Top Note UUID | |
| LglCntntMNoteLvl | LglCntntMNoteLvl | Note Level | ||
| LglCntntMObjType | I_LglCntntMNotesDet | LglCntntMObjType | ||
| LglCntntMObjTypeDesc | LglCntntMObjTypeDesc | |||
| LglCntntMObjUUID | I_LglCntntMNotesDet | LglCntntMObjUUID | ||
| LglCntntMObjectID | I_LglCntntMNotesDet | LglCntntMObjectID | Object ID | |
| LglCntntMNoteReplyCnt | LglCntntMNoteReplyCnt | |||
| LglCntntMNotesThreadUTCDteTme | LglCntntMNotesThreadUTCDteTme | |||
| LglCntntMObjTitle | LglCntntMObjTitle | |||
| LglCntntMParObjUUID | LglCntntMParObjUUID | |||
| LglCntntMParObjID | LglCntntMParObjID | |||
| LglCntntMParObjTitle | LglCntntMParObjTitle | |||
| LglCntntMObjNodeType | LglCntntMObjNodeType | SAP Obj Node Type | ||
| LglCntntMNoteType | LglCntntMNoteType | Topic | ||
| MimeType | MimeType | MIMETYPE | ||
| LglCntntMNoteCntnt | LglCntntMNoteCntnt | Trusted Site Content | ||
| LglCntntMCreatedUTCDateTime | I_LglCntntMNotesDet | LglCntntMCreatedUTCDateTime | Created On | |
| LglCntntMCreatedByUser | I_LglCntntMNotesDet | LglCntntMCreatedByUser | Created By | |
| LglCntntMChangedUTCDateTime | I_LglCntntMNotesDet | LglCntntMChangedUTCDateTime | Changed On | |
| LglCntntMChangedByUser | I_LglCntntMNotesDet | LglCntntMChangedByUser | Changed By | |
| LglCntntMCreatedByFullName | ||||
| LglCntntMChangedByFullName | ||||
| _ChangedByContactCard | _ChangedByContactCard | |||
| _CreatedByContactCard | _CreatedByContactCard | |||
| _LegalTransaction | _LegalTransaction | |||
| _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 C_LglCntntMNotesLglTrans.
-- 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: CLCMLTNOTES
CREATE VIEW C_LglCntntMNotesLglTrans AS
SELECT
LglCntntMParApplObjUUID,
LglCntntMNoteUUID,
LCMNote.LglCntntMParentNoteUUID AS LglCntntMParentNoteUUID,
LCMNote.LglCntntMTopNoteUUID AS LglCntntMTopNoteUUID,
LglCntntMNoteLvl,
LCMNote.LglCntntMObjType AS LglCntntMObjType,
LglCntntMObjTypeDesc,
LCMNote.LglCntntMObjUUID AS LglCntntMObjUUID,
LCMNote.LglCntntMObjectID AS LglCntntMObjectID,
LglCntntMNoteReplyCnt,
LglCntntMNotesThreadUTCDteTme,
LglCntntMObjTitle,
LglCntntMParObjUUID,
LglCntntMParObjID,
LglCntntMParObjTitle,
LglCntntMObjNodeType,
LglCntntMNoteType,
MimeType,
LglCntntMNoteCntnt,
LCMNote.LglCntntMCreatedUTCDateTime AS LglCntntMCreatedUTCDateTime,
LCMNote.LglCntntMCreatedByUser AS LglCntntMCreatedByUser,
LCMNote.LglCntntMChangedUTCDateTime AS LglCntntMChangedUTCDateTime,
LCMNote.LglCntntMChangedByUser AS LglCntntMChangedByUser,
cast('' as ad_namtext) AS LglCntntMCreatedByFullName,
cast('' as ad_namtext) AS LglCntntMChangedByFullName
FROM I_LglCntntMNotesLglTransObjDet AS LTObj
INNER JOIN I_LglCntntMNotesDet AS LCMNote ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LcmDocument AS _DocumentAuth ON _DocumentAuth.LglCntntMDocumentUUID = LTObj.LglCntntMParObjUUID AND LglCntntMObjType = 'DOC' -- association [1..1]
;
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