I_MatlCostApportionmentStruc

DDL: I_MATLCOSTAPPORTIONMENTSTRUC SQL: IPPMATCOSTAPSTRU Type: view BASIC

Material Cost Apportionment Structure

I_MatlCostApportionmentStruc is a Basic CDS View (Dimension) that provides data about "Material Cost Apportionment Structure" in SAP S/4HANA. It reads from 1 data source (makv) and exposes 10 fields with key fields Material, Plant, MaterialCostApportionmentStruc. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
makv makv from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_ControllingStructureType _ControllingStructureType $projection.ControllingStructureType = _ControllingStructureType.ControllingStructureType
[0..1] I_ControllingStructure _ControllingStructure $projection.ControllingStructureType = _ControllingStructure.ControllingStructureType and $projection.ControllingStructure = _ControllingStructure.ControllingStructure

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IPPMATCOSTAPSTRU view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey MaterialCostApportionmentStruc view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Material Cost Apportionment Structure view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Material matnr Vehicle Model
KEY Plant werks Receiving Plant
KEY MaterialCostApportionmentStruc csplit Apportionment
MatlCostApportionmentStrucDesc ktext Apportionment Structure Description
ControllingStructureType sctyp Structure Type
scnamasControllingStructure
_Material _Material
_Plant _Plant
_ControllingStructureType _ControllingStructureType
_ControllingStructure _ControllingStructure

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_MatlCostApportionmentStruc.
-- 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: IPPMATCOSTAPSTRU

CREATE VIEW I_MatlCostApportionmentStruc AS
SELECT
  matnr AS Material,
  werks AS Plant,
  csplit AS MaterialCostApportionmentStruc,
  ktext AS MatlCostApportionmentStrucDesc,
  sctyp AS ControllingStructureType
FROM makv
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_ControllingStructureType AS _ControllingStructureType ON ControllingStructureType = _ControllingStructureType.ControllingStructureType  -- association [0..1]
LEFT OUTER JOIN I_ControllingStructure AS _ControllingStructure ON ControllingStructureType = _ControllingStructure.ControllingStructureType AND ControllingStructure = _ControllingStructure.ControllingStructure  -- association [0..1]
;