I_LegalTransactionPhase

DDL: I_LEGALTRANSACTIONPHASE SQL: ILCMLTPHASE Type: view BASIC

Legal Transaction Phase

I_LegalTransactionPhase is a Basic CDS View that provides data about "Legal Transaction Phase" in SAP S/4HANA. It reads from 1 data source (lcm_lt_phase) and exposes 17 fields with key field LglCntntMPhaseUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
lcm_lt_phase lcm_lt_phase from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_LegalTransaction _LegalTransaction $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
[1..*] I_LegalTransactionPhaseItem _LegalTransactionPhaseItem $projection.LglCntntMPhaseUUID = _LegalTransactionPhaseItem.LglCntntMPhaseUUID
[0..1] I_LglCntntMPhaseTypeText _PhaseTypeText $projection.LglCntntMPhaseType = _PhaseTypeText.LglCntntMPhaseType and Language = $session.system_language
[0..1] I_LglCntntMPhaseModeText _PhaseModeText $projection.LglCntntMPhaseMode = _PhaseModeText.LglCntntMPhaseMode and Language = $session.system_language
[0..1] I_LglCntntMPhaseStatusText _PhaseStatusText $projection.LglCntntMPhaseStatus = _PhaseStatusText.LglCntntMPhaseStatus and Language = $session.system_language

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ILCMLTPHASE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.representativeKey LglCntntMPhaseUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Legal Transaction Phase view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMPhaseUUID lglcntntmphaseuuid Universal Unique ID
LegalTransactionUUID legaltransactionuuid Universal Unique ID
LglCntntMRank lglcntntmrank Seq No
LglCntntMPhaseName lglcntntmphasename Phase Name
LglCntntMPhaseType lglcntntmphasetype Type
LglCntntMPhaseMode lglcntntmphasemode Start Condition
LglCntntMPhaseStatus lglcntntmphasestatus Status
LglCntntMPhseStartedUTCDteTme lglcntntmphsestartedutcdtetme Started On
LglCntntMPhaseStartedByUser lglcntntmphasestartedbyuser Started By
LglCntntMPhseCmpltdUTCDteTme lglcntntmphsecmpltdutcdtetme Changed On
LglCntntMPhaseIteration lglcntntmphaseiteration Phase Iteration
LglCntntMPhaseIsAutoStrtEnbld lglcntntmphaseisautostrtenbld Auto-Start
_LegalTransaction _LegalTransaction
_LegalTransactionPhaseItem _LegalTransactionPhaseItem
_PhaseTypeText _PhaseTypeText
_PhaseModeText _PhaseModeText
_PhaseStatusText _PhaseStatusText

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_LegalTransactionPhase.
-- 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: ILCMLTPHASE

CREATE VIEW I_LegalTransactionPhase AS
SELECT
  LglCntntMPhaseUUID,
  LegalTransactionUUID,
  LglCntntMRank,
  LglCntntMPhaseName,
  LglCntntMPhaseType,
  LglCntntMPhaseMode,
  LglCntntMPhaseStatus,
  LglCntntMPhseStartedUTCDteTme,
  LglCntntMPhaseStartedByUser,
  LglCntntMPhseCmpltdUTCDteTme,
  LglCntntMPhaseIteration,
  LglCntntMPhaseIsAutoStrtEnbld
FROM lcm_lt_phase
LEFT OUTER JOIN I_LegalTransaction AS _LegalTransaction ON LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN I_LegalTransactionPhaseItem AS _LegalTransactionPhaseItem ON LglCntntMPhaseUUID = _LegalTransactionPhaseItem.LglCntntMPhaseUUID  -- association [1..*]
LEFT OUTER JOIN I_LglCntntMPhaseTypeText AS _PhaseTypeText ON LglCntntMPhaseType = _PhaseTypeText.LglCntntMPhaseType AND Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMPhaseModeText AS _PhaseModeText ON LglCntntMPhaseMode = _PhaseModeText.LglCntntMPhaseMode AND Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMPhaseStatusText AS _PhaseStatusText ON LglCntntMPhaseStatus = _PhaseStatusText.LglCntntMPhaseStatus AND Language = $session.system_language  -- association [0..1]
;