I_PlndIndepRqmtItemPlanInd

DDL: I_PLNDINDEPRQMTITEMPLANIND SQL: IPIRITP Type: view COMPOSITE

Planned Independent Requirement Item Plan

I_PlndIndepRqmtItemPlanInd is a Composite CDS View that provides data about "Planned Independent Requirement Item Plan" in SAP S/4HANA. It reads from 1 data source (I_PlndIndepRqmtItmBasicPlanInd) and exposes 17 fields with key fields Product, Plant, MRPArea, PlndIndepRqmtType, PlndIndepRqmtVersion. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PlndIndepRqmtItmBasicPlanInd I_PlndIndepRqmtItmBasicPlanInd from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PlndIndepRqmtPlanInd _PlndIndepRqmt $projection.Product = _PlndIndepRqmt.Product and $projection.Plant = _PlndIndepRqmt.Plant and $projection.MRPArea = _PlndIndepRqmt.MRPArea and $projection.PlndIndepRqmtType = _PlndIndepRqmt.PlndIndepRqmtType and $projection.PlndIndepRqmtVersion = _PlndIndepRqmt.PlndIndepRqmtVersion and $projection.RequirementPlan = _PlndIndepRqmt.RequirementPlan and $projection.RequirementSegment = _PlndIndepRqmt.RequirementSegment

Annotations (9)

NameValueLevelField
EndUserText.label Planned Independent Requirement Item Plan view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IPIRITP view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY PlndIndepRqmtType PlndIndepRqmtType
KEY PlndIndepRqmtVersion PlndIndepRqmtVersion
KEY RequirementPlan RequirementPlan Requirements Plan
KEY RequirementSegment RequirementSegment Req. Segment
KEY PeriodType PeriodType PeriodIndicator
PlndIndepRqmtIsActive PlndIndepRqmtIsActive
PlndIndepRqmtInternalID PlndIndepRqmtInternalID PIR Pointer
WorkingDayDate WorkingDayDate
PlannedQuantity
WithdrawalQuantity WithdrawalQuantity Withdrawal Qty
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
UnitOfMeasure UnitOfMeasure Unit Protected Qty
_PlndIndepRqmt _PlndIndepRqmt

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_PlndIndepRqmtItemPlanInd.
-- 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: IPIRITP

CREATE VIEW I_PlndIndepRqmtItemPlanInd AS
SELECT
  Product,
  Plant,
  MRPArea,
  PlndIndepRqmtType,
  PlndIndepRqmtVersion,
  RequirementPlan,
  RequirementSegment,
  PeriodType,
  PlndIndepRqmtIsActive,
  PlndIndepRqmtInternalID,
  WorkingDayDate,
  PlannedQuantity - WithdrawalQuantity AS PlannedQuantity,
  WithdrawalQuantity,
  LastChangedByUser,
  LastChangeDate,
  UnitOfMeasure
FROM I_PlndIndepRqmtItmBasicPlanInd
LEFT OUTER JOIN I_PlndIndepRqmtPlanInd AS _PlndIndepRqmt ON Product = _PlndIndepRqmt.Product AND Plant = _PlndIndepRqmt.Plant AND MRPArea = _PlndIndepRqmt.MRPArea AND PlndIndepRqmtType = _PlndIndepRqmt.PlndIndepRqmtType AND PlndIndepRqmtVersion = _PlndIndepRqmt.PlndIndepRqmtVersion AND RequirementPlan = _PlndIndepRqmt.RequirementPlan AND RequirementSegment = _PlndIndepRqmt.RequirementSegment  -- association [1..1]
;