I_PlndIndepRqmt

DDL: I_PLNDINDEPRQMT Type: view_entity BASIC Package: PPH_FORECAST_DEMAND

Planned Independent Req Basic View

I_PlndIndepRqmt is a Basic CDS View that provides data about "Planned Independent Req Basic View" in SAP S/4HANA. It reads from 1 data source (P_PlndIndepRqmt) and exposes 20 fields with key fields Product, Plant, MRPArea, PlndIndepRqmtType, PlndIndepRqmtVersion. It has 2 associations to related views. Part of development package PPH_FORECAST_DEMAND.

Data Sources (1)

SourceAliasJoin Type
P_PlndIndepRqmt P_PlndIndepRqmt from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PlndIndepRqmtItem _PlndIndepRqmtItem $projection.Product = _PlndIndepRqmtItem.Product and $projection.Plant = _PlndIndepRqmtItem.Plant and $projection.MRPArea = _PlndIndepRqmtItem.MRPArea and $projection.PlndIndepRqmtType = _PlndIndepRqmtItem.PlndIndepRqmtType and $projection.PlndIndepRqmtVersion = _PlndIndepRqmtItem.PlndIndepRqmtVersion and $projection.RequirementPlan = _PlndIndepRqmtItem.RequirementPlan and $projection.RequirementSegment = _PlndIndepRqmtItem.RequirementSegment
[0..1] I_WBSElementBasicData _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID

Annotations (8)

NameValueLevelField
EndUserText.label Planned Independent Req Basic View view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.compositionRoot true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY PlndIndepRqmtType PlndIndepRqmtType Reqmts type
KEY PlndIndepRqmtVersion PlndIndepRqmtVersion Version
KEY RequirementPlan RequirementPlan Requirements Plan
KEY RequirementSegment RequirementSegment Req. Segment
RequirementPlanIsExternal RequirementPlanIsExternal
PlndIndepRqmtInternalID PlndIndepRqmtInternalID PIR Pointer
PlndIndepRqmtIsActive PlndIndepRqmtIsActive Active
WBSElementInternalID WBS Internal ID
WBSElement
PlndIndepRqmtAcctAssgmtCat PlndIndepRqmtAcctAssgmtCat AcctAssgnCat:CC
InventorySpecialStockType InventorySpecialStockType Special Stock Type
ConsumptionPosting ConsumptionPosting Consumption Posting
InventorySpecialStockValnType InventorySpecialStockValnType Valuation
PlndIndepRqmtOwningApplication PlndIndepRqmtOwningApplication Copied
PlndIndepRqmtLastChgdDateTime PlndIndepRqmtLastChgdDateTime Time Stamp
_PlndIndepRqmtItem _PlndIndepRqmtItem
_WBSElement _WBSElement

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_PlndIndepRqmt.
-- 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_PlndIndepRqmt AS
SELECT
  Product,
  Plant,
  MRPArea,
  PlndIndepRqmtType,
  PlndIndepRqmtVersion,
  RequirementPlan,
  RequirementSegment,
  RequirementPlanIsExternal,
  PlndIndepRqmtInternalID,
  PlndIndepRqmtIsActive,
  cast ( WBSElementInternalID as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
  cast ( _WBSElement.WBSElement as ps_s4_posid preserving type ) AS WBSElement,
  PlndIndepRqmtAcctAssgmtCat,
  InventorySpecialStockType,
  ConsumptionPosting,
  InventorySpecialStockValnType,
  PlndIndepRqmtOwningApplication,
  PlndIndepRqmtLastChgdDateTime
FROM P_PlndIndepRqmt
LEFT OUTER JOIN I_PlndIndepRqmtItem AS _PlndIndepRqmtItem ON Product = _PlndIndepRqmtItem.Product AND Plant = _PlndIndepRqmtItem.Plant AND MRPArea = _PlndIndepRqmtItem.MRPArea AND PlndIndepRqmtType = _PlndIndepRqmtItem.PlndIndepRqmtType AND PlndIndepRqmtVersion = _PlndIndepRqmtItem.PlndIndepRqmtVersion AND RequirementPlan = _PlndIndepRqmtItem.RequirementPlan AND RequirementSegment = _PlndIndepRqmtItem.RequirementSegment  -- association [0..*]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
;