C_LegalTransactionPhaseItem

DDL: C_LEGALTRANSACTIONPHASEITEM SQL: CLCMLTPHSEITMTP Type: view CONSUMPTION

Phase line item for Legal Transaction

C_LegalTransactionPhaseItem is a Consumption CDS View that provides data about "Phase line item for Legal Transaction" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionPhaseItem) and exposes 13 fields with key field LglCntntMPhaseItemUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionPhaseItem I_LegalTransactionPhaseItem from

Associations (4)

CardinalityTargetAliasCondition
[1..*] C_LegalTransactionPhaseDoc _LegalTransactionPhaseDoc $projection.LglCntntMPhaseItemUUID = _LegalTransactionPhaseDoc.LglCntntMPhaseItemUUID
[0..1] C_LglCntntMPhaseDocActionVH _LglCntntMPhaseDocActionVH $projection.LglCntntMPhaseActionType = _LglCntntMPhaseDocActionVH.LglCntntMPhaseActionType
[0..1] C_LglCntntMPhaseTaskActionVH _LglCntntMPhaseTaskActionVH $projection.LglCntntMPhaseActionType = _LglCntntMPhaseTaskActionVH.LglCntntMPhaseActionType
[0..1] C_LglCntntMPhaseItemStatusVH _LglCntntMPhaseItemStatusVH $projection.LglCntntMPhaseItemStatus = _LglCntntMPhaseItemStatusVH.LglCntntMPhaseItemStatus

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CLCMLTPHSEITMTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AbapCatalog.preserveKey true view
ObjectModel.semanticKey LglCntntMPhaseUUID view
ObjectModel.representativeKey LglCntntMPhaseItemUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
UI.headerInfo.typeName Phase Item view
UI.headerInfo.typeNamePlural Phases Items view
UI.headerInfo.title.value LglCntntMPhaseItemUUID view
UI.headerInfo.description.value LglCntntMPhaseItemUUID view
Search.searchable true view
EndUserText.label Phase line item for Legal Transaction view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMPhaseItemUUID LglCntntMPhaseItemUUID Universal Unique ID
LglCntntMPhaseUUID LglCntntMPhaseUUID Universal Unique ID
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LglCntntMRank LglCntntMRank Seq No
LglCntntMPhaseActionType LglCntntMPhaseActionType State
LglCntntMPhaseItemStatus LglCntntMPhaseItemStatus Phase Item Status
_LegalTransactionPhaseDoc _LegalTransactionPhaseDoc
_LglCntntMPhaseDocActionVH _LglCntntMPhaseDocActionVH
_LglCntntMPhaseTaskActionVH _LglCntntMPhaseTaskActionVH
_LglCntntMPhaseItemStatusVH _LglCntntMPhaseItemStatusVH
_LglCntntMPhaseActionText _LglCntntMPhaseActionText
_PhaseItemStatusText _PhaseItemStatusText
_LegalTransaction _LegalTransaction

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_LegalTransactionPhaseItem.
-- 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: CLCMLTPHSEITMTP

CREATE VIEW C_LegalTransactionPhaseItem AS
SELECT
  LglCntntMPhaseItemUUID,
  LglCntntMPhaseUUID,
  LegalTransactionUUID,
  LglCntntMRank,
  LglCntntMPhaseActionType,
  LglCntntMPhaseItemStatus
FROM I_LegalTransactionPhaseItem
LEFT OUTER JOIN C_LegalTransactionPhaseDoc AS _LegalTransactionPhaseDoc ON LglCntntMPhaseItemUUID = _LegalTransactionPhaseDoc.LglCntntMPhaseItemUUID  -- association [1..*]
LEFT OUTER JOIN C_LglCntntMPhaseDocActionVH AS _LglCntntMPhaseDocActionVH ON LglCntntMPhaseActionType = _LglCntntMPhaseDocActionVH.LglCntntMPhaseActionType  -- association [0..1]
LEFT OUTER JOIN C_LglCntntMPhaseTaskActionVH AS _LglCntntMPhaseTaskActionVH ON LglCntntMPhaseActionType = _LglCntntMPhaseTaskActionVH.LglCntntMPhaseActionType  -- association [0..1]
LEFT OUTER JOIN C_LglCntntMPhaseItemStatusVH AS _LglCntntMPhaseItemStatusVH ON LglCntntMPhaseItemStatus = _LglCntntMPhaseItemStatusVH.LglCntntMPhaseItemStatus  -- association [0..1]
;