I_LglCntntMCntxtPhseDocTypeTP

DDL: I_LGLCNTNTMCNTXTPHSEDOCTYPETP Type: view_entity TRANSACTIONAL

Legal Context Phase Doc Content Type

I_LglCntntMCntxtPhseDocTypeTP is a Transactional CDS View that provides data about "Legal Context Phase Doc Content Type" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCntxtPhseDocType) and exposes 8 fields with key field LglCntntMPhaseCntntTypeUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMCntxtPhseDocType I_LglCntntMCntxtPhseDocType from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_LCMContextTP _LCMContextTP $projection.LglCntntMContextUUID = _LCMContextTP.LglCntntMContextUUID
[1..1] I_LglCntntMContextDocTP _LglCntntMContextDocTP $projection.LglCntntMContextUUID = _LglCntntMContextDocTP.LglCntntMContextUUID and $projection.LglCntntMCntxtDocumentID = _LglCntntMContextDocTP.LglCntntMCntxtDocumentID

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #TRANSACTIONAL view
ObjectModel.representativeKey LglCntntMPhaseCntntTypeUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Legal Context Phase Doc Content Type view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMPhaseCntntTypeUUID LglCntntMPhaseCntntTypeUUID Universal Unique ID
LglCntntMPhaseDocUUID LglCntntMPhaseDocUUID Universal Unique ID
LglCntntMContextUUID LglCntntMContextUUID Universal Unique ID
LglCntntMCntxtDocumentID LglCntntMCntxtDocumentID Context Document ID
_LCMContextTP _LCMContextTP
_LglCntntMCntxtPhseDocTP _LglCntntMCntxtPhseDocTP
_LglCntntMContextDocTP _LglCntntMContextDocTP
_LglCntntMContext _LglCntntMContext

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_LglCntntMCntxtPhseDocTypeTP.
-- 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 I_LglCntntMCntxtPhseDocTypeTP AS
SELECT
  LglCntntMPhaseCntntTypeUUID,
  LglCntntMPhaseDocUUID,
  LglCntntMContextUUID,
  LglCntntMCntxtDocumentID
FROM I_LglCntntMCntxtPhseDocType
LEFT OUTER JOIN I_LCMContextTP AS _LCMContextTP ON LglCntntMContextUUID = _LCMContextTP.LglCntntMContextUUID  -- association [1..1]
LEFT OUTER JOIN I_LglCntntMContextDocTP AS _LglCntntMContextDocTP ON LglCntntMContextUUID = _LglCntntMContextDocTP.LglCntntMContextUUID AND LglCntntMCntxtDocumentID = _LglCntntMContextDocTP.LglCntntMCntxtDocumentID  -- association [1..1]
;