C_LegalTrRelationshipTP
Legal Transaction Relationship
C_LegalTrRelationshipTP is a Consumption CDS View that provides data about "Legal Transaction Relationship" in SAP S/4HANA. It reads from 1 data source (I_LegalTrRelationshipTP) and exposes 26 fields with key field LegalTransactionRelshpUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTrRelationshipTP | LglTransactionRelshp | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_LegalTransactionTP | _LegalTransactionTP | $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID |
| [0..1] | C_LegalTransactionIdValueHelp | _LegalTransactionIdValueHelp | $projection.LegalTransaction = _LegalTransactionIdValueHelp.LegalTransaction |
| [0..1] | C_LCMRelationshipTypeValueHelp | _RelationshipTypeValueHelp | $projection.LglCntntMRelshpType = _RelationshipTypeValueHelp.LglCntntMRelshpType |
| [0..1] | C_LegalTransactionQuickView | _LegalTransactionQuickView | $projection.LegalTransaction = _LegalTransactionQuickView.LegalTransaction |
| [1..1] | I_LglCntntMLglTransLockText | _LglTransLockText | _LglTransLockText.LglCntntMLglTransLockCode = $projection.LglCntntMLglTransLockCode |
| [0..1] | C_LegalTransactionHealthVH | _LegalTransHealthVH | $projection.LegalTransactionHealth = _LegalTransHealthVH.LegalTransactionHealth |
| [1..1] | I_LegalTransactionAggr | _LegalTransactionAggrgn | $projection.RelshpLegalTransactionUUID = _LegalTransactionAggrgn.LegalTransactionUUID |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLEGALTRRELSHPTP | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Legal Transaction Relationship | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.representativeKey | LegalTransactionRelshpUUID | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| UI.headerInfo.typeName | Relationship | view | |
| UI.headerInfo.typeNamePlural | Relationships | view | |
| UI.headerInfo.title.value | RelshpLegalTransactionTitle | view | |
| UI.headerInfo.description.value | LglCntntMRelTypeName | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionRelshpUUID | I_LegalTrRelationshipTP | LegalTransactionRelshpUUID | Universal Unique ID |
| RelshpLegalTransactionUUID | I_LegalTrRelationshipTP | RelshpLegalTransactionUUID | Universal Unique ID | |
| LglCntntMRelshpType | LglCntntMRelshpType | Relationship Type | ||
| LegalTransaction | I_LegalTrRelationshipTP | RelshpLegalTransaction | Legal Transaction | |
| RelshpLegalTransactionTitle | _LegalTransactionIdValueHelp | LegalTransactionTitle | Title | |
| LegalContext | Context | |||
| LglCntntMContextTitle | Context Title | |||
| LglCntntMIsMandatory | Required | |||
| LegalTransactionMandatoryFlag | LegalTransactionMandatoryFlag | Mandatory | ||
| LglCntntMIsIntegRelevant | LglCntntMIsIntegRelevant | Integrated | ||
| LegalTransactionUUID | I_LegalTrRelationshipTP | LegalTransactionUUID | Universal Unique ID | |
| LglCntntMLglTransLockCode | LglCntntMLglTransLockCode | Lock reason | ||
| LglCntntMLglTransLockCodeText | _LglTransLockText | LglCntntMLglTransLockCodeText | ||
| LglTransHealthCriticality | _LegalTransactionAggrgn | LglTransHealthCriticality | ||
| LegalTransactionHealth | LegalTransactionHealth | Status | ||
| LegalTransactionHealthName | _LegalTransHealthVH | LegalTransactionHealthName | Long Text | |
| LglCntntMMandDocCnt | 0 | Required Document | ||
| _LegalTransHealthVH | _LegalTransHealthVH | |||
| _LegalTransactionTP | _LegalTransactionTP | |||
| _LegalTransactionQuickView | _LegalTransactionQuickView | |||
| _LegalTransaction | _LegalTransaction | |||
| _RelshpLegalTransaction | _RelshpLegalTransaction | |||
| _LglCntntMRltnTypeText | _LglCntntMRltnTypeText | |||
| _RelationshipTypeValueHelp | _RelationshipTypeValueHelp | |||
| _LegalTransactionIdValueHelp | _LegalTransactionIdValueHelp | |||
| _LegalTransactionAggrgn | _LegalTransactionAggrgn |
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_LegalTrRelationshipTP.
-- 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: CLEGALTRRELSHPTP
CREATE VIEW C_LegalTrRelationshipTP AS
SELECT
LglTransactionRelshp.LegalTransactionRelshpUUID AS LegalTransactionRelshpUUID,
LglTransactionRelshp.RelshpLegalTransactionUUID AS RelshpLegalTransactionUUID,
LglCntntMRelshpType,
LglTransactionRelshp.RelshpLegalTransaction AS LegalTransaction,
_LegalTransactionIdValueHelp.LegalTransactionTitle AS RelshpLegalTransactionTitle,
_LegalTransactionIdValueHelp._Context.LglCntntMContext AS LegalContext,
_LegalTransactionIdValueHelp._Context.LglCntntMContextTitle AS LglCntntMContextTitle,
'' AS LglCntntMIsMandatory,
LegalTransactionMandatoryFlag,
LglCntntMIsIntegRelevant,
LglTransactionRelshp.LegalTransactionUUID AS LegalTransactionUUID,
LglCntntMLglTransLockCode,
_LglTransLockText.LglCntntMLglTransLockCodeText AS LglCntntMLglTransLockCodeText,
_LegalTransactionAggrgn.LglTransHealthCriticality AS LglTransHealthCriticality,
LegalTransactionHealth,
_LegalTransHealthVH.LegalTransactionHealthName AS LegalTransactionHealthName,
0 AS LglCntntMMandDocCnt
FROM I_LegalTrRelationshipTP AS LglTransactionRelshp
LEFT OUTER JOIN C_LegalTransactionTP AS _LegalTransactionTP ON LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID -- association [1..1]
LEFT OUTER JOIN C_LegalTransactionIdValueHelp AS _LegalTransactionIdValueHelp ON LegalTransaction = _LegalTransactionIdValueHelp.LegalTransaction -- association [0..1]
LEFT OUTER JOIN C_LCMRelationshipTypeValueHelp AS _RelationshipTypeValueHelp ON LglCntntMRelshpType = _RelationshipTypeValueHelp.LglCntntMRelshpType -- association [0..1]
LEFT OUTER JOIN C_LegalTransactionQuickView AS _LegalTransactionQuickView ON LegalTransaction = _LegalTransactionQuickView.LegalTransaction -- association [0..1]
LEFT OUTER JOIN I_LglCntntMLglTransLockText AS _LglTransLockText ON _LglTransLockText.LglCntntMLglTransLockCode = LglCntntMLglTransLockCode -- association [1..1]
LEFT OUTER JOIN C_LegalTransactionHealthVH AS _LegalTransHealthVH ON LegalTransactionHealth = _LegalTransHealthVH.LegalTransactionHealth -- association [0..1]
LEFT OUTER JOIN I_LegalTransactionAggr AS _LegalTransactionAggrgn ON RelshpLegalTransactionUUID = _LegalTransactionAggrgn.LegalTransactionUUID -- 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