I_LegalTrRelationshipTP

DDL: I_LEGALTRRELATIONSHIPTP SQL: ILEGALLTRRLSHPTP Type: view TRANSACTIONAL

TP View for LCM LT Relationship

I_LegalTrRelationshipTP is a Transactional CDS View that provides data about "TP View for LCM LT Relationship" in SAP S/4HANA. It reads from 1 data source (I_LegalTrRelationship) and exposes 15 fields with key field LegalTransactionRelshpUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LegalTrRelationship I_LegalTrRelationship from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_LegalTransactionTP _LegalTransactionTP $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID
[0..1] I_LglCntntMLglTransLock _LglTransLock $projection.RelshpLegalTransactionUUID = _LglTransLock.LegalTransactionUUID
[0..1] I_LglCntntMRltnTypeText _LglCntntMRltnTypeText $projection.LglCntntMRelshpType = _LglCntntMRltnTypeText.LglCntntMRelshpType and Language = $session.system_language

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ILEGALLTRRLSHPTP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.representativeKey LegalTransactionRelshpUUID view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.writeActivePersistence LCM_LT_RELSHP view
ObjectModel.writeDraftPersistence LCM_LT_RELSHP_D view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label TP View for LCM LT Relationship view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionRelshpUUID LegalTransactionRelshpUUID Universal Unique ID
RelshpLegalTransaction RelshpLegalTransaction Legal Transaction ID
LglCntntMRelshpType LglCntntMRelshpType Relationship Type
LegalTransactionMandatoryFlag LegalTransactionMandatoryFlag Mandatory
RelshpLegalTransactionUUID RelshpLegalTransactionUUID Universal Unique ID
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LegalTransactionHealth _RelshpLegalTransaction LegalTransactionHealth LT Status
LglCntntMLglTransLockCode _LglTransLock LglCntntMLglTransLockCode Lock reason
LglCntntMIsIntegRelevant LglCntntMIsIntegRelevant Integrated
LglCntntMIsAddedByIntegVarbl LglCntntMIsAddedByIntegVarbl Added By Integration
_LegalTransaction _LegalTransaction
_LglCntntMRltnTypeText _LglCntntMRltnTypeText
_LglTransLock _LglTransLock
_RelshpLegalTransaction _RelshpLegalTransaction
_LegalTransactionTP _LegalTransactionTP

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 I_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: ILEGALLTRRLSHPTP

CREATE VIEW I_LegalTrRelationshipTP AS
SELECT
  LegalTransactionRelshpUUID,
  RelshpLegalTransaction,
  LglCntntMRelshpType,
  LegalTransactionMandatoryFlag,
  RelshpLegalTransactionUUID,
  LegalTransactionUUID,
  _RelshpLegalTransaction.LegalTransactionHealth AS LegalTransactionHealth,
  _LglTransLock.LglCntntMLglTransLockCode AS LglCntntMLglTransLockCode,
  LglCntntMIsIntegRelevant,
  LglCntntMIsAddedByIntegVarbl
FROM I_LegalTrRelationship
LEFT OUTER JOIN I_LegalTransactionTP AS _LegalTransactionTP ON LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN I_LglCntntMLglTransLock AS _LglTransLock ON RelshpLegalTransactionUUID = _LglTransLock.LegalTransactionUUID  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMRltnTypeText AS _LglCntntMRltnTypeText ON LglCntntMRelshpType = _LglCntntMRltnTypeText.LglCntntMRelshpType AND Language = $session.system_language  -- association [0..1]
;