I_ProdPlantPlndIndepRqmt

DDL: I_PRODPLANTPLNDINDEPRQMT SQL: IPRODPIR Type: view BASIC

Plnd Indep Rqmt join Prod & Plan

I_ProdPlantPlndIndepRqmt is a Basic CDS View that provides data about "Plnd Indep Rqmt join Prod & Plan" in SAP S/4HANA. It reads from 3 data sources (I_ProdPlantPlndIndepRqmtBasic, mdma, P_PlndIndepRqmt) and exposes 16 fields with key fields Product, Plant, MRPArea, PlndIndepRqmtType, PlndIndepRqmtVersion.

Data Sources (3)

SourceAliasJoin Type
I_ProdPlantPlndIndepRqmtBasic master from
mdma mdma left_outer
P_PlndIndepRqmt plan left_outer

Annotations (10)

NameValueLevelField
EndUserText.label Plnd Indep Rqmt join Prod & Plan view
AbapCatalog.sqlViewName IPRODPIR view
VDM.private false view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProdPlantPlndIndepRqmtBasic Product Product Sold
KEY Plant I_ProdPlantPlndIndepRqmtBasic Plant Valuation Area
KEY MRPArea
KEY PlndIndepRqmtType
KEY PlndIndepRqmtVersion
KEY RequirementPlan
KEY RequirementSegment
RequirementPlanIsExternal P_PlndIndepRqmt RequirementPlanIsExternal
PlndIndepRqmtInternalID P_PlndIndepRqmt PlndIndepRqmtInternalID PIR Pointer
PlndIndepRqmtIsActive
ChangedDate
PeriodType I_ProdPlantPlndIndepRqmtBasic PeriodType PeriodIndicator
UnitOfMeasure I_ProdPlantPlndIndepRqmtBasic UnitOfMeasure Unit Protected Qty
ProductName I_ProdPlantPlndIndepRqmtBasic ProductName Description
MRPController
PlanningStrategyGroup

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_ProdPlantPlndIndepRqmt.
-- 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: IPRODPIR

CREATE VIEW I_ProdPlantPlndIndepRqmt AS
SELECT
  master.Product AS Product,
  master.Plant AS Plant,
  coalesce(plan.MRPArea, cast(rpad(master.Plant,10,'') as berid preserving type) ) AS MRPArea,
  coalesce(plan.PlndIndepRqmtType, master.PlndIndepRqmtType) AS PlndIndepRqmtType,
  coalesce(plan.PlndIndepRqmtVersion, '00') AS PlndIndepRqmtVersion,
  coalesce(plan.RequirementPlan, '') AS RequirementPlan,
  coalesce(plan.RequirementSegment, '') AS RequirementSegment,
  plan.RequirementPlanIsExternal AS RequirementPlanIsExternal,
  plan.PlndIndepRqmtInternalID AS PlndIndepRqmtInternalID,
  coalesce(plan.PlndIndepRqmtIsActive , '' ) AS PlndIndepRqmtIsActive,
  cast ( plan.PlndIndepRqmtLastChgdDateTime as abap.char( 23 ) ) AS ChangedDate,
  master.PeriodType AS PeriodType,
  master.UnitOfMeasure AS UnitOfMeasure,
  master.ProductName AS ProductName,
  coalesce(mdma.dispo, master.MRPController) AS MRPController
FROM I_ProdPlantPlndIndepRqmtBasic AS master
LEFT OUTER JOIN P_PlndIndepRqmt AS plan ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN mdma ON /* join condition not captured in parsed metadata */
;