I_LCMContextEntityTP

DDL: I_LCMCONTEXTENTITYTP Type: view_entity TRANSACTIONAL

Transactional view for Context Entities

I_LCMContextEntityTP is a Transactional CDS View that provides data about "Transactional view for Context Entities" in SAP S/4HANA. It reads from 1 data source (I_LCMContextEntity) and exposes 13 fields with key field LglCntntMCntxtEntityUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LCMContextEntity I_LCMContextEntity from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_LCMContextEntityAggr _LCMContextEntityAggr $projection.LglCntntMCntxtEntityUUID = _LCMContextEntityAggr.LglCntntMCntxtEntityUUID
[0..*] I_LCMEntityTypeText _LCMEntityTypeText $projection.LglCntntMEntityType = _LCMEntityTypeText.LglCntntMEntityType

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #TRANSACTIONAL 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 Transactional view for Context Entities view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMCntxtEntityUUID LglCntntMCntxtEntityUUID Universal Unique ID
LglCntntMContextUUID LglCntntMContextUUID Universal Unique ID
LglCntntMRank LglCntntMRank Seq No
LglCntntMEntity LglCntntMEntity Entity ID
LglCntntMEntityType LglCntntMEntityType Entity Type
LglCntntMTechEntityType LglCntntMTechEntityType Entity Techn. Type
LglCntntMIsMandatory LglCntntMIsMandatory Is Mandatory
LglCntntMIsMainEntity LglCntntMIsMainEntity Main Entity
LglCntntMIsIntegRelevant LglCntntMIsIntegRelevant Integrated
_LglCntntMContext _LglCntntMContext
_LCMContextTP _LCMContextTP
_LCMContextEntityAggr _LCMContextEntityAggr
_LCMEntityTypeText _LCMEntityTypeText

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_LCMContextEntityTP.
-- 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_LCMContextEntityTP AS
SELECT
  LglCntntMCntxtEntityUUID,
  LglCntntMContextUUID,
  LglCntntMRank,
  LglCntntMEntity,
  LglCntntMEntityType,
  LglCntntMTechEntityType,
  LglCntntMIsMandatory,
  LglCntntMIsMainEntity,
  LglCntntMIsIntegRelevant
FROM I_LCMContextEntity
LEFT OUTER JOIN I_LCMContextEntityAggr AS _LCMContextEntityAggr ON LglCntntMCntxtEntityUUID = _LCMContextEntityAggr.LglCntntMCntxtEntityUUID  -- association [0..1]
LEFT OUTER JOIN I_LCMEntityTypeText AS _LCMEntityTypeText ON LglCntntMEntityType = _LCMEntityTypeText.LglCntntMEntityType  -- association [0..*]
;