C_LglCntntMCntxtPhseTP

DDL: C_LGLCNTNTMCNTXTPHSETP Type: view_entity CONSUMPTION Package: ODATA_LCM_CTX

Phase for Context

C_LglCntntMCntxtPhseTP is a Consumption CDS View that provides data about "Phase for Context" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCntxtPhseTP) and exposes 12 fields with key field LglCntntMPhaseUUID. It has 1 association to related views. Part of development package ODATA_LCM_CTX.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMCntxtPhseTP I_LglCntntMCntxtPhseTP projection

Associations (1)

CardinalityTargetAliasCondition
[1..*] C_LglCntntMDocsInCntxtPhseDet _LglCntntMDocsInCntxtPhseDet $projection.LglCntntMPhaseUUID = _LglCntntMDocsInCntxtPhseDet.LglCntntMPhaseUUID

Annotations (10)

NameValueLevelField
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Phase for Context 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 LglCntntMPhaseUUID view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMPhaseUUID LglCntntMPhaseUUID Universal Unique ID
LglCntntMContextUUID LglCntntMContextUUID Universal Unique ID
LglCntntMRank LglCntntMRank Seq No
LglCntntMPhaseName LglCntntMPhaseName Phase Name
LglCntntMPhaseType LglCntntMPhaseType Type
LglCntntMPhaseMode LglCntntMPhaseMode Start Condition
LglCntntMPhaseIsAutoStrtEnbld LglCntntMPhaseIsAutoStrtEnbld Auto-Start
LglCntntMNmbrOfDocInPhase LglCntntMNmbrOfDocInPhase
_PhaseTypeText _PhaseTypeText
_PhaseModeText _PhaseModeText
_LglCntntMContext _LglCntntMContext
_LglCntntMDocsInCntxtPhseDet _LglCntntMDocsInCntxtPhseDet

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_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 C_LglCntntMCntxtPhseTP AS
SELECT
  LglCntntMPhaseUUID,
  LglCntntMContextUUID,
  LglCntntMRank,
  LglCntntMPhaseName,
  LglCntntMPhaseType,
  LglCntntMPhaseMode,
  LglCntntMPhaseIsAutoStrtEnbld,
  LglCntntMNmbrOfDocInPhase
FROM I_LglCntntMCntxtPhseTP
LEFT OUTER JOIN C_LglCntntMDocsInCntxtPhseDet AS _LglCntntMDocsInCntxtPhseDet ON LglCntntMPhaseUUID = _LglCntntMDocsInCntxtPhseDet.LglCntntMPhaseUUID  -- association [1..*]
;