I_CacheMaterial

DDL: I_CACHEMATERIAL SQL: ICACHEMATERIAL Type: view BASIC

MRP Cache Material

I_CacheMaterial is a Basic CDS View that provides data about "MRP Cache Material" in SAP S/4HANA. It reads from 1 data source (pph_cache_mat) and exposes 34 fields with key fields Client, Material, MRPArea, MRPPlant. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
pph_cache_mat pph_cache_mat from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..1] I_MaterialType _MaterialType $projection.MaterialType = _MaterialType.MaterialType
[0..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ICACHEMATERIAL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label MRP Cache Material view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
Search.searchable true view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY Client pph_cache_mat mandt Editing Client
KEY Material pph_cache_mat material Vehicle Model
KEY MRPArea pph_cache_mat mrparea MRP Area
KEY MRPPlant pph_cache_mat mrpplant Plant
MRPController pph_cache_mat mrpcontroller MRP Controller
MaterialSafetyStockQty
MaterialReorderPointQty
MaterialBaseUnit pph_cache_mat materialbaseunit Valuation Unit
MaterialType pph_cache_mat materialtype Material Type
ProductionSupervisor pph_cache_mat productionsupervisor Prodn Supervisor
FactoryCalendar pph_cache_mat factorycalendarid Factory Calend.
MaterialReplnmtLeadDurnEndDate
TotalReplnmtLeadDurnEndDate
ManualPlanningHorizonEndDate
MRPSafetyDurationEndDate
MaterialProcurementProfile pph_cache_mat materialprocurementprofile Special Procur.
MaterialProcurementCategory pph_cache_mat materialprocurementcategory Procurement
MRPType pph_cache_mat mrptype MRP Type
MaterialPlannedDeliveryDurn pph_cache_mat materialplanneddeliverydurn Pl. Deliv. Time
MaterialPlannedProductionDurn pph_cache_mat materialplannedproductiondurn InhseProdTime
MRPSafetyDuration pph_cache_mat mrpsafetyduration Safety Time
PlanningTimeFenceInDays pph_cache_mat planningtimefenceindays Plng time fence
PurchasingGroup pph_cache_mat purchasinggroup Purchasing Group
MaterialGoodsReceiptDuration pph_cache_mat materialgoodsreceiptduration GR proc. time
MaterialGroup pph_cache_mat materialgroup Product Group
MaterialABCClassification pph_cache_mat materialabcclassification ABC Indicator
MRPGroup pph_cache_mat mrpgroup MRP Group
TotalReplenishmentLeadDuration pph_cache_mat totalreplenishmentleadduration Total RL time
LastBufferUpdateDateTime pph_cache_mat lastupdated Time Stamp
MaterialTypeName
MaterialGroupName
MaterialName
_MaterialText _MaterialText
_MaterialType _MaterialType

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_CacheMaterial.
-- 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: ICACHEMATERIAL

CREATE VIEW I_CacheMaterial AS
SELECT
  pph_cache_mat.mandt AS Client,
  pph_cache_mat.material AS Material,
  pph_cache_mat.mrparea AS MRPArea,
  pph_cache_mat.mrpplant AS MRPPlant,
  pph_cache_mat.mrpcontroller AS MRPController,
  cast (pph_cache_mat.materialsafetystockqty as materialsafetystockqty) AS MaterialSafetyStockQty,
  cast (pph_cache_mat.materialreorderpointqty as materialreorderpointqty) AS MaterialReorderPointQty,
  pph_cache_mat.materialbaseunit AS MaterialBaseUnit,
  pph_cache_mat.materialtype AS MaterialType,
  pph_cache_mat.productionsupervisor AS ProductionSupervisor,
  pph_cache_mat.factorycalendarid AS FactoryCalendar,
  cast (pph_cache_mat.materialreplnmtleaddurnenddate as mrpleaddurnenddate) AS MaterialReplnmtLeadDurnEndDate,
  cast (pph_cache_mat.totalreplnmtleaddurnenddate as totalreplnmtleaddurnenddate) AS TotalReplnmtLeadDurnEndDate,
  cast (pph_cache_mat.manualplanninghorizonenddate as manualplanninghorizonenddate) AS ManualPlanningHorizonEndDate,
  cast (pph_cache_mat.mrpsafetydurationenddate as mrpsafetydurationenddate) AS MRPSafetyDurationEndDate,
  pph_cache_mat.materialprocurementprofile AS MaterialProcurementProfile,
  pph_cache_mat.materialprocurementcategory AS MaterialProcurementCategory,
  pph_cache_mat.mrptype AS MRPType,
  pph_cache_mat.materialplanneddeliverydurn AS MaterialPlannedDeliveryDurn,
  pph_cache_mat.materialplannedproductiondurn AS MaterialPlannedProductionDurn,
  pph_cache_mat.mrpsafetyduration AS MRPSafetyDuration,
  pph_cache_mat.planningtimefenceindays AS PlanningTimeFenceInDays,
  pph_cache_mat.purchasinggroup AS PurchasingGroup,
  pph_cache_mat.materialgoodsreceiptduration AS MaterialGoodsReceiptDuration,
  pph_cache_mat.materialgroup AS MaterialGroup,
  pph_cache_mat.materialabcclassification AS MaterialABCClassification,
  pph_cache_mat.mrpgroup AS MRPGroup,
  pph_cache_mat.totalreplenishmentleadduration AS TotalReplenishmentLeadDuration,
  pph_cache_mat.lastupdated AS LastBufferUpdateDateTime,
  _MaterialType._Text[1: Language = $session.system_language ].MaterialTypeName AS MaterialTypeName,
  _MaterialGroup._Text[1: Language = $session.system_language ].MaterialGroupName AS MaterialGroupName,
  _MaterialText[ 1: Language = $session.system_language ].MaterialName AS MaterialName
FROM pph_cache_mat
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_MaterialType AS _MaterialType ON MaterialType = _MaterialType.MaterialType  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [0..1]
;