I_LglCntntMCntxtPhseTP

DDL: I_LGLCNTNTMCNTXTPHSETP Type: view_entity TRANSACTIONAL

Legal Context Phase

I_LglCntntMCntxtPhseTP is a Transactional CDS View that provides data about "Legal Context Phase" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCntxtPhse) and exposes 14 fields with key field LglCntntMPhaseUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMCntxtPhse I_LglCntntMCntxtPhse from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_LglCntntMPhaseTypeText _PhaseTypeText $projection.LglCntntMPhaseType = _PhaseTypeText.LglCntntMPhaseType
[0..*] I_LglCntntMPhaseModeText _PhaseModeText $projection.LglCntntMPhaseMode = _PhaseModeText.LglCntntMPhaseMode
[1..*] I_LglCntntMCntxtPhseItemTP _LglCntntMCntxtPhseItemTP

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #TRANSACTIONAL view
ObjectModel.representativeKey LglCntntMPhaseUUID 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 view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMPhaseUUID LglCntntMPhaseUUID Universal Unique ID
LglCntntMContextUUID LglCntntMContextUUID Universal Unique ID
LglCntntMPhaseType LglCntntMPhaseType Type
LglCntntMPhaseMode LglCntntMPhaseMode Start Condition
LglCntntMRank LglCntntMRank Seq No
LglCntntMPhaseName LglCntntMPhaseName Phase Name
LglCntntMPhaseIsAutoStrtEnbld LglCntntMPhaseIsAutoStrtEnbld Auto-Start
LglCntntMNmbrOfDocInPhase
LglCntntMChangedUTCDateTime
_LCMContextTP _LCMContextTP
_LglCntntMCntxtPhseItemTP _LglCntntMCntxtPhseItemTP
_PhaseTypeText _PhaseTypeText
_PhaseModeText _PhaseModeText
_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_LglCntntMCntxtPhseTP.
-- 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_LglCntntMCntxtPhseTP AS
SELECT
  LglCntntMPhaseUUID,
  LglCntntMContextUUID,
  LglCntntMPhaseType,
  LglCntntMPhaseMode,
  LglCntntMRank,
  LglCntntMPhaseName,
  LglCntntMPhaseIsAutoStrtEnbld,
  cast( 0 as lcm_phase_doc_count ) AS LglCntntMNmbrOfDocInPhase,
  cast( 0 as lcm_changed_on ) AS LglCntntMChangedUTCDateTime
FROM I_LglCntntMCntxtPhse
LEFT OUTER JOIN I_LglCntntMPhaseTypeText AS _PhaseTypeText ON LglCntntMPhaseType = _PhaseTypeText.LglCntntMPhaseType  -- association [0..*]
LEFT OUTER JOIN I_LglCntntMPhaseModeText AS _PhaseModeText ON LglCntntMPhaseMode = _PhaseModeText.LglCntntMPhaseMode  -- association [0..*]
LEFT OUTER JOIN I_LglCntntMCntxtPhseItemTP AS _LglCntntMCntxtPhseItemTP ON /* condition not available in parsed metadata */  -- association [1..*]
;