C_LegalTransactionDocLinkTP
C View for Legal Transaction Doc Link
C_LegalTransactionDocLinkTP is a Consumption CDS View that provides data about "C View for Legal Transaction Doc Link" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionDocLinkTP) and exposes 23 fields with key field LegalTransactionDocLinkUUID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransactionDocLinkTP | DocumentLink | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_LegalTransactionTP | _LegalTransactionTP | $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID |
| [1..*] | I_LcmDocument | _Document | $projection.LegalDocument = _Document.LglCntntMDocument and _Document.LglCntntMDocumentIsTopVersion = 'X' |
| [0..1] | C_LglCntntMDocumentIdValueHelp | _LglCntntMDocumentIdValueHelp | $projection.LegalDocument = _LglCntntMDocumentIdValueHelp.LglCntntMDocument |
| [0..1] | C_LegalTransactionIdValueHelp | _LegalTransactionIdValueHelp | $projection.LegalTransaction = _LegalTransactionIdValueHelp.LegalTransaction |
| [0..1] | C_LglCntntMDocContentTypeVH | _LglCntntMDocContentTypeVH | $projection.LglCntntMDocContentType = _LglCntntMDocContentTypeVH.LglCntntMDocContentType |
| [0..1] | C_LglCntntMDocAccLvlVH | _LglCntntMDocAccLvlVH | $projection.LglCntntMDocAccessLvl = _LglCntntMDocAccLvlVH.LglCntntMAccessLvl |
| [0..1] | C_LegalTransactionQuickView | _LegalTransactionQuickView | $projection.LegalTransaction = _LegalTransactionQuickView.LegalTransaction |
| [0..1] | C_LegalTransactionTP | _LegalTransactionNavigation | $projection.DocLinkLegalTransactionUUID = _LegalTransactionNavigation.LegalTransactionUUID |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLTDOCLINKTP | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.representativeKey | LegalTransactionDocLinkUUID | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Linked Document | view | |
| UI.headerInfo.typeNamePlural | Linked Documents | view | |
| UI.headerInfo.title.value | DocumentDescription | view | |
| UI.headerInfo.description.value | LegalDocument | view | |
| EndUserText.label | C View for Legal Transaction Doc Link | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionDocLinkUUID | I_LegalTransactionDocLinkTP | LegalTransactionDocLinkUUID | Universal Unique ID |
| LegalDocument | I_LegalTransactionDocLinkTP | LglCntntMDocument | Document | |
| DocumentDescription | _Document | DocumentDescription | Doc. Name | |
| LegalTransaction | _Document | LegalTransaction | Legal Transaction | |
| LglCntntMDocumentLinkedObject | LglCntntMDocumentLinkedObject | Object | ||
| LglCntntMDocumentLinkedObjKey | LglCntntMDocumentLinkedObjKey | UUID Char32 | ||
| LglCntntMDocContentType | _Document | LglCntntMDocContentType | Content Type | |
| LglCntntMDocAccessLvl | _Document | LglCntntMDocAccessLvl | Access Level | |
| LglCntntMDocStatusName | _Document | LglCntntMDocStatusName | Long Text | |
| DocLinkLegalTransactionUUID | _Document | LegalTransactionUUID | Universal Unique ID | |
| LegalTransactionUUID | I_LegalTransactionDocLinkTP | LegalTransactionUUID | Universal Unique ID | |
| _LegalTransactionTP | _LegalTransactionTP | |||
| _Document | _Document | |||
| FileName | ||||
| LglCntntMDocType | _Document | LglCntntMDocType | Document Type | |
| _LglCntntMDocumentIdValueHelp | _LglCntntMDocumentIdValueHelp | |||
| _LegalTransactionIdValueHelp | _LegalTransactionIdValueHelp | |||
| _LglCntntMDocContentTypeVH | _LglCntntMDocContentTypeVH | |||
| _LglCntntMDocAccLvlVH | _LglCntntMDocAccLvlVH | |||
| _LegalTransaction | _LegalTransaction | |||
| _LegalTransactionQuickView | _LegalTransactionQuickView | |||
| _LegalTransactionNavigation | _LegalTransactionNavigation | |||
| _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_LegalTransactionDocLinkTP.
-- 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: CLTDOCLINKTP
CREATE VIEW C_LegalTransactionDocLinkTP AS
SELECT
DocumentLink.LegalTransactionDocLinkUUID AS LegalTransactionDocLinkUUID,
DocumentLink.LglCntntMDocument AS LegalDocument,
_Document.DocumentDescription AS DocumentDescription,
_Document.LegalTransaction AS LegalTransaction,
LglCntntMDocumentLinkedObject,
LglCntntMDocumentLinkedObjKey,
_Document.LglCntntMDocContentType AS LglCntntMDocContentType,
_Document.LglCntntMDocAccessLvl AS LglCntntMDocAccessLvl,
_Document.LglCntntMDocStatusName AS LglCntntMDocStatusName,
_Document.LegalTransactionUUID AS DocLinkLegalTransactionUUID,
DocumentLink.LegalTransactionUUID AS LegalTransactionUUID,
cast( '' as abap.char(200) ) AS FileName,
_Document.LglCntntMDocType AS LglCntntMDocType
FROM I_LegalTransactionDocLinkTP AS DocumentLink
LEFT OUTER JOIN C_LegalTransactionTP AS _LegalTransactionTP ON LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID -- association [1..1]
LEFT OUTER JOIN I_LcmDocument AS _Document ON LegalDocument = _Document.LglCntntMDocument AND _Document.LglCntntMDocumentIsTopVersion = 'X' -- association [1..*]
LEFT OUTER JOIN C_LglCntntMDocumentIdValueHelp AS _LglCntntMDocumentIdValueHelp ON LegalDocument = _LglCntntMDocumentIdValueHelp.LglCntntMDocument -- association [0..1]
LEFT OUTER JOIN C_LegalTransactionIdValueHelp AS _LegalTransactionIdValueHelp ON LegalTransaction = _LegalTransactionIdValueHelp.LegalTransaction -- association [0..1]
LEFT OUTER JOIN C_LglCntntMDocContentTypeVH AS _LglCntntMDocContentTypeVH ON LglCntntMDocContentType = _LglCntntMDocContentTypeVH.LglCntntMDocContentType -- association [0..1]
LEFT OUTER JOIN C_LglCntntMDocAccLvlVH AS _LglCntntMDocAccLvlVH ON LglCntntMDocAccessLvl = _LglCntntMDocAccLvlVH.LglCntntMAccessLvl -- association [0..1]
LEFT OUTER JOIN C_LegalTransactionQuickView AS _LegalTransactionQuickView ON LegalTransaction = _LegalTransactionQuickView.LegalTransaction -- association [0..1]
LEFT OUTER JOIN C_LegalTransactionTP AS _LegalTransactionNavigation ON DocLinkLegalTransactionUUID = _LegalTransactionNavigation.LegalTransactionUUID -- association [0..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