I_JITCallCompGrpCompMatlEnhcd

DDL: I_JITCALLCOMPGRPCOMPMATLENHCD Type: view_entity COMPOSITE

JIT Component Material Info

I_JITCallCompGrpCompMatlEnhcd is a Composite CDS View that provides data about "JIT Component Material Info" in SAP S/4HANA. It reads from 1 data source (I_JITInbCallComponentGroup) and exposes 6 fields with key field JITCallCompGrpUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_JITInbCallComponentGroup I_JITInbCallComponentGroup from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_JITCallCompGrpCompMatlInfo _JITCallCompGrpCompMatlInfo $projection.JITCallCompGrpUUID = _JITCallCompGrpCompMatlInfo.JITCallCompGrpUUID
[0..1] I_JITCallCompGrpCompMatlRef _JITCallCompGrpCompMatlRef $projection.JITCallCompGrpUUID = _JITCallCompGrpCompMatlRef.JITCallCompGrpUUID

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Analytics.technicalName IJITCGCMENH view
EndUserText.label JIT Component Material Info view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey JITCallCompGrpUUID view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY JITCallCompGrpUUID JITCallCompGrpUUID NodeID
JITHeaderUUID JITHeaderUUID NodeID
InternalJITCallNumber InternalJITCallNumber JIT Call Number
NmbrOfCompMatls1thenelseendasMaterial
_JITCallCompGrpCompMatlInfo _JITCallCompGrpCompMatlInfo
_JITInboundCall _JITInboundCall

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_JITCallCompGrpCompMatlEnhcd.
-- 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_JITCallCompGrpCompMatlEnhcd AS
SELECT
  JITCallCompGrpUUID,
  JITHeaderUUID,
  InternalJITCallNumber,
  case when _JITCallCompGrpCompMatlInfo.NmbrOfCompMatls = 0 then '' when _JITCallCompGrpCompMatlInfo.NmbrOfCompMatls = 1 then _JITCallCompGrpCompMatlRef.Material when _JITCallCompGrpCompMatlInfo.NmbrOfCompMatls > 1 then '*' else '' end as Material AS NmbrOfCompMatls1thenelseendasMaterial
FROM I_JITInbCallComponentGroup
LEFT OUTER JOIN I_JITCallCompGrpCompMatlInfo AS _JITCallCompGrpCompMatlInfo ON JITCallCompGrpUUID = _JITCallCompGrpCompMatlInfo.JITCallCompGrpUUID  -- association [1..1]
LEFT OUTER JOIN I_JITCallCompGrpCompMatlRef AS _JITCallCompGrpCompMatlRef ON JITCallCompGrpUUID = _JITCallCompGrpCompMatlRef.JITCallCompGrpUUID  -- association [0..1]
;