C_LglCntntMCntxtPhseItemTP

DDL: C_LGLCNTNTMCNTXTPHSEITEMTP Type: view_entity CONSUMPTION

Phase line item for Context

C_LglCntntMCntxtPhseItemTP is a Consumption CDS View that provides data about "Phase line item for Context" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCntxtPhseItemTP) and exposes 9 fields with key field LglCntntMPhaseItemUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMCntxtPhseItemTP I_LglCntntMCntxtPhseItemTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_LglCntntMContextDocTP _LglCntntMContextDocTP $projection.LglCntntMContextUUID = _LglCntntMContextDocTP.LglCntntMContextUUID and _LglCntntMContextDocTP.LglCntntMIsMandatory = 'X'

Annotations (10)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Phase line item for Context view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #NOT_REQUIRED view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey LglCntntMPhaseItemUUID view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMPhaseItemUUID LglCntntMPhaseItemUUID Universal Unique ID
LglCntntMPhaseUUID LglCntntMPhaseUUID Universal Unique ID
LglCntntMRank LglCntntMRank Seq No
LglCntntMContextUUID LglCntntMContextUUID Universal Unique ID
LglCntntMPhaseActionType LglCntntMPhaseActionType State
_LCMContextTPredirectedtoC_LCMContextTP
_LglCntntMPhaseActionText _LglCntntMPhaseActionText
_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 C_LglCntntMCntxtPhseItemTP.
-- 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 C_LglCntntMCntxtPhseItemTP AS
SELECT
  LglCntntMPhaseItemUUID,
  LglCntntMPhaseUUID,
  LglCntntMRank,
  LglCntntMContextUUID,
  LglCntntMPhaseActionType
FROM I_LglCntntMCntxtPhseItemTP
LEFT OUTER JOIN C_LglCntntMContextDocTP AS _LglCntntMContextDocTP ON LglCntntMContextUUID = _LglCntntMContextDocTP.LglCntntMContextUUID AND _LglCntntMContextDocTP.LglCntntMIsMandatory = 'X'  -- association [0..*]
;